<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>any error log messages? Any other t_set_fr() in your config file
that may be executed?<br>
</p>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 06/12/2016 12:01, José Seabra wrote:<br>
</div>
<blockquote
cite="mid:CAEVZRWsQJ9JXYFhOdafGY==jF4caxdquGaPWtUuOZ3E5Lr2_NQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hello there,<br>
I'm using t_set_fr(0,2000) on calls to registered phones but
by any reason this isn't working, the call only enters on
the failure route after 30 seconds in case of no response
from SBC/Phone, anyone has any idea what can be the reason
for that?<br>
</div>
<br>
if(lookup("location")) {<br>
xlog("L_INFO", "routing to registered
phone ruid=$ruid R=$ru - ID=$ci \n");<br>
t_set_fr(0, 2000);<br>
t_on_failure("ASBC_FAILURE");<br>
t_on_branch("ASBC_BRANCH");<br>
route(RELAY);<br>
exit;<br>
}<br>
</div>
<br>
My RELAY route:<br>
route[RELAY] {<br>
<br>
# enable additional event routes for forwarded requests<br>
# - serial forking, RTP relaying handling, a.s.o.<br>
if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE"))<br>
{<br>
if(!t_is_set("branch_route"))
t_on_branch("MANAGE_BRANCH");<br>
}<br>
if (is_method("INVITE|SUBSCRIBE|UPDATE"))<br>
{<br>
if(!t_is_set("onreply_route"))
t_on_reply("MANAGE_REPLY");<br>
}<br>
if (is_method("INVITE"))<br>
{<br>
if(!t_is_set("failure_route"))
t_on_failure("MANAGE_FAILURE");<br>
}<br>
<br>
if (!t_relay())<br>
{<br>
sl_reply_error();<br>
}<br>
exit;<br>
}<br>
<br>
version: kamailio 4.4.2 (x86_64/linux)<br>
<br>
<div>
<div>Thanks<br>
</div>
<div>
<div>
<div><br>
-- <br>
<div class="gmail_signature">Cumprimentos
<div>José Seabra</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>