[SR-Users] 477 Unfortunately error on sending to next hop occurred

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 22 22:14:45 CEST 2013


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
    ...
}

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list