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@domain|[call_timeout=15]user/101@domain|[call_timeout=99]user/102@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@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@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