[Devel] Blacklist and failover

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Feb 6 16:34:23 CET 2007


Hi Alex,

if you got into failure route, it was because of a negative reply - what 
was that code?  an IP because blacklisted only if it was a DNS-based 
failover which is not visible in failure_route (not triggered).

can you post (or send privately) the debug log for such a call?

thanks and regards,
bogdan

Alex wrote:
> Hello,
>
> I have discovered that new blacklist feature breaks failover in configuration like this:
>
> route[4] {
> rewriteuri("first uri");
> t_on_failure("4");
> t_relay();
> }
>
> failure_route[4] {
> append_branch("second uri");
> t_relay();
> }
>
> The first try is successful. failure_route triggered and request was redirected to the next host. But after this, the first host became blacklisted, 477 was returned and failure_route did not trigger again.
>
> I also have tried "if (!t_relay())" but with no luck. Unfortunately, search for 477 error in context of openser shows messages about transport layer problems and it's kind of misleading.
>
> disable_dns_blacklist=yes solves trouble, but may be disable it by default, or use of other reply (not 477) makes sense?
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list