Take a look on the wiki for continue_on_fail. There's an example of this in the default.xml dialplan (example configuration) for the extension "Local_Extension". Sent from my iPhone On Dec 24, 2012, at 12:36 PM, "Sean Devoy" <sdevoy@bizfocused.com> wrote:
I need a little help with a complex XML dialplan. Also, I am on the Stable release so I do not believe the much needed nested conditions exists for me yet.
My problem is faulty gateway providers who periodically fail to connect the call with [temp failure] because “our routing tables where not up to date.”
So what I am after is an xml dialplan to do this If (it is a 10 or 11 digit dial) Dial using gateway 1 If no answer Go to voice mail Else if gateway failure Dial using gateway 2 If no answer Go to voice mail Else if gateway failure Dial using gateway 3 If no answer Go to voice mail Else if gateway failure Play a message that the number is screwed!
Perhaps I need to breakdown and use a scripting language like LUA or JavaScript for this, but I would rather keep everything in XML if possible.
Any thoughts?
Happy Holidays to all, Sean
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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