]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 245727 via svnmerge from
authorMatthew Nicholson <mnicholson@digium.com>
Tue, 9 Feb 2010 17:43:41 +0000 (17:43 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Tue, 9 Feb 2010 17:43:41 +0000 (17:43 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r245727 | mnicholson | 2010-02-09 11:40:04 -0600 (Tue, 09 Feb 2010) | 2 lines

  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/branches/1.6.2@245728 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 2f486b914cfa0cd8aa74ad265cbe2102cbd19b66..d7cf09e7f20138bcafcc9d165406f4d93577cb51 100644 (file)
@@ -10304,8 +10304,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);