From 6d92d53d41153232cc3dcaf9a025c3782195adbc Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 19 May 2006 23:08:47 +0000 Subject: [PATCH] attributes need trailing CR-LF git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28863 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {