Bug #765: Modifying Auto-Congestion to p->maxtime * 4 instead of * 2
authorMalcolm Davenport <malcolmd@digium.com>
Fri, 9 Jan 2004 06:51:25 +0000 (06:51 +0000)
committerMalcolm Davenport <malcolmd@digium.com>
Fri, 9 Jan 2004 06:51:25 +0000 (06:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1910 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index c44f312..d2eb678 100755 (executable)
@@ -882,7 +882,7 @@ static int sip_call(struct ast_channel *ast, char *dest, int timeout)
                transmit_invite(p, "INVITE", 1, NULL, NULL, vxml_url,distinctive_ring, 1);
                if (p->maxtime) {
                        /* Initialize auto-congest time */
-                       p->initid = ast_sched_add(sched, p->maxtime * 2, auto_congest, p);
+                       p->initid = ast_sched_add(sched, p->maxtime * 4, auto_congest, p);
                }
        }
        return res;