[asterisk-bugs] [Asterisk 0016766]: [patch] T.38 negotiation fails with Patton SN2400

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 8 15:22:55 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16766 
====================================================================== 
Reported By:                raivisr
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16766
Category:                   Channels/chan_sip/T.38
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-868 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 244639 
Request Review:              
====================================================================== 
Date Submitted:             2010-02-03 16:00 CST
Last Modified:              2010-02-08 15:22 CST
====================================================================== 
Summary:                    [patch] T.38 negotiation fails with Patton SN2400
Description: 
Patton SN2400 refuses to negotiate T.38 session because of extra newline in
SDP.

[Feb  3 22:31:46] DEBUG[31017] chan_sip.c:    Body  5 [ 22]: m=image 4326
udptl t38
[Feb  3 22:31:46] DEBUG[31017] chan_sip.c:    Body  6 [  0]: 
[Feb  3 22:31:46] DEBUG[31017] chan_sip.c:    Body  7 [ 17]:
a=T38FaxVersion:0

proposed fix:
--- asterisk.orig/channels/chan_sip.c	2010-02-03 23:52:03.000000000 +0200
+++ asterisk/channels/chan_sip.c	2010-02-03 23:58:41.000000000 +0200
@@ -9191,8 +9191,6 @@ static enum sip_result add_sdp(struct si
  		ast_str_append(&m_video, 0, "\r\n");
  	if (needtext)
  		ast_str_append(&m_text, 0, "\r\n");
-	if (add_t38)
-		ast_str_append(&m_modem, 0, "\r\n");
 
  	len = strlen(version) + strlen(subject) + strlen(owner) +
 		strlen(connection) + strlen(session_time);

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012437 Asterisk negotiates only T.38 when answ...
====================================================================== 

---------------------------------------------------------------------- 
 (0117859) mnicholson (administrator) - 2010-02-08 15:22
 https://issues.asterisk.org/view.php?id=16766#c117859 
---------------------------------------------------------------------- 
I have also uploaded an alternative patch that should fix the bug.  Both
patches should work equally well. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-08 15:22 mnicholson     Note Added: 0117859                          
======================================================================




More information about the asterisk-bugs mailing list