[Freeswitch-users] continue_on_fail vs fail_on_single_reject

Andre andretodd at verizon.net
Tue Sep 30 23:05:14 MSD 2014


Hi, Can someone tell me when I should be using fail_on_single_reject over
continue_on_fail?

 

Let's say I have 2 bridges and if the call is busy I just want to hang up
the code below should be correct?

 

  <action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE"/>

  <action application="bridge" data="sofia/test-int/3910 at 10.3.3.104"/>

  <action application="bridge" data="sofia/test-int/3920 at 10.3.3.104"/>

 

Now let's say the code looks like this

 

Would I use  <action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE"/> or <action
application="set" data="fail_on_single_reject=USER_BUSY"/>

 

 

<action application="bridge"
data="{fail_on_single_reject=USER_BUSY}sofia/test-int/3920 at 10.3.3.104|
sofia/test-int/3920 at 10.3.3.104"/>

Or

<action application="bridge" data="{
continue_on_fail=NORMAL_TEMPORARY_FAILURE }sofia/test-int/3920 at 10.3.3.104|
sofia/test-int/3920 at 10.3.3.104"/>

 

 

Understanding that NORMAL_TEMPORARY_FAILURE it not totally like USER_Busy
but just trying to understand when to use what.

Thanks

Andre

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


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