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

Modified Files:
        chan_sip.c 
Log Message:
issue #5539


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.910
retrieving revision 1.911
diff -u -d -r1.910 -r1.911
--- chan_sip.c  15 Nov 2005 19:52:25 -0000      1.910
+++ chan_sip.c  15 Nov 2005 22:50:43 -0000      1.911
@@ -4265,6 +4265,9 @@
        ast_build_string(a_buf, a_size, "a=rtpmap:%d %s/%d\r\n", rtp_code,
                         ast_rtp_lookup_mime_subtype(1, codec),
                         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);
 }
 
 static void add_noncodec_to_sdp(const struct sip_pvt *p, int format, int 
sample_rate,

_______________________________________________
Asterisk-Cvs mailing list
Asterisk-Cvs@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to