<div dir="ltr">Hello,<div>So the question fundamentally is, if I t_suspend a transaction and kamailio sends a 408 to that leg because of the fr_timer configured, would I have access to that response?</div><div><br></div><div>Thanks again.</div><div><br></div><div>- Jayesh</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 11, 2016 at 6:26 PM Jayesh Nambiar <<a href="mailto:jayesh1017@gmail.com">jayesh1017@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Carsten,<div>Thanks for responding. </div><div>1) I basically call a t_suspend for an incoming INVITE and resume it when the call is ready to be patched.</div><div>2) I set my fr_timer as 30 seconds as I do not want the caller to wait for a long time to get connected. </div><div>3) So when kamailio responds back with a 408 after 30 seconds, I want to do an http request to let the called party know about the missed call.</div><div><br></div><div>Hence I need to get access to variables like $tU when kamailio generates a 408 to send the missed call notification to the right recipient.</div><div><br></div><div>Thanks,</div><div><br></div><div>- Jayesh</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 11, 2016 at 6:13 PM Carsten Bock <<a href="mailto:carsten@ng-voice.com" target="_blank">carsten@ng-voice.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jayesh,<br>
<br>
you should be able to catch this in a regular failure_route(). What do<br>
you want to achieve? Replace the response?<br>
<br>
failure_route[myfailure] {<br>
    # Execute, in case we<br>
    # - get a local generated "408"<br>
    # - receive a 5xx or 6xx reply from the proxy.<br>
    if (t_branch_timeout() || t_check_status("[5-6]..")) {<br>
        send_reply("486", "User offline");<br>
        exit;<br>
    }<br>
}<br>
<br>
Thanks,<br>
Carsten<br>
<br>
2016-07-11 14:37 GMT+02:00 Jayesh Nambiar <<a href="mailto:jayesh1017@gmail.com" target="_blank">jayesh1017@gmail.com</a>>:<br>
> Hi,<br>
> I'm looking to catch the local 408 response generated by kamailio after the<br>
> fr_timer strikes in. I was assuming to get it in the sl:local-request, but I<br>
> dont see it in my log messages.<br>
> I can catch responses like a 200 for register or a 487 for a message who's<br>
> transaction is not yet created. Any proper way on how do I get to know when<br>
> kamailio generates a local 408?<br>
> I'm on the master branch (commit: 54562b873c2c3d0a04f0587e7706188a3eb19a74).<br>
><br>
> Thanks,<br>
><br>
> - Jayesh<br>
><br>
> _______________________________________________<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/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
<br>
<br>
<br>
--<br>
Carsten Bock<br>
CEO (Geschäftsführer)<br>
<br>
ng-voice GmbH<br>
Millerntorplatz 1<br>
20359 Hamburg / Germany<br>
<br>
<a href="http://www.ng-voice.com" rel="noreferrer" target="_blank">http://www.ng-voice.com</a><br>
mailto:<a href="mailto:carsten@ng-voice.com" target="_blank">carsten@ng-voice.com</a><br>
<br>
Office +49 40 5247593-40<br>
Fax +49 40 5247593-99<br>
<br>
Sitz der Gesellschaft: Hamburg<br>
Registergericht: Amtsgericht Hamburg, HRB 120189<br>
Geschäftsführer: Carsten Bock<br>
Ust-ID: DE279344284<br>
<br>
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br>
<a href="http://www.ng-voice.com/imprint/" rel="noreferrer" target="_blank">http://www.ng-voice.com/imprint/</a><br>
<br>
_______________________________________________<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/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></blockquote></div>