<div dir="ltr">The only reason <span style="font-size:12.8000001907349px">ORIGINATOR_CANCEL is that FS canceled the call and moving forward to the next  after the `|&#39; so there&#39;s no reason it work as you thought. So I would completely remove everything including and after `|&#39; if I really don&#39;t want to call over the next gateway.</span><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 13, 2015 at 9:53 PM, 彭勇 <span dir="ltr">&lt;<a href="mailto:ppyy@pubyun.com" target="_blank">ppyy@pubyun.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>we would like to fail over in inbound event socket:</div><div><br></div><div>dial in -&gt; park </div><div>origin -&gt; park</div><div>uuid_bridge</div><div><br></div><div>originate {continue_on_fail=^^:NO_USER_RESPONSE:UNALLOCATED_NUMBER:NORMAL_TEMPORARY_F<br>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 &amp;park()<br></div><div><br></div><div>it will not hangup if the first gateway fails with ORIGINATOR_CANCEL.</div><div><br></div><div>how can set continue_on_fail and fail_on_single_reject?</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">Peng Yong<br></div></div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a><br>Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a><br>Proj:  <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a></div>
</div>