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"><<a href="mailto:emss.mail@gmail.com">emss.mail@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;">
Hello,<br>
<br>
I have two sip providers configuration files in<br>
$(fs_conf}/conf/diaplan/default :<br>
- 00_keyyo.net.xml<br>
<include><br>
<extension name="keyyo" continue="false"><br>
<condition field="destination_number" expression = "^(.*)$"><br>
<action application="set" data="effective_caller_id_name=**MyID**"/><br>
<action application="set"<br>
data="effective_caller_id_number=**Myphonenumber"/><br>
<action application="bridge" data="sofia/gateway/<a href="http://keyyo.net/$1" target="_blank">keyyo.net/$1</a>"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
- 00_spa3102.xml<br>
<include><br>
<extension name="To PSTN"><br>
<condition field="destination_number" expression="^(.*)$"><br>
<action application="bridge"<br>
data="sofia/internal/${destination_number}@spafenmsf:5061" /><br>
</condition><br>
</extension><br>
</include><br>
<br>
I'd like to implement the following scenario for outbound calls :<br>
- dial using "keyyo" if available<br>
- fallback to "To PSTN" if keyyo isn't available (not registered,<br>
already used, for example)<br>
<br>
I've googled for freeswitch failover setups but didn't find anything<br>
that could have enlightened me (I'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>