diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-29 19:35:04 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-29 19:35:04 +0000 |
commit | 83301a220dc03d131c5fbcabe801e96701816272 (patch) | |
tree | 132f269590868bc00601c36bf2bf5e8405ad9a8d | |
parent | 221710bdf51f19d12609c0b4020bb7e0561bf9b5 (diff) |
Issue #7869 - Stop retransmission of 302 redirects.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46408 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a8a1fbed7..2308df018 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16821,8 +16821,7 @@ static int sip_sipredirect(struct sip_pvt *p, const char *dest) 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; |