[svn-commits] trunk r34217 - /trunk/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Jun 14 23:35:57 MST 2006


Author: oej
Date: Thu Jun 15 01:35:55 2006
New Revision: 34217

URL: http://svn.digium.com/view/asterisk?rev=34217&view=rev
Log:
- Do not require a space at the end of the m= string in a T38 re-invite
  Bug reported in the t38 issue report, but by mistake ignored before commit.
  Thanks to everyone informing me about this, and Corydon for helping me sort
  out sscanf :-)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=34217&r1=34216&r2=34217&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Jun 15 01:35:55 2006
@@ -4542,9 +4542,9 @@
 					ast_verbose("Found RTP video format %d\n", codec);
 				ast_rtp_set_m_type(newvideortp, codec);
 			}
-		} else if (p->udptl && (sscanf(m, "image %d udptl t38 %n", &x, &len) == 1)) {
+		} else if (p->udptl && ((sscanf(m, "image %d udptl t38%n", &x, &len) == 1)) {
 			if (debug)
-				ast_verbose("Got T.38 offer in SDP\n");
+				ast_verbose("Got T.38 offer in SDP in dialog %s\n", p->callid);
 			udptlportno = x;
 			
 			if (p->owner && p->lastinvite) {



More information about the svn-commits mailing list