[asterisk-commits] oej: branch 1.2 r47648 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 15 06:08:34 MST 2006


Author: oej
Date: Wed Nov 15 07:08:34 2006
New Revision: 47648

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47648
Log:
Sending 200 OK and not getting ACK is considered critical for the call.

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?view=diff&rev=47648&r1=47647&r2=47648
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Wed Nov 15 07:08:34 2006
@@ -2556,7 +2556,7 @@
 		ast_setstate(ast, AST_STATE_UP);
 		if (option_debug)
 			ast_log(LOG_DEBUG, "sip_answer(%s)\n", ast->name);
-		res = transmit_response_with_sdp(p, "200 OK", &p->initreq, 1);
+		res = transmit_response_with_sdp(p, "200 OK", &p->initreq, 2);
 	}
 	ast_mutex_unlock(&p->lock);
 	return res;



More information about the asterisk-commits mailing list