<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Oh, and you might also want to add<br>
<br>
<span class="" style="white-space:pre"> <action application="set"
data="hangup_after_bridge=true"/></span><span class=""
style="white-space:pre"><br>
<br>
<br>
</span><br>
<div class="moz-cite-prefix">On 27/05/2014 5:16 PM, Francis wrote:<br>
</div>
<blockquote cite="mid:53843BD4.8040705@icefire.qza.net.au"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
In that case, continue_on_fail would probably be more suitable. I
haven't tested this, but you could try:<br>
<br>
<div><include></div>
<div> <extension name="outbound"></div>
<div> <condition field="destination_number"
expression="^(\d+)$"></div>
<div><span class="" style="white-space:pre"> <br>
<action application="set" data="continue_on_fail=true"/></span><span
class="" style="white-space:pre"><br>
<br>
</span> <action application="set"
data="effective_caller_id_number=aon"/><br>
<div><span class="" style="white-space:pre"> </span><action
application="bridge" data="sofia/gateway/isp0/$1"/><br>
<action application="ring_ready"/> <br>
</div>
<div><span class="" style="white-space:pre"></span></div>
<span class="" style="white-space:pre"><br>
</span> <action application="set"
data="effective_caller_id_number=change_me_1"/><br>
<div><span class="" style="white-space:pre"> </span><action
application="bridge" data="sofia/gateway/isp1/$1"/><br>
<action application="ring_ready"/> <br>
</div>
<div><span class="" style="white-space:pre"></span></div>
<span class="" style="white-space:pre"><br>
</span> <action application="set"
data="effective_caller_id_number=change_me_2"/><br>
<div><span class="" style="white-space:pre"> </span><action
application="bridge" data="sofia/gateway/isp2/$1"/><br>
<action application="ring_ready"/> <br>
</div>
<div><span class="" style="white-space:pre"></span></div>
<span class="" style="white-space:pre"><br>
</span> <action application="set"
data="effective_caller_id_number=change_me_3"/><br>
<div><span class="" style="white-space:pre"> </span><action
application="bridge" data="sofia/gateway/isp3/$1"/></div>
<div><span class="" style="white-space:pre"></span></div>
<action application="ring_ready"/></div>
<div> </condition></div>
<div> </extension></div>
<div></include><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 class="moz-cite-prefix">On 27/05/2014 4:36 PM, Roman wrote:<br>
</div>
<blockquote
cite="mid:CAAJfYc16nXmngN8f4Kq5ggWwBbsVCXUck0mde=qA6cVbQjuoYA@mail.gmail.com"
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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<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>