[Kamailio-Users] reducing T1 timer per route

Juan Perez jperezsip2008 at yahoo.com
Thu Apr 16 15:44:54 CEST 2009


thank you a lot guys.
cheers 
jp





----- Original Message ----
From: Ovidiu Sas <osas at voipembedded.com>
To: Juan Perez <jperezsip2008 at yahoo.com>
Cc: Klaus Darilion <klaus.mailinglists at pernau.at>; kamailio <users at lists.kamailio.org>
Sent: Wednesday, April 15, 2009 6:14:39 PM
Subject: Re: [Kamailio-Users] reducing T1 timer per route

Before relaying the call, set the fr_timer_avp to the desired value.
This will give you the behavior that you are looking for.

Regards,
Ovidiu Sas

On Wed, Apr 15, 2009 at 5:52 PM, Juan Perez <jperezsip2008 at yahoo.com> wrote:
>
> txs a lot klaus, but that will be for all calls right?
>
> , I did not mention that I have more gw groups, sorry, ... and I just want this to apply to calls sent to gws on 1 group only.
>
> but I saw this other parameter fr_timer_avp (string), I wonder If I can change the variable when I am about to send the call to those gws only, then when I am sending the calls to other gws that I can wait the normal time I can set it to the standard value. is this possible?
>
> regards
> jp
>
>
>
>
> ----- Original Message ----
> From: Klaus Darilion <klaus.mailinglists at pernau.at>
> To: Juan Perez <jperezsip2008 at yahoo.com>
> Cc: kamailio <users at lists.kamailio.org>
> Sent: Wednesday, April 15, 2009 4:42:39 PM
> Subject: Re: [Kamailio-Users] reducing T1 timer per route
>
> set fr_timer of tm module to 3 seconds to get fast trigger of failure route
>
> regards
> klaus
>
> Juan Perez wrote:
>> hello
>>
>> I am using lcr and have 3 gws that I send the calls to, so far I am handling error responses using "on_failure_route" and calling the next_gw function and it is working fine.
>> But in cases when 1 of those gws is disconnnected or super busy and a 100 Trying is not received in the first 3 - 5 seconds I would like to drop that call and use the next_gw. Right now I have to wait until all retries fail to try the next gw, but that happens after 64*T1 = 32 seconds.
>> How can I accomplish that?
>>
>> cheers
>>
>> jp
>>
>>
>>
>>
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>



      




More information about the Users mailing list