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">&lt;<a href="mailto:wstephen80@gmail.com">wstephen80@gmail.com</a>&gt;</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&#39;m trying to implement the dialplan but I&#39;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 &quot;mod_routecall&quot; 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&#39;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>&lt;context name=&quot;default&quot;&gt;</div><div>  &lt;extension name=&quot;startup&quot;&gt;</div><div>    &lt;condition&gt;</div><div><br></div><div>      &lt;action application=&quot;routecall&quot;/&gt;</div>

<div><br></div><div>      &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot; /&gt;</div></div><div><div><br></div><div>      &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION,DESTINATION_OUT_OF_ORDER,NORMAL_CIRCUIT_CONGESTION,SWITCH_CONGESTION&quot;/&gt;</div>

<div><br></div><div>      &lt;action application=&quot;limit_execute&quot; data=&quot;hash outbound ${hash0} ${limit0} bridge ${dialstring0}&quot; /&gt;</div><div><br></div><div>      &lt;action application=&quot;limit_execute&quot; data=&quot;hash outbound ${hash1} ${limit1} bridge ${dialstring1}&quot; /&gt;</div>

<div><br></div><div>      &lt;action application=&quot;limit_execute&quot; data=&quot;hash outbound ${hash2} ${limit2} bridge ${dialstring2}&quot; /&gt;</div><div><br></div><div>      &lt;action application=&quot;limit_execute&quot; data=&quot;hash outbound ${hash3} ${limit3} bridge ${dialstring3}&quot; /&gt;</div>

<div><br></div><div>      &lt;action application=&quot;limit_execute&quot; data=&quot;hash outbound ${hash4} ${limit4} bridge ${dialstring4}&quot; /&gt;</div><div><br></div><div>    &lt;/condition&gt;</div><div>  &lt;/extension&gt;</div>

<div>&lt;/context&gt;</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>