[svn-commits] oej: branch 1.2 r47248 - /branches/1.2/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Nov 7 06:02:31 MST 2006


Author: oej
Date: Tue Nov  7 07:02:30 2006
New Revision: 47248

URL: http://svn.digium.com/view/asterisk?rev=47248&view=rev
Log:
Don't ever reply to an ACK. (Issue 8265)

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=47248&r1=47247&r2=47248&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue Nov  7 07:02:30 2006
@@ -3240,9 +3240,10 @@
 	ast_mutex_unlock(&iflock);
 
 	/* If this is a response and we have ignoring of out of dialog responses turned on, then drop it */
+	/* ...and never respond to a SIP ACK message */
 	if (!sip_methods[intended_method].can_create) {
 		/* Can't create dialog */
-		if (intended_method != SIP_RESPONSE)
+		if (intended_method != SIP_RESPONSE && intended_method != SIP_ACK)
 			transmit_response_using_temp(callid, sin, 1, intended_method, req, "481 Call leg/transaction does not exist");
 	} else if (sip_methods[intended_method].can_create == 2) {
 		char *response = "481 Call leg/transaction does not exist";



More information about the svn-commits mailing list