<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes, default behavior is correct and used in many cases.<br>
    <br>
    But it would be very flexible to set on B leg variable like
    ringback_start_after_180=true to control RBT<br>
    <br>
    DM<br>
    <br>
    <div class="moz-cite-prefix">On 09/23/2016 09:50 AM, Michael Jerris
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEwTsAi148oNuTPhGZiKDjUCWaGEOwPuVbb7hd3XamemS2exBQ@mail.gmail.com"
      type="cite">that's how it works by default, your doing something
      to make it do otherwise.<span></span><br>
      <br>
      On Thursday, September 22, 2016, Dmitry Mordovin &lt;<a
        moz-do-not-send="true" href="mailto:d.mordovin@dwide.com">d.mordovin@dwide.com</a>&gt;
      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"> My mistake, now ringback
          configured.<br>
          <br>
          I made tests for two cases, please see result.<br>
          <br>
          Case #1 - 180 message. Fake ringback start before recv 180
          message (~6sec difference)<br>
          Log<br>
          2016-09-22 22:36:38.964370 [NOTICE] switch_channel.c:1104 New
          Channel <a moz-do-not-send="true"
            href="javascript:_e(%7B%7D,'cvml','sofia/external/11111@1.1.1.1');"
            target="_blank">sofia/external/11111@1.1.1.1</a>
          [4df846e3-1c1e-4040-9a76-<wbr>33d73d5df91b]<br>
          2016-09-22 22:36:38.984374 [DEBUG] switch_ivr_originate.c:1342
          Play Ringback Tone [%(2000, 4000, 440.0, 480.0)]<br>
          2016-09-22 22:36:38.984374 [DEBUG]
          switch_core_state_machine.c:<wbr>621 (<a
            moz-do-not-send="true"
            href="javascript:_e(%7B%7D,'cvml','sofia/external/11111@1.1.1.1');"
            target="_blank">sofia/external/11111@1.1.1.1</a>) State
          CONSUME_MEDIA<br>
          ...<br>
          2016-09-22 22:36:44.024369 [NOTICE] sofia.c:7070 Ring-Ready <a
            moz-do-not-send="true"
            href="javascript:_e(%7B%7D,'cvml','sofia/external/11111@1.1.1.1');"
            target="_blank">sofia/external/11111@1.1.1.1</a>!<br>
          2016-09-22 22:36:44.024369 [DEBUG] switch_channel.c:3343 (<a
            moz-do-not-send="true"
            href="javascript:_e(%7B%7D,'cvml','sofia/external/11111@1.1.1.1');"
            target="_blank">sofia/external/11111@1.1.1.1</a>) Callstate
          Change DOWN -&gt; RINGING<br>
          <br>
          <br>
          Case #2 - 183 message with early media. Fake ringback play
          5sec and was replaced with early media from B leg<br>
          Log<br>
          2016-09-22 22:42:54.384371 [NOTICE] switch_channel.c:1104 New
          Channel <a moz-do-not-send="true"
            href="javascript:_e(%7B%7D,'cvml','sofia/external/22222@1.1.1.1');"
            target="_blank">sofia/external/22222@1.1.1.1</a>
          [3e7bcf68-a114-4cfd-9b37-<wbr>f440b5ff59c0]<br>
          2016-09-22 22:42:54.404374 [DEBUG] switch_ivr_originate.c:1342
          Play Ringback Tone [%(2000, 4000, 440.0, 480.0)]<br>
          2016-09-22 22:42:54.404374 [DEBUG]
          switch_core_state_machine.c:<wbr>621 (<a
            moz-do-not-send="true"
            href="javascript:_e(%7B%7D,'cvml','sofia/external/22222@1.1.1.1');"
            target="_blank">sofia/external/22222@1.1.1.1</a>) State
          CONSUME_MEDIA<br>
          ...<br>
          2016-09-22 22:42:59.404371 [NOTICE] sofia_media.c:92
          Pre-Answer <a moz-do-not-send="true"
            href="javascript:_e(%7B%7D,'cvml','sofia/external/22222@1.1.1.1');"
            target="_blank">sofia/external/22222@1.1.1.1</a>!<br>
          2016-09-22 22:42:59.404371 [DEBUG] switch_channel.c:3471 (<a
            moz-do-not-send="true"
            href="javascript:_e(%7B%7D,'cvml','sofia/external/22222@1.1.1.1');"
            target="_blank">sofia/external/22222@1.1.1.1</a>) Callstate
          Change DOWN -&gt; EARLY<br>
          <br>
          <br>
          For Case #1 - Does it possible configure ringback start play
          after 180 message received? (not before)<br>
          <br>
          <br>
          DM<br>
          <br>
          <br>
          <div>On 09/23/2016 02:26 AM, Michael Jerris wrote:<br>
          </div>
          <blockquote type="cite"> do you have the ringback var set?
            <div><br>
            </div>
            <div><br>
            </div>
            <div>like in this example </div>
            <div><br>
            </div>
            <div><a moz-do-not-send="true"
href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+ring_ready"
                target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>mod_dptools%3A+ring_ready</a></div>
            <div><br>
              <div>
                <blockquote type="cite">
                  <div>On Sep 22, 2016, at 6:18 PM, Dmitry Mordovin &lt;<a
                      moz-do-not-send="true"
                      href="javascript:_e(%7B%7D,'cvml','d.mordovin@dwide.com');"
                      target="_blank">d.mordovin@dwide.com</a>&gt;
                    wrote:</div>
                  <br>
                  <div>
                    <div>Hello!<br>
                      <br>
                      Don't know what to do in case when no early
                      media...<br>
                      <br>
                      Simplest dialplan configuration<br>
                      <br>
                      &lt;action application="answer"/&gt;<br>
                      &lt;action application="set"
                      data="ignore_early_media=<wbr>false" /&gt;<br>
                      &lt;action application="set"
                      data="hangup_after_bridge=<wbr>true" /&gt;<br>
                      <br>
                      &lt;action application="bridge"
                      data="sofia/gateway/GW-1/<wbr>111111@gw-1"/&gt;<br>
                      <br>
                      &lt;action application="playback"
                      data="subscriber_not_reached.<wbr>mp3"/&gt;<br>
                      &lt;action application="hangup"/&gt;<br>
                      <br>
                      Sometimes recv 183 with early media (rings)<br>
                      Sometimes, 180 without early media<br>
                      <br>
                      In last case, A leg hear silence instead alerting.<br>
                      <br>
                      Does it possible to generate tone if no early
                      media?<br>
                      <br>
                      Thnaks<br>
                      DM<br>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br>
            </div>
            <br>
            <fieldset></fieldset>
            <br>
            <pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services: 
<a moz-do-not-send="true" href="javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
          </blockquote>
          <br>
        </div>
      </blockquote>
      <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>

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://confluence.freeswitch.org">http://confluence.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>