22 aug 2013 kl. 22:14 skrev Daniel-Constantin Mierla <mico...@gmail.com>:
> Hello, > > On 8/22/13 9:18 PM, Steve Davies wrote: >> Hi, >> >> I see that if 4.0.3 has a network error in sending a request, it sends back >> a 477 response, but does not execute the t_on_failure route block. >> >> Which I want to use to route the call via a local alternative gateway. >> >> I saw a bug that talked about the failure_exec_mode modparam, but that's not >> listed in the 4.0.3 documentation. >> >> Is there a way to get this to work? > in the request_route actions, you should do for now: > > if(!t_relay()) { > # try the next gateway > ... > } > > Please read the full documentation for t_relay. There's a lot of return codes that actually is really helpful. If it fails, read the return code and take action accordingly. Yeah, I know I'm boring, but we do try to write proper reference documentation in this project ;-) /O _______________________________________________ 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