From 998e6ba598249b568dc676e5711b4398e3cfd981 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Mon, 2 Jun 2014 16:27:13 +0000 Subject: [PATCH] Adjust T202 default value to the minimum. The minimum T202 time specified in Q.921 Section 5.9.7 is 2 seconds. It makes sense to set the value to the minimum 2 seconds in order to more likely get a TEI value before an outgoing call request aborts from T303 timeouts. PRI-171 #close Reported by: dcolombo git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2322 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- pri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pri.c b/pri.c index a7c8368..3ecc339 100644 --- a/pri.c +++ b/pri.c @@ -176,7 +176,7 @@ static void pri_default_timers(struct pri *ctrl, int switchtype) ctrl->timers[PRI_TIMER_T200] = 1000; /* Time between SABME's */ ctrl->timers[PRI_TIMER_T201] = ctrl->timers[PRI_TIMER_T200];/* Time between TEI Identity Checks (Default same as T200) */ - ctrl->timers[PRI_TIMER_T202] = 10 * 1000; /* Min time between transmission of TEI Identity request messages */ + ctrl->timers[PRI_TIMER_T202] = 2 * 1000; /* Min time between transmission of TEI Identity request messages */ ctrl->timers[PRI_TIMER_T203] = 10 * 1000; /* Max time without exchanging packets */ ctrl->timers[PRI_TIMER_T303] = 4 * 1000; /* Length between SETUP retransmissions and timeout */