aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-29 19:28:18 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-29 19:28:18 +0000
commitc427703569a43031e67e0dbada44959c62d59f8f (patch)
tree305362818274fa3f3f499347b1bf0c8354fcd78c /channels
parent6a26f46948add1a688c34d9f0459e8001090aa6e (diff)
Issue #7869 - Stop sending 302 redirect when not getting an answer...
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46406 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 2e97b2005..308e113d3 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -13295,8 +13295,7 @@ static int sip_sipredirect(struct sip_pvt *p, const char *dest)
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;