From 3512cefb1073e9116c3553aabd2ad8de76d8ba0d Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 15 Aug 2007 14:20:36 +0000 Subject: [PATCH] Merged revisions 79523 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79523 | file | 2007-08-15 11:18:44 -0300 (Wed, 15 Aug 2007) | 6 lines (closes issue #10456) Reported by: irroot Patches: sip_timeout.patch uploaded by irroot (license 52) Change hardcoded timer value to defined value. I'm doing this in 1.4 as well so if it needs to be changed in the future this place would not have been forgotten. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79524 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ca3e6d3ff7..f096ffa730 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -18625,7 +18625,7 @@ static int sip_sipredirect(struct sip_pvt *p, const char *dest) ast_string_field_build(p, our_contact, "Transfer ", extension, host, port ? ":" : "", port ? port : ""); transmit_response_reliable(p, "302 Moved Temporarily", &p->initreq); - sip_scheddestroy(p, 32000); /* Make sure we stop send this reply. */ + sip_scheddestroy(p, SIP_TRANS_TIMEOUT); /* Make sure we stop send this reply. */ sip_alreadygone(p); /* hangup here */ return 0;