hi,<br><br>the bridge application has a sequential bridging option. take a look at <br><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#Calling_multiple_destinations">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#Calling_multiple_destinations</a> <br>
<br>is this not enough?<br><br>
-nandy<br><br><div class="gmail_quote">On Wed, Nov 17, 2010 at 7:43 AM, Stephen Wilde <span dir="ltr"><<a href="mailto:wstephen80@gmail.com">wstephen80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<div><br></div><div>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.</div><div><br></div><div>My necessity is to try sequentially some providers until the call is delivered to destination.</div>
<div><br></div><div>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.</div><div><br></div><div>
In this way I want that freeswitch make sequentially 5 tries in different providers.</div><div><br></div><div>It's also present the limit_execute because for each provider I have a maximum number of call that I can send.</div>
<div><br></div><div>My Dialplan is:</div><div><br></div><div><div><context name="default"></div><div> <extension name="startup"></div><div> <condition></div><div><br></div><div> <action application="routecall"/></div>
<div><br></div><div> <action application="set" data="hangup_after_bridge=true" /></div></div><div><div><br></div><div> <action application="set" data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION,DESTINATION_OUT_OF_ORDER,NORMAL_CIRCUIT_CONGESTION,SWITCH_CONGESTION"/></div>
<div><br></div><div> <action application="limit_execute" data="hash outbound ${hash0} ${limit0} bridge ${dialstring0}" /></div><div><br></div><div> <action application="limit_execute" data="hash outbound ${hash1} ${limit1} bridge ${dialstring1}" /></div>
<div><br></div><div> <action application="limit_execute" data="hash outbound ${hash2} ${limit2} bridge ${dialstring2}" /></div><div><br></div><div> <action application="limit_execute" data="hash outbound ${hash3} ${limit3} bridge ${dialstring3}" /></div>
<div><br></div><div> <action application="limit_execute" data="hash outbound ${hash4} ${limit4} bridge ${dialstring4}" /></div><div><br></div><div> </condition></div><div> </extension></div>
<div></context></div></div><div><br></div><div><br></div><div>Is this dialplan correct? There is a best way to do that?</div><div><br></div><div>Thanks in advance,</div><div><br></div><font color="#888888"><div>Stephen</div>
</font><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>