From f935799e513b9e2bbfda297bd2a970ec9aa65b52 Mon Sep 17 00:00:00 2001 From: Matthew Nicholson <mnicholson@digium.com> Date: Tue, 9 Feb 2010 17:40:04 +0000 Subject: [PATCH] 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 --- channels/chan_sip.c | 2 -- 1 file changed, 2 deletions(-) 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); -- GitLab