<div dir="ltr">I understood you now, I have to set the t_fr_time before suspend the INVITE transaction.<div><br></div><div>Thank you for your support.</div><div>Cheers</div><div>José</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-05 13:25 GMT+01:00 José Seabra <span dir="ltr"><<a href="mailto:joseseabra4@gmail.com" target="_blank">joseseabra4@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Daniel,<div>I already have the failure_route enabled for the SUBSCRIBE msg and the function  t_set_fr(0,3000) is set before send it for network, but when Kamailio receives an 200 OK related  to SUBSCRIBE it never enters on the failure route if not receive the NOTIFY.<br></div><div><br></div><div>Is there missing some configuration to this work?</div><div><br></div><div>Thank you for you help</div><div><br></div><div>Regards</div><div>José</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2016-09-05 8:21 GMT+01:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<span><br>
<br>
On 03/09/16 02:47, José Seabra wrote:<br>
> Hello,<br>
> I have the following scenario:<br>
> Kamailio is  suspending an INVITE then generates a SUBSCRIBE msg to an<br>
> external server with UAC module, and only resume the suspended INVITE<br>
> when receives an NOTIFY(this NOTIFY "belongs" to the SUBSCRIBE dialog)<br>
> from the external server.<br>
><br>
> The issue is that sometimes kamailio doesn't receive a NOTIFY and the<br>
> transaction is not resumed, any one have an idea how can i implement a<br>
> solution to resume the suspended invite after x seconds without<br>
> receiving NOTIFY msg?<br>
</span>you can enable a failure_route for the transaction and it will be<br>
execute after the transaction timeout (you can set it with t_set_fr() to<br>
a custom value than the default for the other transactions).<br>
<br>
Cheers,<br>
Daniel<br>
<span><font color="#888888"><br>
--<br>
Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com" rel="noreferrer" target="_blank">http://www.asipto.com</a> - <a href="http://www.kamailio.org" rel="noreferrer" target="_blank">http://www.kamailio.org</a><br>
<a href="http://twitter.com/#!/miconda" rel="noreferrer" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">http://www.linkedin.com/in/mic<wbr>onda</a><br>
<br>
<br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cumprimentos<div>José Seabra</div></div>
</div>