aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xChangeLog4
-rwxr-xr-xchannels/chan_sip.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 37caadb19..70ec11b2d 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-17 Russell Bryant <russell@digium.com>
+
+ * channels/chan_sip.c: Add missing carriage return and line feed to the SDP line indicating that we don't support VAD (issue #5780)
+
2005-11-16 Kevin P. Fleming <kpfleming@digium.com>
* Asterisk 1.2.0 released.
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index d44655a95..c3b6e9b1d 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4267,7 +4267,7 @@ static void add_codec_to_sdp(const struct sip_pvt *p, int codec, int sample_rate
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);
+ ast_build_string(a_buf, a_size, "a=fmtp:%d annexb=no\r\n", rtp_code);
}
static void add_noncodec_to_sdp(const struct sip_pvt *p, int format, int sample_rate,