Change the global timer B to be dependent on the value of the T1 timer, as
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 2 Jul 2008 02:48:43 +0000 (02:48 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 2 Jul 2008 02:48:43 +0000 (02:48 +0000)
commitcce1ec5463dee300bae74b20c4ed121b7c5c032f
treece41bb3ca0ecbdb5a4fc4d981b80dea9fa0d7963
parent13a81dd7aec92c20538287fce28fd757995e6b50
Change the global timer B to be dependent on the value of the T1 timer, as
recommended in RFC 3261, instead of being hardcoded to 32 seconds.  This is
important for LANs, as it allows autocongestion to occur much more quickly, if
desired by the local PBX administrator.  It also corrects a bug: if the T1
timer was increased beyond 500ms, then timer B would have been set at a much
lower value than recommended.
(closes issue #12544)
 Reported by: kactus
 Patches:
       20080616__bug12544.diff.txt uploaded by Corydon76 (license 14)
 Tested by: kactus

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c