[Freeswitch-users] XML DialPlan Gateay dialing redundancy

Brian Foster bdfoster at endigotech.com
Mon Dec 24 23:30:56 MSK 2012


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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121224/0400d8d5/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list