Hi Carsten,Thanks for responding.1) I basically call a t_suspend for an incoming INVITE and resume it when the call is ready to be patched.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.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.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.Thanks,- JayeshOn Mon, Jul 11, 2016 at 6:13 PM Carsten Bock <carsten@ng-voice.com> wrote:Hi Jayesh,
you should be able to catch this in a regular failure_route(). What do
you want to achieve? Replace the response?
failure_route[myfailure] {
# Execute, in case we
# - get a local generated "408"
# - receive a 5xx or 6xx reply from the proxy.
if (t_branch_timeout() || t_check_status("[5-6]..")) {
send_reply("486", "User offline");
exit;
}
}
Thanks,
Carsten
2016-07-11 14:37 GMT+02:00 Jayesh Nambiar <jayesh1017@gmail.com>:
> Hi,
> I'm looking to catch the local 408 response generated by kamailio after the
> fr_timer strikes in. I was assuming to get it in the sl:local-request, but I
> dont see it in my log messages.
> I can catch responses like a 200 for register or a 487 for a message who's
> transaction is not yet created. Any proper way on how do I get to know when
> kamailio generates a local 408?
> I'm on the master branch (commit: 54562b873c2c3d0a04f0587e7706188a3eb19a74).
>
> Thanks,
>
> - Jayesh
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
--
Carsten Bock
CEO (Geschäftsführer)
ng-voice GmbH
Millerntorplatz 1
20359 Hamburg / Germany
http://www.ng-voice.com
mailto:carsten@ng-voice.com
Office +49 40 5247593-40
Fax +49 40 5247593-99
Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users