[Freeswitch-users] Backups outbound calls via several isp

Roman itux.adm at gmail.com
Wed May 28 12:57:40 MSD 2014


Thanks a lot! It Works!

With Hangup Causes can get a awesome routing scheme.

-- 
Kind regards,

Roman



2014-05-27 17:17 GMT+03:00 Francis <sms at icefire.qza.net.au>:

>  Oh, and you might also want to add
>
>  <action application="set" data="hangup_after_bridge=true"/>
>
>
>
>
> On 27/05/2014 5:16 PM, Francis wrote:
>
> In that case, continue_on_fail would probably be more suitable. I haven't
> tested this, but you could try:
>
> <include>
>   <extension name="outbound">
>     <condition field="destination_number" expression="^(\d+)$">
>
> <action application="set" data="continue_on_fail=true"/>
>
>  <action application="set" data="effective_caller_id_number=aon"/>
>  <action application="bridge" data="sofia/gateway/isp0/$1"/>
>    <action application="ring_ready"/>
>
>  <action application="set" data="effective_caller_id_number=change_me_1"/>
>    <action application="bridge" data="sofia/gateway/isp1/$1"/>
>    <action application="ring_ready"/>
>
>  <action application="set" data="effective_caller_id_number=change_me_2"/>
>    <action application="bridge" data="sofia/gateway/isp2/$1"/>
>    <action application="ring_ready"/>
>
>  <action application="set" data="effective_caller_id_number=change_me_3"/>
>  <action application="bridge" data="sofia/gateway/isp3/$1"/>
>     <action application="ring_ready"/>
>     </condition>
>   </extension>
> </include>
>
> 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.
>
> Francis
>
>
> On 27/05/2014 4:36 PM, Roman wrote:
>
> Francis, thx!
>
> But if each isp use custom effective_caller_id_number format and
> destination_number rule?
>
>  --
> Kind regards,
>
>  Roman
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Kind regards,

Roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140528/cf2d293b/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list