[Serusers] RE: failure route

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Jul 25 12:52:01 CEST 2005


On Jul 16, 2005 at 17:45, harry gaillac <gaillacharry at yahoo.fr> wrote:
> Thanks for help,
> 
> I set in route [3] :
>         if (t_check_status("(486])||(408)")) {
>                 t_on_failure("1");
>                 route(1);
>                 break;
>         };
> When timer expire and caller receive 408 or 486 last
> replies it should go to failure route !?

No, you should set t_on_failure("1"), t_relay() the request at some
point and have the t_check_status() block in the failure route.

Andrei




More information about the sr-users mailing list