event-socket outbound: Dialplan failover on socket error?
Hi, I'd like to implement a dialplan entry to use a secondary event-socket application if the first esl server is down or could not be connected to. Could somebody please tell me what continue_on_fail options I could set so that I will continue ONLY if the event-socket outbound connection was unsuccessful i.e. an "[ERR] mod_event_socket.c:414 Socket Error!"? By default it seems to continue if the outbound bridge is unsuccessful however I don;t want to do that. Alternatively, is there something I can set from the event-socket session to stop the continue_on_fail from failing over? Thanks, Neil. -- View this message in context: http://old.nabble.com/event-socket-outbound%3A-Dialplan-failover-on-socket-e... Sent from the Freeswitch-users mailing list archive at Nabble.com.
continue_on_fail only applies to origination from the bridge app the socket app should always continue to the next entry in the dp when it fails. On Tue, Feb 16, 2010 at 12:55 PM, peely <freeswitch@peely.com> wrote:
Hi,
I'd like to implement a dialplan entry to use a secondary event-socket application if the first esl server is down or could not be connected to.
Could somebody please tell me what continue_on_fail options I could set so that I will continue ONLY if the event-socket outbound connection was unsuccessful i.e. an "[ERR] mod_event_socket.c:414 Socket Error!"? By default it seems to continue if the outbound bridge is unsuccessful however I don;t want to do that.
Alternatively, is there something I can set from the event-socket session to stop the continue_on_fail from failing over?
Thanks,
Neil. -- View this message in context: http://old.nabble.com/event-socket-outbound%3A-Dialplan-failover-on-socket-e... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
participants (2)
-
Anthony Minessale
-
peely