Hello Kirill,<div><br></div><div>Can you set the debug level? </div><div><br></div><div>&quot;fsctl loglevel debug&quot;</div><div><br></div><div>Also:</div><div><br></div><div>2012-09-13 13:46:09.332094 [DEBUG] sofia.c:6051 Channel <a href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">sofia/onnet/78120000000@y.y.y.y</a> skipping state [early][183]
</div><div><br></div><div>Might be preventing you from getting the annoucement, try:</div><div><br></div><div><span style="font-family:sans-serif;font-size:12.499999046325684px;line-height:19.039350509643555px;background-color:rgb(255,255,255)">bridge_early_media=true</span>
</div><div><span style="font-family:sans-serif;font-size:12.499999046325684px;line-height:19.039350509643555px;background-color:rgb(255,255,255)"><br></span></div><div><span style="font-family:sans-serif;font-size:12.499999046325684px;line-height:19.039350509643555px;background-color:rgb(255,255,255)">and remove de hangup</span></div>

<div><br></div><div>hangup_after_bridge=true </div><div><br></div><div>And try again..</div><div><br></div><div>I think FS considers receiving early media as a successful bridge... not sure though.</div><div><br></div><div>

<br></div><div><br></div><div><br></div><div>David<br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 12:14 PM, Kirill Sysoev <span dir="ltr">&lt;<a 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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi David!<br>
      <br>
      Thank you for your answer!<br>
      <br>
      It doesn&#39;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 (&quot;Cancel&quot; 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&#39;s report (
      <a href="http://jira.freeswitch.org/browse/FS-4232" target="_blank">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=&quot;destination_number&quot;
      expression=&quot;^(8921\d{7}|8931\d{7})$&quot;&gt;<div class="im"><br>
          &lt;action application=&quot;set&quot;
      data=&quot;hangup_after_bridge=true&quot;/&gt;<br></div>
              &lt;action application=&quot;set&quot;
data=&quot;continue_on_fail=CALL_REJECTED,NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION&quot;/&gt;<br>
              &lt;action application=&quot;bridge&quot;
      data=&quot;sofia/gateway/gw1/$1&quot;/&gt;<br>
              &lt;action application=&quot;bridge&quot;
      data=&quot;sofia/gateway/gw2/$1&quot;/&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 href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">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 href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">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 href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">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 href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">sofia/onnet/78120000000@y.y.y.y</a> [BREAK]<br>
      2012-09-13 13:46:09.332094 [DEBUG] sofia.c:6051 Channel
      <a href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">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 href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">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 href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">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 href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">sofia/onnet/78120000000@y.y.y.y</a> [BREAK]<br>
      EXECUTE <a href="mailto:sofia/onnet/78120000000@y.y.y.y" target="_blank">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 пишет:<br>
    </div><div><div class="h5">
    <blockquote 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-size:12.499999046325684px;font-family:arial,sans-serif">&lt;action
          application=&quot;set&quot; </span><span style="color:rgb(34,34,34);font-size:12.499999046325684px;font-family:arial,sans-serif">data=&quot;continue_on_fail=1,2,3,</span><span style="color:rgb(34,34,34);font-size:12.499999046325684px;font-family:arial,sans-serif">6,25,34,38,41,42,44,47,63,66,</span><span style="color:rgb(34,34,34);font-size:12.499999046325684px;font-family:arial,sans-serif">500,501&quot;/&gt;</span> </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-size:12.499999046325684px;font-family:arial,sans-serif">&lt;action
          application=&quot;set&quot; </span><span style="color:rgb(34,34,34);font-size:12.499999046325684px;font-family:arial,sans-serif">data=&quot;</span><span style><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&quot;/&gt;</span></font></span> </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 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 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 &quot;true&quot;, but
            it&#39;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 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>
              <div><br>
_________________________________________________________________________<br>
                Professional FreeSWITCH Consulting Services:<br>
                <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
                <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
                <br>
                FreeSWITCH-powered IP PBX: The CudaTel Communication
                Server<br>
                <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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" target="_blank">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>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </div></div></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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br></div>