diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-15 22:50:43 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-15 22:50:43 +0000 |
commit | 4331958422da0ecb69f8eede3740538f01e99758 (patch) | |
tree | 366c9dbd68efbb9fdd8dd34b7dc092820bf54d38 /channels | |
parent | c7c3fa1d53032f4e899cb7a99aa5976b99726162 (diff) |
issue #5539
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2de41da8e..9d80d00b8 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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, |