[sip-comm-dev] Remote party sent an invalid SDP answer when video is inactive


#1

Hi,

I could not make an outbound call, a message saying "Remote party sent an invalid SDP answer". I found this in the log file:

v=0
o=CGPLeg002488 1521689078 760844540 IN IP4 x.x.x.x
s=-
c=IN IP4 10.0.0.1
t=0 0
m=audio 60000 RTP/AVP 0 8 101
c=IN IP4 10.0.0.1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16,32-49,64-89
a=sendrecv
a=rtcpping:F:48:4878
m=video 60002 RTP/AVP
c=IN IP4 10.0.0.1
a=inactive
a=rtcpping:F:49:4978

11:48:18.049 INFO: impl.protocol.sip.SipLogger.logMessage().232 JAIN-SIP sent a message from="0:0:0:0:0:0:0:0:5060" to="10.0.0.1:5060" at=1289821698049:
ACK sip:signode-2488-31D389F6@74.55.73.58 SIP/2.0
Call-ID: 02337e875a03f9964708d25ae02b8fc7@0:0:0:0:0:0:0:0
CSeq: 1 ACK
Via: SIP/2.0/TCP 10.0.0.19:49919;branch=z9hG4bK0b603c643cb139b019f2990a5167d588373133

From: "Dmitry Panov" <sip:.....>;tag=1f5dc05e

Max-Forwards: 70
Route: <sip:10.0.0.1:5060;transport=tcp;lr>,<sip:854.dialog.cgatepro;lr>,<sip:x.x.x.x:5060;lr>,<sip:1451.dialog.cgatepro;lr>
Contact: "Dmitry Panov" <sip:dop@10.0.0.19:49919;transport=tcp;registering_acc=.....>
User-Agent: SIP Communicator1.0-alpha6-nightly.build.3076Mac OS X
Content-Length: 0

11:48:18.051 SEVERE: impl.protocol.sip.CallPeerMediaHandlerSipImpl.throwOperationFailedException().3070 Remote party sent an invalid SDP answer.
11:48:18.051 SEVERE: impl.protocol.sip.CallPeerSipImpl.processInviteOK().662 There was an error parsing the SDP description of sip:.......
net.java.sip.communicator.service.protocol.OperationFailedException: Remote party sent an invalid SDP answer.
         at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.throwOperationFailedException(ProtocolProviderServiceSipImpl.java:3073)
         at net.java.sip.communicator.impl.protocol.sip.CallPeerMediaHandlerSipImpl.processAnswer(CallPeerMediaHandlerSipImpl.java:553)
         at net.java.sip.communicator.impl.protocol.sip.CallPeerMediaHandlerSipImpl.processAnswer(CallPeerMediaHandlerSipImpl.java:490)
         at net.java.sip.communicator.impl.protocol.sip.CallPeerSipImpl.processInviteOK(CallPeerSipImpl.java:654) net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInviteOK(OperationSetBasicTelephonySipImpl.java:701)
         at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processResponse(OperationSetBasicTelephonySipImpl.java:421)
         at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.processResponse(ProtocolProviderServiceSipImpl.java:762)
         at net.java.sip.communicator.impl.protocol.sip.SipStackSharing.processResponse(SipStackSharing.java:667)
         at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:293)
         at gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:193)
         at gov.nist.javax.sip.DialogFilter.processResponse(DialogFilter.java:1471)
         at gov.nist.javax.sip.stack.SIPClientTransaction.inviteClientTransaction(SIPClientTransaction.java:877)
         at gov.nist.javax.sip.stack.SIPClientTransaction.processResponse(SIPClientTransaction.java:545)
         at gov.nist.javax.sip.stack.SIPClientTransaction.processResponse(SIPClientTransaction.java:1529)
         at gov.nist.javax.sip.stack.TCPMessageChannel.processMessage(TCPMessageChannel.java:745)
         at gov.nist.javax.sip.parser.PipelinedMsgParser.run(PipelinedMsgParser.java:373)
         at java.lang.Thread.run(Thread.java:655)

The SDP looks valid for me however I could be wrong.

···

To: <sip:.......>;tag=F5FF8AAE-2488-31D389F6

--
Best regards,

  Dmitry Panov
  Chief Technology Officer
  Itoolabs.

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


#2

Dmitry Panov wrote:

Hi,

I could not make an outbound call, a message saying "Remote party sent an invalid SDP answer". I found this in the log file:

v=0
o=CGPLeg002488 1521689078 760844540 IN IP4 x.x.x.x
s=-
c=IN IP4 10.0.0.1
t=0 0
m=audio 60000 RTP/AVP 0 8 101
c=IN IP4 10.0.0.1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16,32-49,64-89
a=sendrecv
a=rtcpping:F:48:4878
m=video 60002 RTP/AVP

iirc SDP grammar says that there must be at least one payload ID here (even if its inactive). like

m=video 60002 RTP/AVP 0

Stefan

···

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


#3

Hi Stefan,

You're absolutely right, sorry for the trouble.

···

On 15/11/2010 13:54, Stefan Sayer wrote:

Dmitry Panov wrote:

Hi,

I could not make an outbound call, a message saying "Remote party sent an invalid SDP answer". I found this in the log file:

v=0
o=CGPLeg002488 1521689078 760844540 IN IP4 x.x.x.x
s=-
c=IN IP4 10.0.0.1
t=0 0
m=audio 60000 RTP/AVP 0 8 101
c=IN IP4 10.0.0.1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16,32-49,64-89
a=sendrecv
a=rtcpping:F:48:4878
m=video 60002 RTP/AVP

iirc SDP grammar says that there must be at least one payload ID here (even if its inactive). like

m=video 60002 RTP/AVP 0

Stefan

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

--
Dmitry Panov

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