[asterisk-commits] russell: trunk r243860 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 28 12:35:19 CST 2010


Author: russell
Date: Thu Jan 28 12:35:15 2010
New Revision: 243860

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=243860
Log:
Add a missing line terminator for T.38 SDP.

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=243860&r1=243859&r2=243860
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Jan 28 12:35:15 2010
@@ -10745,7 +10745,7 @@
 		/* We break with the "recommendation" and send our IP, in order that our
 		   peer doesn't have to ast_gethostbyname() us */
 
-		ast_str_append(&m_modem, 0, "m=image %d udptl t38", ntohs(udptldest.sin_port));
+		ast_str_append(&m_modem, 0, "m=image %d udptl t38\r\n", ntohs(udptldest.sin_port));
 
 		if (udptldest.sin_addr.s_addr != dest.sin_addr.s_addr) {
 			ast_str_append(&m_modem, 0, "c=IN IP4 %s\r\n", ast_inet_ntoa(udptldest.sin_addr));




More information about the asterisk-commits mailing list