This commit removes an extra newline in T.38 generated SDP packets. This bug was...
authorMatthew Nicholson <mnicholson@digium.com>
Tue, 9 Feb 2010 17:40:04 +0000 (17:40 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Tue, 9 Feb 2010 17:40:04 +0000 (17:40 +0000)
(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

index df843d4..dd918de 100644 (file)
@@ -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);