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@10.3.3.104"/>

  <action application="bridge" data="sofia/test-int/3920@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@10.3.3.104| sofia/test-int/3920@10.3.3.104"/>

Or

<action application="bridge" data="{ continue_on_fail=NORMAL_TEMPORARY_FAILURE }sofia/test-int/3920@10.3.3.104| sofia/test-int/3920@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