[asterisk-commits] oej: branch 1.4 r46407 - in /branches/1.4: ./
channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Oct 29 12:31:58 MST 2006
Author: oej
Date: Sun Oct 29 13:31:58 2006
New Revision: 46407
URL: http://svn.digium.com/view/asterisk?rev=46407&view=rev
Log:
Issue #7869 - Stop retransmission of 302 redirects (imported from 1.2)
Modified:
branches/1.4/ (props changed)
branches/1.4/channels/chan_sip.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?rev=46407&r1=46406&r2=46407&view=diff
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Sun Oct 29 13:31:58 2006
@@ -16668,8 +16668,7 @@
ast_string_field_build(p, our_contact, "Transfer <sip:%s@%s%s%s>", extension, host, port ? ":" : "", port ? port : "");
transmit_response_reliable(p, "302 Moved Temporarily", &p->initreq);
- /* this is all that we want to send to that SIP device */
- ast_set_flag(&p->flags[0], 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