[SR-Users] ingress timer

Kelvin Chua kelchy at gmail.com
Thu Jan 2 07:39:01 CET 2014


those timers are for INVITES sent by kamailio right? starting from
t_relay() of the INVITE
what i am looking for is, when i receive an INVITE, i start counting.

the reason behind is, with all the functions involving several sql_xquery()
involved to find out where to send the t_relay(),
there will be unforeseen delays which might cause a very high PDD for my
callers, i don't want them to wait.

Kelvin Chua


On Thu, Jan 2, 2014 at 2:21 PM, Alex Balashov <abalashov at evaristesys.com>wrote:

> Not only that, but there is also the t_set_fr() module function that lets
> one change the values of fr_timer and fr_inv_timer dynamically:
>
>    http://kamailio.org/docs/modules/4.1.x/modules/tm.html#tm.f.t_set_fr
>
> However, the arguments seem to be static integers, not string values, so I
> am not sure the function will take PVs as arguments.  In that light, the
> AVP approach might make more sense.
>
> -- Alex
>
>
> On 01/02/2014 01:03 AM, Ovidiu Sas wrote:
>
>  Take a look at the following module parameters:
>> http://kamailio.org/docs/modules/4.1.x/modules/tm.html#fr_timer_avp
>> http://kamailio.org/docs/modules/4.1.x/modules/tm.html#fr_inv_timer_avp
>>
>> Regards,
>> Ovidiu Sas
>>
>> On Jan 2, 2014 12:03 AM, "Kelvin Chua" <kelchy at gmail.com
>> <mailto:kelchy at gmail.com>> wrote:
>>
>>     i would like to have an fr_inv_timer functionality on inbound INVITEs.
>>
>>     the only way i imagine this to work is to use timer module, set a
>>     predefined timer value, and when reaching that value after the
>>     INVITE, execute a ROUTE that
>>     cancels the callee and sends a 500 or timeout message back to the
>>     caller.
>>
>>     problem is, the timeout value for module is static. i need the
>>     timeout to be dynamic
>>     for different callers.
>>
>>     are there any other methods on achieving this?
>>
>>
>>     Kelvin Chua
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>> list
>>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> --
> Alex Balashov - Principal
> Evariste Systems LLC
> 235 E Ponce de Leon Ave
> Suite 106
> Decatur, GA 30030
> United States
> Tel: +1-678-954-0670
> Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140102/ccb06daf/attachment.html>


More information about the sr-users mailing list