aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-15 14:18:44 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-15 14:18:44 +0000
commit871594800095f7f5f9e7998a088c706443eb0baf (patch)
tree77db1898f72773c33e9290697d4edce075e68cb1
parent4271cc5829efff4b939ef482f335e2858f7ac4a8 (diff)
(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: http://svn.digium.com/svn/asterisk/branches/1.4@79523 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 4eeea9fd8..edb5d4266 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -17393,7 +17393,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);
- 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);
return 0;
}