From: Kevin P. Fleming Date: Fri, 19 May 2006 23:08:47 +0000 (+0000) Subject: attributes need trailing CR-LF X-Git-Tag: 1.4.0-beta1~1304 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d92d53d41153232cc3dcaf9a025c3782195adbc;p=thirdparty%2Fasterisk.git attributes need trailing CR-LF git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28863 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 32764b8cf7..50cf13fab0 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4923,9 +4923,9 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p) ast_build_string(&m_video_next, &m_video_left, "m=video %d RTP/AVP", ntohs(vdest.sin_port)); if (ast_test_flag(&p->flags[0], SIP_CALL_ONHOLD)) - hold = "a=recvonly"; + hold = "a=recvonly\r\n"; else - hold = "a=sendrecv"; + hold = "a=sendrecv\r\n"; /* Prefer the codec we were requested to use, first, no matter what */ if (capability & p->prefcodec) {