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

russell russell
Thu Nov 17 15:36:38 CST 2005


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

Modified Files:
      Tag: v1-2
	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.913.2.1
diff -u -d -r1.913 -r1.913.2.1
--- chan_sip.c	16 Nov 2005 17:46:59 -0000	1.913
+++ chan_sip.c	17 Nov 2005 20:26:27 -0000	1.913.2.1
@@ -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