<div dir="ltr">those timers are for INVITES sent by kamailio right? starting from t_relay() of the INVITE<div>what i am looking for is, when i receive an INVITE, i start counting.</div><div><br></div><div>the reason behind is, with all the functions involving several sql_xquery() involved to find out where to send the t_relay(),</div>
<div>there will be unforeseen delays which might cause a very high PDD for my callers, i don't want them to wait.</div></div><div class="gmail_extra"><br clear="all"><div>Kelvin Chua</div>
<br><br><div class="gmail_quote">On Thu, Jan 2, 2014 at 2:21 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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:<br>
<br>
   <a href="http://kamailio.org/docs/modules/4.1.x/modules/tm.html#tm.f.t_set_fr" target="_blank">http://kamailio.org/docs/<u></u>modules/4.1.x/modules/tm.html#<u></u>tm.f.t_set_fr</a><br>
<br>
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.<br>
<br>
-- Alex<div class="im"><br>
<br>
On 01/02/2014 01:03 AM, Ovidiu Sas wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Take a look at the following module parameters:<br>
<a href="http://kamailio.org/docs/modules/4.1.x/modules/tm.html#fr_timer_avp" target="_blank">http://kamailio.org/docs/<u></u>modules/4.1.x/modules/tm.html#<u></u>fr_timer_avp</a><br>
<a href="http://kamailio.org/docs/modules/4.1.x/modules/tm.html#fr_inv_timer_avp" target="_blank">http://kamailio.org/docs/<u></u>modules/4.1.x/modules/tm.html#<u></u>fr_inv_timer_avp</a><br>
<br>
Regards,<br>
Ovidiu Sas<br>
<br>
On Jan 2, 2014 12:03 AM, "Kelvin Chua" <<a href="mailto:kelchy@gmail.com" target="_blank">kelchy@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:kelchy@gmail.com" target="_blank">kelchy@gmail.com</a>>> wrote:<br>
<br>
    i would like to have an fr_inv_timer functionality on inbound INVITEs.<br>
<br>
    the only way i imagine this to work is to use timer module, set a<br>
    predefined timer value, and when reaching that value after the<br>
    INVITE, execute a ROUTE that<br>
    cancels the callee and sends a 500 or timeout message back to the<br>
    caller.<br>
<br>
    problem is, the timeout value for module is static. i need the<br>
    timeout to be dynamic<br>
    for different callers.<br>
<br>
    are there any other methods on achieving this?<br>
<br>
<br>
    Kelvin Chua<br>
<br>
    ______________________________<u></u>_________________<br>
    SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br></div>
    <a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a> <mailto:<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-<u></u>router.org</a>><br>

    <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><div class="im"><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
<br>
</div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
Tel: <a href="tel:%2B1-678-954-0670" value="+16789540670" target="_blank">+1-678-954-0670</a><br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a></font></span><div class="HOEnZb"><div class="h5">
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br></div>