[Home]

Summary:ASTERISK-22262: Asterisk sends SIP 488 to T38 fallback re-invite
Reporter:Francesco Trinca (ftrinca)Labels:
Date Opened:2013-08-07 05:48:44Date Closed:2017-12-18 11:47:13.000-0600
Priority:CriticalRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/T.38
Versions:11.4.0 Frequency of
Occurrence
Constant
Related
Issues:
is duplicated byASTERISK-22988 [patch]T38 , SIP 488 after Rejecting image media offer due to invalid or unsupported syntax
Environment:Attachments:( 0) chan_sip.c-decline-rtp_avp-rtp_savp-image-sdp_ignore_null_content.patch
( 1) chan_sip.c-decline-rtp_avp-rtp_savp-image-sdp.patch
( 2) issueA22262_allow_sdp_m-image-0-crap.patch
Description:In the fallback (t38) processes Astersisk send SIP 488.
v=0
o=XXXXXXXXXXXXXXXXXx
s=-
c=IN IP4 110.191.0.70
t=0 0
m=audio 17006 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:20
m=image 0 RTP/AVP 0
c=IN IP4 110.191.0.70
<------------->
--- (13 headers 10 lines) ---
Sending to 10.198.0.70:5060 (no NAT)
Found RTP audio format 8
Found audio description format PCMA for ID 8

[Jul 26 16:45:56] WARNING[29737][C-00000003]: chan_sip.c:10307 process_sdp: Rejecting image media offer due to invalid or unsupported syntax: image 0 RTP/AVP 0

RFCs say: if port = 0 m=line must be ignored.

Have a patch o solution ?


Comments:By: Matt Jordan (mjordan) 2013-08-07 08:17:17.350-0500

We require a complete debug log to help triage the issue. This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

Please also include a pcap showing the entire SIP trace.

By: Walter Doekes (wdoekes) 2013-08-19 03:59:51.280-0500

The problem is in fact the "0" after the RTP/AVP, not the "0" before. Asterisk likes to see "t38" there.

But I agree that's not a case of being liberal in what you accept.

By: Rusty Newton (rnewton) 2013-09-04 19:05:01.598-0500

@Francesco

Can you test Walter's patch and report back?

By: adomjan (adomjan) 2013-12-02 09:33:44.842-0600

I found similar problem with a mediatrix gw:

[Edit by newtonr - Moved to ASTERISK-22988]

the problem is the RTP/AVP and RTP/SAVP, asterisk should decline it from sdp. I couldn't test my patch today I will, next days.


By: adomjan (adomjan) 2013-12-03 08:58:33.052-0600

I tested my patch, working fine now:

[Edit by newtonr - Moved to ASTERISK-22988]


By: adomjan (adomjan) 2013-12-05 09:20:54.418-0600

oops, asterisk, added (null) in sdp for ignored content...