[asterisk-commits] trunk r28863 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 19 16:08:48 MST 2006


Author: kpfleming
Date: Fri May 19 18:08:47 2006
New Revision: 28863

URL: http://svn.digium.com/view/asterisk?rev=28863&view=rev
Log:
attributes need trailing CR-LF

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=28863&r1=28862&r2=28863&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri May 19 18:08:47 2006
@@ -4923,9 +4923,9 @@
 	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) {



More information about the asterisk-commits mailing list