[asterisk-bugs] [JIRA] (ASTERISK-22262) Asterisk sends SIP 488 to T38 fallback re-invite

adomjan (JIRA) noreply at issues.asterisk.org
Mon Dec 2 09:35:03 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=212419#comment-212419 ] 

adomjan commented on ASTERISK-22262:
------------------------------------

I found similar problem with a mediatrix gw:

v=0
o=MxSIP 363557643167144492 47645779394347481 IN IP4 10.250.253.3
s=-
c=IN IP4 10.250.253.3
t=0 0
a=partnerfsm:738512736_4_98_3_1
m=image 27598 RTP/AVP t38
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxVersion:0
a=T38FaxUdpEC:t38UDPRedundancy
a=sendrecv
m=image 34380 RTP/SAVP t38
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxVersion:0
a=T38FaxUdpEC:t38UDPRedundancy
a=sendrecv
a=key-mgmt:mikey AQAVgPwtOloCAAAAAAAAAAAAAABZ+s2kAAAAAAUBAAVtaWtleQsA1kMaMwAAAAAKFPhiiuMYI6Rr/kmTTbCu0sR43a/HAQAA
ADYCAQEDBAAAAKAEBAAAAHALBAAAAFAAAQEBBAAAAIAJAQAGAQAFAQAIAQEKAQEHAQEMBAAAAAAAAAAkABAAENR6NqV530allXc23CkfQucADmG1yYfFo
+6Tw3+ofqCTAA==
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:qa7LFKEFmfQF4exgJl2q78jJnxTGgsJGVjZqqg3u
m=image 34740 udptl t38
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxVersion:0
a=T38FaxUdpEC:t38UDPRedundancy
a=sendrecv
[Nov 29 14:50:43] VERBOSE[32504] chan_sip.c: --- (19 headers 35 lines) ---
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] sip/reqresp_parser.c: Begin: parsing SIP "Supported: timer"
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] sip/reqresp_parser.c: Found SIP option: -timer-
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] sip/reqresp_parser.c: Matched SIP option: timer
[Nov 29 14:50:43] VERBOSE[32504][C-000000d3] chan_sip.c: Sending to 10.250.253.3:5060 (no NAT)
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] chan_sip.c: Initializing initreq for method INVITE - callid 518c51512a0a75
e77ab794d2353881fb at 10.250.253.59:5060
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] chan_sip.c: Processing session-level SDP v=0... UNSUPPORTED OR FAILED.
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] chan_sip.c: Processing session-level SDP o=MxSIP 363557643167144492 47645779394347481 IN IP4 10.250.253.3... OK.
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] chan_sip.c: Processing session-level SDP s=-... UNSUPPORTED OR FAILED.
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] chan_sip.c: Processing session-level SDP c=IN IP4 10.250.253.3... OK.
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] chan_sip.c: Processing session-level SDP t=0 0... UNSUPPORTED OR FAILED.
[Nov 29 14:50:43] VERBOSE[32504][C-000000d3] netsock2.c:   == Using UDPTL CoS mark 5
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] chan_sip.c: Setting NAT on UDPTL to Off
[Nov 29 14:50:43] DEBUG[32504][C-000000d3] chan_sip.c: Processing session-level SDP a=partnerfsm:738512736_4_98_3_1... UNSUPPORTED OR FAILED.
[Nov 29 14:50:43] WARNING[32504][C-000000d3] chan_sip.c: Rejecting image media offer due to invalid or unsupported syntax: image 27598 RTP/AVP t38
[Nov 29 14:50:43] VERBOSE[32504][C-000000d3] chan_sip.c: 
<--- Reliably Transmitting (no NAT) to 10.250.253.3:5060 --->
SIP/2.0 488 Not acceptable here

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.

                
> Asterisk sends SIP 488 to T38 fallback re-invite
> ------------------------------------------------
>
>                 Key: ASTERISK-22262
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22262
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/T.38
>    Affects Versions: 11.4.0
>            Reporter: Francesco Trinca
>            Assignee: Francesco Trinca
>            Severity: Critical
>         Attachments: chan_sip.c-decline-rtp_avp-rtp_savp-image-sdp.patch, issueA22262_allow_sdp_m-image-0-crap.patch
>
>
> 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 ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list