[Freeswitch-users] Create a simple dialplan

Nick Vines jnvines at gmail.com
Thu Nov 15 19:07:23 MSK 2012


I think this will do what you want. It will try extension 100 for 5
seconds, then 101 for 15 seconds, then 102 for 99 seconds. You could also
use groups in addition to users.

<action application="bridge" data="[call_timeout=5]user/100 at domain|
[call_timeout=15]user/101 at domain|[call_timeout=99]user/102 at domain"/>

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#From_the_Dialplan


Nick


On Thu, Nov 15, 2012 at 5:22 AM, Alessio <alessio at asistar.it> wrote:

> Hi all,
> Can I create a dialplan for incoming calls that do the following?
>
> <condition field="destination_number" expression=" ^0123456789$">
>      <action application="export" data="originate_timeout=5"/>
>      <action application="transfer" data="100 XML default"/>
>
>      If 100 did not respond:
>
>      <action application="export" data="originate_timeout=15"/>
>      <action application="transfer" data="101 XML default"/>
>
>      If 103 did not respond:
>
>      <action application="export" data="originate_timeout=99"/>
>      <action application="transfer" data="102 XML default"/>
>
> </condition>
>
> Can anyone help me to understand how I have to set dialplan for do this?
>
> Alessio.
>
> _________________________________________________________________________
> 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/20121115/e9cf38a2/attachment.html 


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