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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Oct 29 12:28:18 MST 2006


Author: oej
Date: Sun Oct 29 13:28:18 2006
New Revision: 46406

URL: http://svn.digium.com/view/asterisk?rev=46406&view=rev
Log:
Issue #7869 - Stop sending 302 redirect when not getting an answer...

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=46406&r1=46405&r2=46406&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Sun Oct 29 13:28:18 2006
@@ -13295,8 +13295,7 @@
 	snprintf(p->our_contact, sizeof(p->our_contact), "Transfer <sip:%s@%s%s%s>", extension, host, port ? ":" : "", port ? port : "");
 	transmit_response_reliable(p, "302 Moved Temporarily", &p->initreq, 1);
 
-	/* this is all that we want to send to that SIP device */
-	ast_set_flag(p, SIP_ALREADYGONE);
+	sip_scheddestroy(p, 32000);	/* Make sure we stop send this reply. */
 
 	/* hangup here */
 	return -1;



More information about the asterisk-commits mailing list