attributes need trailing CR-LF
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 19 May 2006 23:08:47 +0000 (23:08 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 19 May 2006 23:08:47 +0000 (23:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28863 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 32764b8..50cf13f 100644 (file)
@@ -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) {