<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Good to hear!<br>
    <br>
    <div class="moz-cite-prefix">On 28/05/2014 6:57 PM, Roman wrote:<br>
    </div>
    <blockquote
cite="mid:CAAJfYc0VqDAaH_B8jdXMtupvR4F8n2esmO3TRLn9RQXXTxWY1w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <pre style="color:rgb(0,0,0)">Thanks a lot! It Works!</pre>
        <pre style=""><font color="#000000">With Hangup Causes can get a awesome routing scheme.</font></pre>
        <pre style="color:rgb(0,0,0)"><pre>-- 
Kind regards,

Roman</pre></pre>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">2014-05-27 17:17 GMT+03:00 Francis <span
              dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:sms@icefire.qza.net.au" target="_blank">sms@icefire.qza.net.au</a>&gt;</span>:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> Oh, and you might
                also want to add<br>
                <br>
                <span style="white-space:pre-wrap"> &lt;action
                  application="set" data="hangup_after_bridge=true"/&gt;</span>
                <div>
                  <div class="h5"><span style="white-space:pre-wrap"><br>
                      <br>
                      <br>
                    </span><br>
                    <div>On 27/05/2014 5:16 PM, Francis wrote:<br>
                    </div>
                    <blockquote type="cite"> In that case,
                      continue_on_fail would probably be more suitable.
                      I haven't tested this, but you could try:<br>
                      <br>
                      <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 style="white-space:pre-wrap"> <br>
                          &lt;action application="set"
                          data="continue_on_fail=true"/&gt;</span><span
                          style="white-space:pre-wrap"><br>
                          <br>
                        </span>&nbsp;&lt;action application="set"
                        data="effective_caller_id_number=aon"/&gt;<br>
                        <div><span style="white-space:pre-wrap"> </span>&lt;action

                          application="bridge"
                          data="sofia/gateway/isp0/$1"/&gt;<br>
                          &nbsp;&nbsp; &lt;action application="ring_ready"/&gt; <br>
                        </div>
                        <div><span style="white-space:pre-wrap"></span></div>
                        <span style="white-space:pre-wrap"><br>
                        </span>&nbsp;&lt;action application="set"
                        data="effective_caller_id_number=change_me_1"/&gt;<br>
                        <div><span style="white-space:pre-wrap">&nbsp;&nbsp; </span>&lt;action


                          application="bridge"
                          data="sofia/gateway/isp1/$1"/&gt;<br>
                          &nbsp;&nbsp; &lt;action application="ring_ready"/&gt; <br>
                        </div>
                        <div><span style="white-space:pre-wrap"></span></div>
                        <span style="white-space:pre-wrap"><br>
                        </span>&nbsp;&lt;action application="set"
                        data="effective_caller_id_number=change_me_2"/&gt;<br>
                        <div><span style="white-space:pre-wrap">&nbsp;&nbsp; </span>&lt;action


                          application="bridge"
                          data="sofia/gateway/isp2/$1"/&gt;<br>
                          &nbsp;&nbsp; &lt;action application="ring_ready"/&gt; <br>
                        </div>
                        <div><span style="white-space:pre-wrap"></span></div>
                        <span style="white-space:pre-wrap"><br>
                        </span>&nbsp;&lt;action application="set"
                        data="effective_caller_id_number=change_me_3"/&gt;<br>
                        <div><span style="white-space:pre-wrap"> </span>&lt;action

                          application="bridge"
                          data="sofia/gateway/isp3/$1"/&gt;</div>
                        <div><span style="white-space:pre-wrap"></span></div>
                        &nbsp;&nbsp; &lt;action application="ring_ready"/&gt;</div>
                      <div>&nbsp; &nbsp; &lt;/condition&gt;</div>
                      <div>&nbsp; &lt;/extension&gt;</div>
                      <div>&lt;/include&gt;<br>
                        <br>
                        Another alternative is to duplicate the dialplan
                        extensions and customize the caller ID for each
                        one as well as using a | separated list of
                        ISP's, probably not what you want to do here,
                        but it's do-able.<br>
                        <br>
                        Francis<br>
                        <br>
                      </div>
                      <br>
                      <div>On 27/05/2014 4:36 PM, Roman wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div dir="ltr">Francis, thx!
                          <div><br clear="all">
                            <div>But if each isp use custom
                              effective_caller_id_number format and
                              destination_number rule?<br>
                            </div>
                            <div><br>
                            </div>
                            -- <br>
                            Kind regards,
                            <div><br>
                            </div>
                            <div>Roman</div>
                          </div>
                        </div>
                        <br>
                        <fieldset></fieldset>
                        <br>
                        <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                      </blockquote>
                      <br>
                      <br>
                      <fieldset></fieldset>
                      <br>
                      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com"
                target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com"
                target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          Kind regards,
          <div><br>
          </div>
          <div>Roman</div>
        </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>