<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    There's a shortcut, you can use the | as a logical OR:<br>
    <br>
    <div><span class="" style="white-space:pre"> </span>&lt;action
      application="bridge"
data="sofia/gateway/isp0/$1|sofia/gateway/isp1/$1|sofia/gateway/isp2/$1"/&gt;<br>
      <br>
      ... so each ISP will be tried in sequence until a call can be
      established.<br>
      <br>
      Francis<br>
      <br>
    </div>
    <span class="" style="white-space:pre"></span><br>
    <div class="moz-cite-prefix">On 27/05/2014 12:31 AM, Roman wrote:<br>
    </div>
    <blockquote
cite="mid:CAAJfYc1x8j95iDhC4fnU99hRSg_xgt04fm_kYT7rEMLQz-44HA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hello!<br>
        </div>
        <div><br>
        </div>
        <div>I have several ISP in freeswitch/sip_profiles (isp0, isp1,
          isp2). Default routing define in freeswitch/dialplan/default
          and by default used isp0 for outbound calls.</div>
        <div><br>
        </div>
        <div>&lt;include&gt;</div>
        <div>&nbsp; &lt;extension name="outbound"&gt;</div>
        <div>&nbsp; &nbsp; &lt;condition field="destination_number"
          expression="^(\d+)$"&gt;</div>
        <div><span class="" style="white-space:pre"> </span>&lt;action
          application="set" data="effective_caller_id_number=aon"/&gt;<br>
        </div>
        <div><span class="" style="white-space:pre"> </span>&lt;action
          application="bridge" data="sofia/gateway/isp0/$1"/&gt;</div>
        <div><span class="" style="white-space:pre"> </span>&lt;action
          application="ring_ready"/&gt;</div>
        <div>&nbsp; &nbsp; &lt;/condition&gt;</div>
        <div>&nbsp; &lt;/extension&gt;</div>
        <div>&lt;/include&gt;</div>
        <div><br>
        </div>
        <div>How i can organize backup calls via isp1 or isp2 if isp0 is
          down?</div>
        <div><br>
        </div>
        <div>This can be done through <a moz-do-not-send="true"
            href="http://wiki.freeswitch.org/wiki/Variable_continue_on_fail">http://wiki.freeswitch.org/wiki/Variable_continue_on_fail</a>
          ?</div>
        <div><br>
        </div>
        <div>Thanks for advice!</div>
        <div><br>
        </div>
        <div>--&nbsp;<br>
        </div>
        Kind regards,
        <div><br>
        </div>
        <div>Roman</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>