hi,
the bridge application has a sequential bridging option. take a look at
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#Calling_multiple_destinations
is this not enough?
-nandy
Hi,I'm trying to implement the dialplan but I'm not sure (due to my poor experience in ftreeswitch) if this is the best way.My necessity is to try sequentially some providers until the call is delivered to destination.I have write my own "mod_routecall" that set some channel variables based on called number and so set the dialstrings for each provider with the correct order of tries.In this way I want that freeswitch make sequentially 5 tries in different providers.It's also present the limit_execute because for each provider I have a maximum number of call that I can send.My Dialplan is:<context name="default"><extension name="startup"><condition><action application="routecall"/><action application="set" data="hangup_after_bridge=true" /><action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION,DESTINATION_OUT_OF_ORDER,NORMAL_CIRCUIT_CONGESTION,SWITCH_CONGESTION"/><action application="limit_execute" data="hash outbound ${hash0} ${limit0} bridge ${dialstring0}" /><action application="limit_execute" data="hash outbound ${hash1} ${limit1} bridge ${dialstring1}" /><action application="limit_execute" data="hash outbound ${hash2} ${limit2} bridge ${dialstring2}" /><action application="limit_execute" data="hash outbound ${hash3} ${limit3} bridge ${dialstring3}" /><action application="limit_execute" data="hash outbound ${hash4} ${limit4} bridge ${dialstring4}" /></condition></extension></context>Is this dialplan correct? There is a best way to do that?Thanks in advance,Stephen
_______________________________________________
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