[Asterisk-cvs] asterisk/channels chan_sip.c,1.913,1.914

russell russell
Thu Nov 17 15:35:52 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv15745/channels

Modified Files:
	chan_sip.c 
Log Message:
Add missing carriage return and line feed to the SDP line indicating that we don't support VAD (issue #5780)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.913
retrieving revision 1.914
diff -u -d -r1.913 -r1.914
--- chan_sip.c	16 Nov 2005 17:46:59 -0000	1.913
+++ chan_sip.c	17 Nov 2005 20:25:40 -0000	1.914
@@ -4267,7 +4267,7 @@
 			 sample_rate);
 	if (codec == AST_FORMAT_G729A)
 		/* Indicate that we don't support VAD (G.729 annex B) */
-		ast_build_string(a_buf, a_size, "a=fmtp:%d annexb=no", rtp_code);
+		ast_build_string(a_buf, a_size, "a=fmtp:%d annexb=no\r\n", rtp_code);
 }
 
 static void add_noncodec_to_sdp(const struct sip_pvt *p, int format, int sample_rate,




More information about the svn-commits mailing list