summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-03-12 22:09:52 +0000
committerMark Michelson <mmichelson@digium.com>2008-03-12 22:09:52 +0000
commitff1527de3d1a0038754c90c6fa70668e7796f302 (patch)
tree585e9e36c59b054600818e14748096410501f18f /channels
parent39cc1b4f36bdf4c8d31011e3922eda9d3fd2c0c1 (diff)
Let's get this to compile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@108293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;