aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-17 20:26:27 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-17 20:26:27 +0000
commit24a359bb4ff4a62713f290b014b6054f96b151a6 (patch)
tree9a7f119b421c3cafcd35533697df0c3c61d504fd
parent778c886a2d9eea663b040266ffdfe2ecab2e82b2 (diff)
Add missing carriage return and line feed to the SDP line indicating that we don't support VAD (issue #5780)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7131 f38db490-d61c-443f-a65b-d21fe96a405b
-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,