[SR-Users] 404 failure route;

David J. david at styleflare.com
Tue Dec 14 21:17:29 CET 2010


I am using the default script;

When I do a lookup for a user that is not registered; I get 404 back;

I added in my failure route to the list of codes 404; ie:

First on INVITE I have

t_on_failure("FAIL_ONE");


failure_route[FAIL_ONE] {
if (t_check_status("486|408|404")) {
sethostport("mydomain.com:5060");
   append_branch();

}
}

But for some reason I dont see it getting caught in the failure route 
and sending to the server specified;

Thanks.





More information about the sr-users mailing list