aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-05 23:27:07 +0000
committerautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-05 23:27:07 +0000
commit456cb6f098f7a11adba4c0b7c65b2938358393fc (patch)
tree66a93d01a5bd40411038cefaf8d862e54a2dbe21
parent50483d38afdd7f8c0f11ebcdca2d4a48c7d57441 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@73597 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f62f77fb4..c39339c91 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4535,6 +4535,9 @@ static void add_codec_to_sdp(const struct sip_pvt *p, int codec, int 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\r\n", rtp_code);
+ else if (codec == AST_FORMAT_G723_1)
+ /* Indicate that we don't support VAD (G.723.1 annex A) */
+ ast_build_string(a_buf, a_size, "a=fmtp:%d annexa=no\r\n", rtp_code);
}
static void add_noncodec_to_sdp(const struct sip_pvt *p, int format, int sample_rate,