[asterisk-commits] branch 1.2 r10535 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Feb 19 23:17:27 MST 2006


Author: markster
Date: Mon Feb 20 00:17:26 2006
New Revision: 10535

URL: http://svn.digium.com/view/asterisk?rev=10535&view=rev
Log:
Handle ACKing properly (remove gratuitous -1)

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?rev=10535&r1=10534&r2=10535&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Mon Feb 20 00:17:26 2006
@@ -11035,7 +11035,7 @@
 		/* Make sure we don't ignore this */
 		if (seqno == p->pendinginvite) {
 			p->pendinginvite = 0;
-			__sip_ack(p, seqno, FLAG_RESPONSE, -1);
+			__sip_ack(p, seqno, FLAG_RESPONSE, 0);
 			if (!ast_strlen_zero(get_header(req, "Content-Type"))) {
 				if (process_sdp(p, req))
 					return -1;



More information about the asterisk-commits mailing list