]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
issue #5539
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 15 Nov 2005 22:50:43 +0000 (22:50 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 15 Nov 2005 22:50:43 +0000 (22:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7107 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
channels/chan_sip.c

index bfa067675dbd91a07704115ab16e0ec6a690d930..f46f9907ace507cbd0f3f6b8fd30e551862da5a4 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-11-15  Kevin P. Fleming  <kpfleming@limerick.digium.com>
 
+       * channels/chan_sip.c (add_codec_to_sdp): add 'annexb=no' to G.729A SDP (issue #5539)
+
        * channels/chan_alsa.c (alsa_hangup): handle autohangup properly (issue #5672)
 
        * channels/chan_misdn.c (and other files): various fixes (issue #5739)
index 2de41da8ea49220f3bc950aa0477a540748f0040..9d80d00b8b933073cdbc6993374c317d16eaf93d 100755 (executable)
@@ -4265,6 +4265,9 @@ static void add_codec_to_sdp(const struct sip_pvt *p, int codec, int sample_rate
        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,