Re: [SR-Users] ingress timer

2014-01-01 Thread Alex Balashov
On 01/02/2014 02:47 AM, Kelvin Chua wrote: agreed. the design of the db and queries are all properly tested, with only milliseconds of query time even for tables as large as millions of rows. i wanted to implement this only for insurance and was wondering if it's doable, theoretically speaking.

Re: [SR-Users] ingress timer

2014-01-01 Thread Kelvin Chua
agreed. the design of the db and queries are all properly tested, with only milliseconds of query time even for tables as large as millions of rows. i wanted to implement this only for insurance and was wondering if it's doable, theoretically speaking. the timer module is promising although lacks

Re: [SR-Users] Happy New Year!

2014-01-01 Thread Olle E. Johansson
On 31 Dec 2013, at 18:42, Daniel-Constantin Mierla wrote: > Another year packed in the archive, thanks everyone for filling it with > excellent achievements and, along them, keeping Kamailio project moving > forward! > > I expect another wonderful year ahead for the project and I am looking

Re: [SR-Users] ingress timer

2014-01-01 Thread Alex Balashov
On 01/02/2014 01:39 AM, Kelvin Chua wrote: 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. TM's timers - and anything else TM does - are reliant on a transaction existing. A trans

Re: [SR-Users] ingress timer

2014-01-01 Thread Kelvin Chua
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

Re: [SR-Users] ingress timer

2014-01-01 Thread Alex Balashov
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 su

Re: [SR-Users] ingress timer

2014-01-01 Thread Ovidiu Sas
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" wrote: > i would like to have an fr_inv_timer fun

[SR-Users] ingress timer

2014-01-01 Thread Kelvin Chua
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 cal