]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Issue #7869 - Stop sending 302 redirect when not getting an answer...
authorOlle Johansson <oej@edvina.net>
Sun, 29 Oct 2006 19:28:18 +0000 (19:28 +0000)
committerOlle Johansson <oej@edvina.net>
Sun, 29 Oct 2006 19:28:18 +0000 (19:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46406 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 2e97b20050975f4029ccfcb71ee9c6b31a5d8d97..308e113d344bf37e9a8ca3054f1668ee7deeeac3 100644 (file)
@@ -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;