Add a missing line terminator for T.38 SDP.
authorRussell Bryant <russell@russellbryant.com>
Thu, 28 Jan 2010 18:35:15 +0000 (18:35 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 28 Jan 2010 18:35:15 +0000 (18:35 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@243860 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index bbba9ac..9fae1e5 100644 (file)
@@ -10745,7 +10745,7 @@ static enum sip_result add_sdp(struct sip_request *resp, struct sip_pvt *p, int
                /* We break with the "recommendation" and send our IP, in order that our
                   peer doesn't have to ast_gethostbyname() us */
 
-               ast_str_append(&m_modem, 0, "m=image %d udptl t38", ntohs(udptldest.sin_port));
+               ast_str_append(&m_modem, 0, "m=image %d udptl t38\r\n", ntohs(udptldest.sin_port));
 
                if (udptldest.sin_addr.s_addr != dest.sin_addr.s_addr) {
                        ast_str_append(&m_modem, 0, "c=IN IP4 %s\r\n", ast_inet_ntoa(udptldest.sin_addr));