Let's get this to compile
authorMark Michelson <mmichelson@digium.com>
Wed, 12 Mar 2008 22:09:52 +0000 (22:09 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 12 Mar 2008 22:09:52 +0000 (22:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@108293 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index f4ce75f..6fa8aad 100644 (file)
@@ -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;