[Freeswitch-users] failover in inbound event socket mode

Seven Du dujinfang at gmail.com
Mon Mar 16 05:26:06 MSK 2015


The only reason ORIGINATOR_CANCEL is that FS canceled the call and moving
forward to the next  after the `|' so there's no reason it work as you
thought. So I would completely remove everything including and after `|' if
I really don't want to call over the next gateway.



On Fri, Mar 13, 2015 at 9:53 PM, 彭勇 <ppyy at pubyun.com> wrote:

>
> we would like to fail over in inbound event socket:
>
> dial in -> park
> origin -> park
> uuid_bridge
>
> originate
> {continue_on_fail=^^:NO_USER_RESPONSE:UNALLOCATED_NUMBER:NORMAL_TEMPORARY_F
> AILURE:NO_ROUTE_DESTINATION:CALL_REJECTED:RECOVERY_ON_TIMER_EXPIRE:NETWORK_OUT_OF_ORDER,fail_on_single_reject=^^:USER_BUSY:NO_ANSWER:ORIGINATOR_CANCEL}sofia/gateway/gw01/xxxx|sofia/gateway/gw02/xxxx
> &park()
>
> it will not hangup if the first gateway fails with ORIGINATOR_CANCEL.
>
> how can set continue_on_fail and fail_on_single_reject?
>
> --
> Peng Yong
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>



-- 
About: http://about.me/dujinfang
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150316/0b887dd1/attachment.html 


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