[Home]

Summary:ASTERISK-15083: [patch] T.38 reinvite fails after receiving "415 Unsupported media type" when it could continue in audio mode
Reporter:Atis Lezdins (atis)Labels:
Date Opened:2009-11-05 07:54:34.000-0600Date Closed:2009-12-02 10:51:14.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Interoperability
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) priovider_success.txt
( 1) provider_fail.txt
( 2) sip_t38_response_415.patch
Description:Our SIP provider is responding with "415 Unsupported media type" if it can't switch to T.38 for inbound fax.

After receiving that, chan_sip terminates call, and app_fax terminates with "WARNING[29097] app_fax.c: Transmission error".

According to RFC3261 section 8.1.3.5:

The UAC SHOULD retry sending the request, this time only using content with types listed in the Accept header field in the response, with encodings listed in the Accept-Encoding header field in the response, and with languages listed in the Accept-Language in the response.

I tried handling the 415 response exactly the same way as 488 response is being handled (patch attached), and our provider accepts that and allows call to be continued in audio mode.

Comments:By: Digium Subversion (svnbot) 2009-12-02 10:47:50.000-0600

Repository: asterisk
Revision: 232345

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r232345 | file | 2009-12-02 10:47:49 -0600 (Wed, 02 Dec 2009) | 7 lines

Add support for handling the 415 Unsupported media type response like we do for a 488 Not acceptable here response.

(closes issue ASTERISK-15083)
Reported by: atis
Patches:
     sip_t38_response_415.patch uploaded by atis (license 242)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=232345

By: Digium Subversion (svnbot) 2009-12-02 10:49:30.000-0600

Repository: asterisk
Revision: 232346

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r232346 | file | 2009-12-02 10:49:30 -0600 (Wed, 02 Dec 2009) | 14 lines

Merged revisions 232345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r232345 | file | 2009-12-02 12:40:14 -0400 (Wed, 02 Dec 2009) | 7 lines
 
 Add support for handling the 415 Unsupported media type response like we do for a 488 Not acceptable here response.
 
 (closes issue ASTERISK-15083)
 Reported by: atis
 Patches:
       sip_t38_response_415.patch uploaded by atis (license 242)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=232346

By: Digium Subversion (svnbot) 2009-12-02 10:50:28.000-0600

Repository: asterisk
Revision: 232347

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r232347 | file | 2009-12-02 10:50:28 -0600 (Wed, 02 Dec 2009) | 14 lines

Merged revisions 232345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r232345 | file | 2009-12-02 12:40:14 -0400 (Wed, 02 Dec 2009) | 7 lines
 
 Add support for handling the 415 Unsupported media type response like we do for a 488 Not acceptable here response.
 
 (closes issue ASTERISK-15083)
 Reported by: atis
 Patches:
       sip_t38_response_415.patch uploaded by atis (license 242)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=232347

By: Digium Subversion (svnbot) 2009-12-02 10:51:14.000-0600

Repository: asterisk
Revision: 232348

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r232348 | file | 2009-12-02 10:51:13 -0600 (Wed, 02 Dec 2009) | 14 lines

Merged revisions 232345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r232345 | file | 2009-12-02 12:40:14 -0400 (Wed, 02 Dec 2009) | 7 lines
 
 Add support for handling the 415 Unsupported media type response like we do for a 488 Not acceptable here response.
 
 (closes issue ASTERISK-15083)
 Reported by: atis
 Patches:
       sip_t38_response_415.patch uploaded by atis (license 242)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=232348