[Devel] Blacklist and failover
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Feb 7 10:24:19 CET 2007
Hi Alex,
the 408 timeout was locally generated by openser or was received? if it
is the first case, was there any provisional reply received from UAS?
I'm asking because a local generated 408 timeout with no reply received
is considered a failure that triggers DNS-based failover (RFC3262) and
if disable_dns_blacklist=no, the destination IP address will be
blacklisted for 4 minutes.
can you check if this was the case?
you can inspect the content of the blacklist via MI command
"list_blacklists"
regards,
bogdan
Alex wrote:
> Hello,
>
>
>> 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?
>>
>
> Sorry, I can not send you log, but You can reproduce it with script below
>
> route {
> xlog("L_ERR", "main route $rm $cs\n");
> rewriteuri("sip:my ip:wrong port");
> t_on_failure("1");
> if (!t_relay())
> sl_reply_error();
> }
>
> failure_route[1] {
> xlog("L_ERR", "failure_route $rm $cs\n");
> append_branch("sip:my ip:another wrong port");
> t_relay();
> }
>
> With this script i got next output:
>
> 1: main route REGISTER 1
> 2: main route REGISTER 1
> 3: main route REGISTER 1
> 4: failure_route REGISTER 1
> 5: main route REGISTER 1
>
> // "408 Request Timeout" was returned
>
> 6: main route REGISTER 1
>
> // "477 Unfortunately error on sending to next hop occurred (477/TM)" was returned
>
>
More information about the Devel
mailing list