Hello,
you hit dns black lists, and cannot avoid it if you want to keep it on.
You can print the selected destinations via xlog() in case you want to
do just testing of the selection algorithm (the addresses are in the dst
avp -- see dispatcher module parameters).
Cheers,
Daniel
On 09/20/07 20:55, lincolnnmail-serlistmail(a)yahoo.com.br wrote:
Hi all.
I'm just new to openser, and this list. I implemented a load balance
server, but I'm getting some trouble with this 473 response from
openser. I inserted a fake uri to test how the load balance server
would handle the problem. Ok, it tries to send the request, fails, and
then goes to the failure route. There, it goes to the next route. Next
time the server tries to send the request to the fake uri, I'm getting
the 473 response. Yes, the fake uri is black listed. But how should we
be able to treat this error? Instead of immediatly returning this
message to the UA, I'd like openser to go to the next uri found in the
list. I'd prefer not to disable the blacklist function. I saw that
other people had the same problem, but I couldn't find any final
solution. Am I missing something or is it a bug? I'm posting my code
just below.
Thanks!
route[0]{
...
if ( method=="INVITE" ) {
# ds_select_dst( "GROUP", "HASH METHOD")
t_on_failure("1");
ds_select_dst("1","4");
sl_send_reply("100","Trying");
t_relay();
exit();
}
...
}
...
failure_route[1] {
if (!ds_next_dst()) {
t_reply("503", "No Gateways");
return;
} else {
t_on_failure("1");
t_relay();
return;
}
}
Flickr agora em português. Você clica, todo mundo vê. Saiba mais
<http://br.rd.yahoo.com/mail/taglines/flickr/*http://www.flickr.com.br/>.
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users