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.