Hi Douglas,
Yes you're right, it does. You just cannot do a simple (stateless)
forward for failover, you need to establish a transaction (e. g.
t_relay()) and you need a failure-route handling the error (if there is
any error). And don't forget the flags of the dispatcher (Flag 2 needs
to be enabled).
Carsten
Douglas Garstang schrieb:
I was under the impression that the dispatcher module
in Openser 1.1 did failover?
I just tried it. I put an invalid IP in my dispatcher.list file. When the dispatcher
selects that invalid IP, it looks like it never times out and tries another.
# PSTN
2 sip:216.187.140.217 # INVALID
2 sip:216.187.141.246
2 sip:216.187.140.216
What special steps do I need to take to ensure the dispatcher does failover?
Here's a piece of my openser.cfg file...
#
# Outgoing PSTN Calls - Dispatch to Audiocodes
#
if ( src_ip == 216.187.142.203 ||
src_ip == 216.187.142.204 ||
src_ip == 216.187.142.232 ||
src_ip == 216.187.142.201 ||
src_ip == 216.187.142.231 ) {
sl_send_reply("100","Trying");
xlog ("L_INFO","Outbound PSTN call. Dispatching to
Audiocodes");
ds_select_dst("2","0");
forward();
return;
}
Doug.
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users