From: Matthew Nicholson Date: Tue, 9 Feb 2010 17:40:04 +0000 (+0000) Subject: This commit removes an extra newline in T.38 generated SDP packets. This bug was... X-Git-Tag: 11.0.0-beta1~3460 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f935799e513b9e2bbfda297bd2a970ec9aa65b52;p=thirdparty%2Fasterisk.git This commit removes an extra newline in T.38 generated SDP packets. This bug was caused by the fix introduced in r243860. (closes issue #16766) Reported by: raivisr Patches: t38-sdp-newline-fix1.diff uploaded by mnicholson (license 96) Tested by: raivisr git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245727 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index df843d4a7d..dd918de596 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9189,8 +9189,6 @@ static enum sip_result add_sdp(struct sip_request *resp, struct sip_pvt *p, int ast_str_append(&m_video, 0, "\r\n"); if (needtext) ast_str_append(&m_text, 0, "\r\n"); - if (add_t38) - ast_str_append(&m_modem, 0, "\r\n"); len = strlen(version) + strlen(subject) + strlen(owner) + strlen(connection) + strlen(session_time);