<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi David!<br>
      <br>
      Thank you for your answer!<br>
      <br>
      It doesn't work either. <br>
      <br>
      Here is the situation:<br>
      1. the phone call goes to cell phone through the first gateway.<br>
      2. cell phone ringing.<br>
      3. phone call rejected by cell phone ("Cancel" button pressed)<br>
      4. FS receives USER_BUSY from the first gateway<br>
      5. FS executes continue_on_fail despite there is no USER_BUSY in
      continue_on_fail cause list settings.<br>
      <br>
      Brian suggested workaround in Vitaly's report (
      <a class="moz-txt-link-freetext" href="http://jira.freeswitch.org/browse/FS-4232">http://jira.freeswitch.org/browse/FS-4232</a> )<br>
      But if the cell phone is off, caller can not hear announce about
      that. <br>
      <br>
      So I was wondering whether it is solved in some another way.<br>
      <br>
      DialPlan:<br>
      <br>
      &lt;condition field="destination_number"
      expression="^(8921\d{7}|8931\d{7})$"&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;action application="set"
      data="hangup_after_bridge=true"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set"
data="continue_on_fail=CALL_REJECTED,NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge"
      data="sofia/gateway/gw1/$1"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge"
      data="sofia/gateway/gw2/$1"/&gt;<br>
      &lt;/condition&gt;<br>
      <br>
      <br>
      Short callLogs:<br>
      <br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_channel.c:3057
      (<a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a>) Callstate Change RINGING -&gt;
      EARLY<br>
      2012-09-13 13:46:09.332094 [DEBUG] mod_sofia.c:2643 Ring SDP:<br>
      v=0<br>
      o=FreeSWITCH 1347502619 1347502620 IN IP4 x.x.x.x<br>
      s=FreeSWITCH<br>
      c=IN IP4 x.x.x.x<br>
      t=0 0<br>
      m=audio 26950 RTP/AVP 8 101<br>
      a=rtpmap:8 PCMA/8000<br>
      a=rtpmap:101 telephone-event/8000<br>
      a=fmtp:101 0-16<br>
      a=silenceSupp:off - - - -<br>
      a=ptime:20<br>
      a=sendrecv<br>
      <br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_core_session.c:778 Send
      signal <a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a> [BREAK]<br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_ivr_originate.c:3360
      Originate Resulted in Success: [sofia/gw1/89210000000]<br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_core_session.c:778 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_core_session.c:778 Send
      signal <a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a> [BREAK]<br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_ivr_bridge.c:1359
      (sofia/gw1/89210000000) State Change CS_CONSUME_MEDIA -&gt;
      CS_EXCHANGE_MEDIA<br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_core_session.c:1229 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_core_state_machine.c:385
      (sofia/gw1/89210000000) Running State Change CS_EXCHANGE_MEDIA<br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_core_state_machine.c:443
      (sofia/gw1/89210000000) State EXCHANGE_MEDIA<br>
      2012-09-13 13:46:09.332094 [DEBUG] mod_sofia.c:652 SOFIA
      EXCHANGE_MEDIA<br>
      2012-09-13 13:46:09.332094 [DEBUG] switch_core_session.c:924 Send
      signal <a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a> [BREAK]<br>
      2012-09-13 13:46:09.332094 [DEBUG] sofia.c:6051 Channel
      <a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a> skipping state [early][183]<br>
      2012-09-13 13:46:09.372176 [DEBUG] switch_rtp.c:3594 Correct
      ip/port confirmed.<br>
      2012-09-13 13:46:09.432175 [DEBUG] switch_rtp.c:3594 Correct
      ip/port confirmed.<br>
      2012-09-13 13:46:13.632367 [DEBUG] switch_core_session.c:924 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:13.632367 [DEBUG] switch_core_session.c:924 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:13.632367 [DEBUG] switch_core_session.c:924 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:13.652424 [DEBUG] sofia.c:6058 Channel
      sofia/gw1/89210000000 entering state [terminated][486]<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_channel.c:2914
      (sofia/gw1/89210000000) Callstate Change EARLY -&gt; HANGUP<br>
      2012-09-13 13:46:13.652424 [NOTICE] sofia.c:6850 Hangup
      sofia/gw1/89210000000 [CS_EXCHANGE_MEDIA] [USER_BUSY]<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_channel.c:2937 Send
      signal sofia/gw1/89210000000 [KILL]<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_session.c:1229 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_ivr_bridge.c:588 BRIDGE
      THREAD DONE [sofia/gw1/89210000000]<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_ivr_bridge.c:613 Send
      signal <a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a> [BREAK]<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:443
      (sofia/gw1/89210000000) State EXCHANGE_MEDIA going to sleep<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:385
      (sofia/gw1/89210000000) Running State Change CS_HANGUP<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:625
      (sofia/gw1/89210000000) State HANGUP<br>
      2012-09-13 13:46:13.652424 [DEBUG] mod_sofia.c:474 Channel
      sofia/gw1/89210000000 hanging up, cause: USER_BUSY<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:47
      sofia/gw1/89210000000 Standard HANGUP, cause: USER_BUSY<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:625
      (sofia/gw1/89210000000) State HANGUP going to sleep<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:416
      (sofia/gw1/89210000000) State Change CS_HANGUP -&gt; CS_REPORTING<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_session.c:1229 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:385
      (sofia/gw1/89210000000) Running State Change CS_REPORTING<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:685
      (sofia/gw1/89210000000) State REPORTING<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:79
      sofia/gw1/89210000000 Standard REPORTING, cause: USER_BUSY<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:685
      (sofia/gw1/89210000000) State REPORTING going to sleep<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_state_machine.c:410
      (sofia/gw1/89210000000) State Change CS_REPORTING -&gt; CS_DESTROY<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_session.c:1229 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:13.652424 [DEBUG] switch_core_session.c:1429
      Session 779 (sofia/gw1/89210000000) Locked, Waiting on external
      entities<br>
      2012-09-13 13:46:13.672425 [DEBUG] switch_ivr_bridge.c:501
      sofia/gw1/89210000000 ending bridge by request from write function<br>
      2012-09-13 13:46:13.672425 [DEBUG] switch_ivr_bridge.c:588 BRIDGE
      THREAD DONE [<a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a>]<br>
      2012-09-13 13:46:13.672425 [DEBUG] switch_ivr_bridge.c:613 Send
      signal sofia/gw1/89210000000 [BREAK]<br>
      2012-09-13 13:46:13.672425 [DEBUG] switch_core_session.c:778 Send
      signal <a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a> [BREAK]<br>
      EXECUTE <a class="moz-txt-link-abbreviated" href="mailto:sofia/onnet/78120000000@y.y.y.y">sofia/onnet/78120000000@y.y.y.y</a>
      bridge(sofia/gateway/gw2/89210000000)<br>
      <br>
      <br>
      Regards,<br>
      Kirill<br>
      <br>
      <br>
      13.09.2012 12:55, David Villasmil &#1087;&#1080;&#1096;&#1077;&#1090;:<br>
    </div>
    <blockquote
cite="mid:CAFGRPVofDWHgZXU-wOTP-rcN=OZLMMe1zy+oqU6Znz28k3NQ7g@mail.gmail.com"
      type="cite">Hello guys,
      <div><br>
      </div>
      <div>the way you have it:</div>
      <div><br>
      </div>
      <div><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">&lt;action
          application="set"&nbsp;</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">data="continue_on_fail=1,2,3,</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">6,25,34,38,41,42,44,47,63,66,</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">500,501"/&gt;</span>&nbsp;</div>
      <div><br>
      </div>
      <div>Never worked for me, I had to set it up like:</div>
      <div><br>
      </div>
      <div><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">&lt;action
          application="set"&nbsp;</span><span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">data="</span><span
          style="background-color:rgb(255,255,255)"><font
            color="#222222" face="arial, sans-serif"><span
              style="font-size:12.499999046325684px">continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESTINATION,UNALLOCATED_NUMBER"/&gt;</span></font></span>&nbsp;</div>
      <div><br>
      </div>
      <div>With the description text, not the error number...</div>
      <div><br>
      </div>
      <div>Hope this helps you..</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>David<br>
        <br>
        <div class="gmail_quote">On Wed, Sep 12, 2012 at 3:53 PM, iam <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:iam@onnet.su" target="_blank">iam@onnet.su</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vitaly!<br>
            <br>
            Did you ever solve this problem?<br>
            I have the same continue_on_fail behaviour.<br>
            <br>
            <a moz-do-not-send="true"
              href="http://jira.freeswitch.org/browse/FS-4232"
              target="_blank">http://jira.freeswitch.org/browse/FS-4232</a><br>
            <br>
            Vitaly added a comment - 26/Jun/12 3:14 AM<br>
            Sorry for the long absence, but the problem is still actual
            for me.<br>
            I replaced in my dialplan continue_on_fail to "true", but
            it's not give<br>
            desired effect.<br>
            May be some additional variables can help me?<br>
            <br>
            Regards,<br>
            Kirill<br>
            <br>
            <br>
            <br>
            --<br>
            View this message in context: <a moz-do-not-send="true"
href="http://freeswitch-users.2379917.n2.nabble.com/Variable-continue-on-fail-tp7462051p7582782.html"
              target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Variable-continue-on-fail-tp7462051p7582782.html</a><br>
            Sent from the freeswitch-users mailing list archive at
            Nabble.com.<br>
            <div class="HOEnZb">
              <div class="h5"><br>
_________________________________________________________________________<br>
                Professional FreeSWITCH Consulting Services:<br>
                <a moz-do-not-send="true"
                  href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitchsolutions.com"
                  target="_blank">http://www.freeswitchsolutions.com</a><br>
                <br>
                FreeSWITCH-powered IP PBX: The CudaTel Communication
                Server<br>
                <a moz-do-not-send="true" href="http://www.cudatel.com"
                  target="_blank">http://www.cudatel.com</a><br>
                <br>
                Official FreeSWITCH Sites<br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
                <a moz-do-not-send="true" href="http://www.cluecon.com"
                  target="_blank">http://www.cluecon.com</a><br>
                <br>
                FreeSWITCH-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                  target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                UNSUBSCRIBE:<a moz-do-not-send="true"
                  href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                  target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>