linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Failed to parse SDP message. What about more p


From: Gautier Pelloux-Prayer
Subject: Re: [Linphone-developers] Failed to parse SDP message. What about more permissive mode for parsing SDP?
Date: Thu, 7 May 2015 14:40:28 +0200

Hi,

Indeed we found an issue in belle-sip code so I did some changes. First, you should now have the error position to ease find the root of the error. In your case, you should now see in logs something like:

2015-05-07 14:37:53:107 belle-sip-message-[org.antlr.runtime.EarlyExitException] reason [Unexpected token] at line[2] position[12]
2015-05-07 14:37:53:107 belle-sip-message-[org.antlr.runtime.EarlyExitException] reason [Unexpected token] at line[2] position[12]
2015-05-07 14:37:53:107 belle-sip-error-session_description parser error for [v=0
o=jehan-mac -1831749426 -1831749426 IN IP4 192.168.0.18

I think that your issue was in line o=- 2463217870 2463217870 IN IP4 xxx.yyy.zzz.www and mainly 2463217870 (session ID) which was misconverted to int.

If you want to confirm the fix please try belle-sip revision 82ac36d.

Thanks,

Gautier Pelloux-Prayer
Software Engineer @ Belledonne Communications

On 07 May 2015, at 09:41, address@hidden wrote:

Hello,
when Sippy SoftSwitch is sending SIP INVITE to linphone (android), it’s rejected with the reason 'Failed to parse SDP message'.
I found advices for similar issue in this maillist:
rtcp_xr_enabled=0
rtcp_xr_rcvr_rtt_mode=all
rtcp_xr_rcvr_rtt_max_size=10000
rtcp_xr_stat_summary_enabled=0
rtcp_xr_voip_metrics_enabled=0
but it’s not working.

BTW, here is log:
session_description parser error for [v=0
o=- 2463217870 2463217870 IN IP4 xxx.yyy.zzz.www
s=CounterPath eyeBeam 1.5
c=IN IP4 xxx.yyy.zzz.www
t=0 0
m=audio 31612 RTP/AVP 18 101
a=alt:1 1 : e2br+9PL Eu1qGlQ9 10.211.55.3 8988
a=fmtp:18 annexb=yes
a=fmtp:101 0-15
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=direction:active
]
Failed to parse SDP message.

I suggest the problem is in line
a=alt:1 1 : e2br+9PL Eu1qGlQ9 10.211.55.3 8988
where we have colon with spaces before and after.
Can someone confirm, that the issue is really with that colon?

Is it possible to make SDP parsing more permissive?

Thank you.


Regards, Andrii Kupchanko
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]