From: Russell Bryant Date: Thu, 28 Jan 2010 18:35:15 +0000 (+0000) Subject: Add a missing line terminator for T.38 SDP. X-Git-Tag: 11.0.0-beta1~3508 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5766b06ad4ace62b336ffe8f0201e39bf292b282;p=thirdparty%2Fasterisk.git Add a missing line terminator for T.38 SDP. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@243860 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index bbba9acd88..9fae1e538c 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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));