How about using pipe-separated dial strings in your bridge app?<br><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#Implementing_Failover">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridge#Implementing_Failover</a><br>
<br>-MC<br><br><div class="gmail_quote">On Sun, Oct 3, 2010 at 11:55 AM, Eric Masson <span dir="ltr">&lt;<a href="mailto:emss.mail@gmail.com">emss.mail@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;">
Hello,<br>
<br>
I have two sip providers configuration files in<br>
$(fs_conf}/conf/diaplan/default :<br>
- 00_keyyo.net.xml<br>
&lt;include&gt;<br>
   &lt;extension name=&quot;keyyo&quot; continue=&quot;false&quot;&gt;<br>
     &lt;condition field=&quot;destination_number&quot; expression = &quot;^(.*)$&quot;&gt;<br>
       &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=**MyID**&quot;/&gt;<br>
       &lt;action application=&quot;set&quot;<br>
data=&quot;effective_caller_id_number=**Myphonenumber&quot;/&gt;<br>
       &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://keyyo.net/$1" target="_blank">keyyo.net/$1</a>&quot;/&gt;<br>
     &lt;/condition&gt;<br>
   &lt;/extension&gt;<br>
&lt;/include&gt;<br>
<br>
- 00_spa3102.xml<br>
&lt;include&gt;<br>
   &lt;extension name=&quot;To PSTN&quot;&gt;<br>
     &lt;condition field=&quot;destination_number&quot; expression=&quot;^(.*)$&quot;&gt;<br>
       &lt;action application=&quot;bridge&quot;<br>
data=&quot;sofia/internal/${destination_number}@spafenmsf:5061&quot; /&gt;<br>
     &lt;/condition&gt;<br>
   &lt;/extension&gt;<br>
&lt;/include&gt;<br>
<br>
I&#39;d like to implement the following scenario for outbound calls :<br>
- dial using &quot;keyyo&quot; if available<br>
- fallback to &quot;To PSTN&quot; if keyyo isn&#39;t available (not registered,<br>
already used, for example)<br>
<br>
I&#39;ve googled for freeswitch failover setups but didn&#39;t find anything<br>
that could have enlightened me (I&#39;m kind of new in fs).<br>
<br>
Where could I find docs to achieve the exposed goal please ?<br>
<br>
Kind Regards<br>
<br>
Eric Masson<br>
<br>
<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>
</blockquote></div><br>