aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-12 22:10:20 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-12 22:10:20 +0000
commitc493e22b0666b0d203c244d6638a7ea4752c0cb6 (patch)
treeedb503db1545c2d0c0de5f62f2eacd4b794c932e /channels
parent7cc628429d428b3788b87575253ddce924da35f8 (diff)
Merged revisions 108293 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r108293 | mmichelson | 2008-03-12 17:09:52 -0500 (Wed, 12 Mar 2008) | 3 lines Let's get this to compile ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@108294 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 7e4bd0b90..55026f2d0 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4183,7 +4183,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;