[SR-Users] getting the local 408 response

Carsten Bock carsten at ng-voice.com
Mon Jul 11 14:43:14 CEST 2016


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 at 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 at 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 at 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/



More information about the sr-users mailing list