[sip-comm-dev] SIP COMMUNICATOR won't be able to open a media stream!


#1

Hi,

I just set up SIP COmmunicator as a soft phone on my PC. I tried to make a
call
to another Softphone on another PC and the SIP protocol seems to work fine
with the
calls ringing and once answered becoming connected. However, I get the
following error
that says that it is not able to open a media stream. It seems that the RTP
piece is
not able to get set up.

I am not sure where to look but it seems that I have a problem with JMF.
Does anyone have a suggestion on what might be wrong. I have downloaded the
source
and built the communicator using the directions supplied and everything
seemed to
go along fine except for this.

thanks for any pointers.

best regards,
John.

    [java] 37191740 [AWT-EventQueue-0] DEBUG sip.CallProcessing - sent
respons
e SIP/2.0 200 OK
     [java] Via: SIP/2.0/UDP
194.125.32.51:5060;branch=z9hG4bK1883BE6DB81D4AF39D
E9D9DD0F047BA4
     [java] From: "Tornado" <sip:194.125.32.51>;tag=2597129123
     [java] To: <sip:john@194.125.32.37>;tag=5014562
     [java] Call-ID: B9550A62-3384-4744-8365-ACE77950923D@194.125.32.51
     [java] CSeq: 34252 INVITE
     [java] Max-Forwards: 70
     [java] Content-Type: application/sdp
     [java] Contact: "John Melody" <sip:194.125.32.37:5061;transport=udp>
     [java] Content-Length: 172

     [java] v=0
     [java] o=johnm 0 0 IN IP4 194.125.32.37
     [java] s=-
     [java] c=IN IP4 194.125.32.37
     [java] t=0 0
     [java] m=audio 22224 RTP/AVP 0 3 4 5 6 8 15 18
     [java] a=recvonly
     [java] m=video 22222 RTP/AVP 26 34 31
     [java] a=recvonly

     [java] 37191851 [AWT-EventQueue-0] TRACE sip.CallProcessing - [exit]
sayOK

     [java] 37191851 [AWT-EventQueue-0] TRACE sip.SipManager - [exit]
answerCal
l
     [java] 37191861 [AWT-EventQueue-0] TRACE
ommunicator.SipCommunicator - [e
xit] handleAnswerRequest
     [java] 37192101 [EventScannerThread] TRACE sip.SipManager - [entry]
proces
sRequest
     [java] 37192101 [EventScannerThread] DEBUG sip.SipManager - received
reque
st=javax.sip.RequestEvent[source=gov.nist.javax.sip.SipProviderImpl@1798928]
     [java] 37192101 [EventScannerThread] TRACE sip.CallProcessing -
[entry] pr
ocessAck
     [java] 37192101 [EventScannerThread] TRACE sip.CallDispatcher -
[entry] fi
ndCall
     [java] 37192101 [EventScannerThread] TRACE sip.CallDispatcher - [exit]
fin
dCall
     [java] 37192101 [EventScannerThread] TRACE sip.Call - [entry] setState
     [java] net.java.sip.communicator.media.MediaException: Apparently all
media
descriptions failed to initialise!
     [java] 37192111 [EventScannerThread] DEBUG sip.Call - setting call
status
to Connected
     [java] SIP COMMUNICATOR won't be able to open a media stream!
     [java] at
net.java.sip.communicator.media.MediaManager.openMediaStreams
(MediaManager.java:455)
     [java] at
net.java.sip.communicator.SipCommunicator.callStateChanged(Si
pCommunicator.java:758)
     [java] at
net.java.sip.communicator.sip.Call.fireCallStatusChangedEvent
(Call.java:250)
     [java] at
net.java.sip.communicator.sip.Call.setState(Call.java:156)
     [java] at
net.java.sip.communicator.sip.CallProcessing.processAck(CallP
rocessing.java:564)
     [java] at
net.java.sip.communicator.sip.SipManager.processRequest(SipMa
nager.java:1532)
     [java] at
gov.nist.javax.sip.EventScanner.run(EventScanner.java:261)
     [java] at java.lang.Thread.run(Thread.java:536)
     [java] 37192111 [EventScannerThread] TRACE
ommunicator.SipCommunicator -
[entry] callStateChanged
     [java] 37192111 [EventScannerThread] TRACE media.MediaManager -
[entry] op
enMediaStreams
     [java] 37192111 [EventScannerThread] DEBUG media.MediaManager -
sdpData ar
g - v=0
     [java] o=anonymous 581617109 581617218 IN IP4 194.125.32.51
     [java] s=X-Lite
     [java] c=IN IP4 194.125.32.51
     [java] t=0 0
     [java] m=audio 8000 RTP/AVP 0 8 3 98 97 101
     [java] a=rtpmap:0 pcmu/8000
     [java] a=rtpmap:8 pcma/8000
     [java] a=rtpmap:3 gsm/8000
     [java] a=rtpmap:98 iLBC/8000
     [java] a=rtpmap:97 speex/8000
     [java] a=rtpmap:101 telephone-event/8000
     [java] a=fmtp:101 0-15

     [java] 37192171 [EventScannerThread] ERROR media.MediaManager -
Apparently
all media descriptions failed to initialise!
     [java] SIP COMMUNICATOR won't be able to open a media stream!
     [java] 37192171 [EventScannerThread] TRACE media.MediaManager - [exit]
ope

John Melody
SyberNet Ltd.
Galway Business Park,
Dangan,
Galway.
Tel. No. +353 91 514400
Fax. NO. +353 91 514409
Mobile - 087-2345847

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hello John,

If you are using linux/unix, make sure that the ip address against the name of your host mathces the one you are connecting with and not 127.0.0.1 or any other.

Hope this helps
Emil

John Melody wrote:

···

Hi,

I just set up SIP COmmunicator as a soft phone on my PC. I tried to make a
call
to another Softphone on another PC and the SIP protocol seems to work fine
with the
calls ringing and once answered becoming connected. However, I get the
following error
that says that it is not able to open a media stream. It seems that the RTP
piece is
not able to get set up.

I am not sure where to look but it seems that I have a problem with JMF.
Does anyone have a suggestion on what might be wrong. I have downloaded the
source
and built the communicator using the directions supplied and everything
seemed to
go along fine except for this.

thanks for any pointers.

best regards,
John.

    [java] 37191740 [AWT-EventQueue-0] DEBUG sip.CallProcessing - sent
respons
e SIP/2.0 200 OK
     [java] Via: SIP/2.0/UDP
194.125.32.51:5060;branch=z9hG4bK1883BE6DB81D4AF39D
E9D9DD0F047BA4
     [java] From: "Tornado" <sip:194.125.32.51>;tag=2597129123
     [java] To: <sip:john@194.125.32.37>;tag=5014562
     [java] Call-ID: B9550A62-3384-4744-8365-ACE77950923D@194.125.32.51
     [java] CSeq: 34252 INVITE
     [java] Max-Forwards: 70
     [java] Content-Type: application/sdp
     [java] Contact: "John Melody" <sip:194.125.32.37:5061;transport=udp>
     [java] Content-Length: 172

     [java] v=0
     [java] o=johnm 0 0 IN IP4 194.125.32.37
     [java] s=-
     [java] c=IN IP4 194.125.32.37
     [java] t=0 0
     [java] m=audio 22224 RTP/AVP 0 3 4 5 6 8 15 18
     [java] a=recvonly
     [java] m=video 22222 RTP/AVP 26 34 31
     [java] a=recvonly

     [java] 37191851 [AWT-EventQueue-0] TRACE sip.CallProcessing - [exit]
sayOK

     [java] 37191851 [AWT-EventQueue-0] TRACE sip.SipManager - [exit]
answerCal
l
     [java] 37191861 [AWT-EventQueue-0] TRACE
ommunicator.SipCommunicator - [e
xit] handleAnswerRequest
     [java] 37192101 [EventScannerThread] TRACE sip.SipManager - [entry]
proces
sRequest
     [java] 37192101 [EventScannerThread] DEBUG sip.SipManager - received
reque
st=javax.sip.RequestEvent[source=gov.nist.javax.sip.SipProviderImpl@1798928]
     [java] 37192101 [EventScannerThread] TRACE sip.CallProcessing -
[entry] pr
ocessAck
     [java] 37192101 [EventScannerThread] TRACE sip.CallDispatcher -
[entry] fi
ndCall
     [java] 37192101 [EventScannerThread] TRACE sip.CallDispatcher - [exit]
fin
dCall
     [java] 37192101 [EventScannerThread] TRACE sip.Call - [entry] setState
     [java] net.java.sip.communicator.media.MediaException: Apparently all
media
descriptions failed to initialise!
     [java] 37192111 [EventScannerThread] DEBUG sip.Call - setting call
status
to Connected
     [java] SIP COMMUNICATOR won't be able to open a media stream!
     [java] at
net.java.sip.communicator.media.MediaManager.openMediaStreams
(MediaManager.java:455)
     [java] at
net.java.sip.communicator.SipCommunicator.callStateChanged(Si
pCommunicator.java:758)
     [java] at
net.java.sip.communicator.sip.Call.fireCallStatusChangedEvent
(Call.java:250)
     [java] at
net.java.sip.communicator.sip.Call.setState(Call.java:156)
     [java] at
net.java.sip.communicator.sip.CallProcessing.processAck(CallP
rocessing.java:564)
     [java] at
net.java.sip.communicator.sip.SipManager.processRequest(SipMa
nager.java:1532)
     [java] at
gov.nist.javax.sip.EventScanner.run(EventScanner.java:261)
     [java] at java.lang.Thread.run(Thread.java:536)
     [java] 37192111 [EventScannerThread] TRACE
ommunicator.SipCommunicator -
[entry] callStateChanged
     [java] 37192111 [EventScannerThread] TRACE media.MediaManager -
[entry] op
enMediaStreams
     [java] 37192111 [EventScannerThread] DEBUG media.MediaManager -
sdpData ar
g - v=0
     [java] o=anonymous 581617109 581617218 IN IP4 194.125.32.51
     [java] s=X-Lite
     [java] c=IN IP4 194.125.32.51
     [java] t=0 0
     [java] m=audio 8000 RTP/AVP 0 8 3 98 97 101
     [java] a=rtpmap:0 pcmu/8000
     [java] a=rtpmap:8 pcma/8000
     [java] a=rtpmap:3 gsm/8000
     [java] a=rtpmap:98 iLBC/8000
     [java] a=rtpmap:97 speex/8000
     [java] a=rtpmap:101 telephone-event/8000
     [java] a=fmtp:101 0-15

     [java] 37192171 [EventScannerThread] ERROR media.MediaManager -
Apparently
all media descriptions failed to initialise!
     [java] SIP COMMUNICATOR won't be able to open a media stream!
     [java] 37192171 [EventScannerThread] TRACE media.MediaManager - [exit]
ope

John Melody
SyberNet Ltd.
Galway Business Park,
Dangan,
Galway.
Tel. No. +353 91 514400
Fax. NO. +353 91 514409
Mobile - 087-2345847

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net