aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-12 22:09:52 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-12 22:09:52 +0000
commit4b632d81e540db7eb1404bd9716f5c3ee31d166a (patch)
tree585e9e36c59b054600818e14748096410501f18f /channels
parenta9728d5e7380a00fea5f26efd4cd5f980cb9a1fe (diff)
Let's get this to compile
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108293 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 f4ce75f15..6fa8aad6d 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4185,7 +4185,7 @@ static int sip_call(struct ast_channel *ast, char *dest, int timeout)
/* Initialize auto-congest time */
ast_sched_del(sched, p->initid);
- p->initid = ast_sched_add(sched, p->maxtime ? (p->maxtime * 4) : SIP_TRANS_TIMEOUT, auto_congest, p);
+ p->initid = ast_sched_add(sched, p->timer_b, auto_congest, dialog_ref(p));
}
return res;