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)
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,