that&#39;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 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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sofia/external/11111@1.1.1.1&#39;);" 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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sofia/external/11111@1.1.1.1&#39;);" 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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sofia/external/11111@1.1.1.1&#39;);" target="_blank">sofia/external/11111@1.1.1.1</a>!<br>
    2016-09-22 22:36:44.024369 [DEBUG] switch_channel.c:3343
    (<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sofia/external/11111@1.1.1.1&#39;);" 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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sofia/external/22222@1.1.1.1&#39;);" 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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sofia/external/22222@1.1.1.1&#39;);" 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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sofia/external/22222@1.1.1.1&#39;);" target="_blank">sofia/external/22222@1.1.1.1</a>!<br>
    2016-09-22 22:42:59.404371 [DEBUG] switch_channel.c:3471
    (<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;sofia/external/22222@1.1.1.1&#39;);" 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 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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;d.mordovin@dwide.com&#39;);" target="_blank">d.mordovin@dwide.com</a>&gt;
              wrote:</div>
            <br>
            <div>
              <div>Hello!<br>
                <br>
                Don&#39;t know what to do in case when no early media...<br>
                <br>
                Simplest dialplan configuration<br>
                <br>
                &lt;action application=&quot;answer&quot;/&gt;<br>
                &lt;action application=&quot;set&quot;
                data=&quot;ignore_early_media=<wbr>false&quot; /&gt;<br>
                &lt;action application=&quot;set&quot;
                data=&quot;hangup_after_bridge=<wbr>true&quot; /&gt;<br>
                <br>
                &lt;action application=&quot;bridge&quot;
                data=&quot;sofia/gateway/GW-1/<wbr>111111@gw-1&quot;/&gt;<br>
                <br>
                &lt;action application=&quot;playback&quot;
                data=&quot;subscriber_not_reached.<wbr>mp3&quot;/&gt;<br>
                &lt;action application=&quot;hangup&quot;/&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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a>

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

FreeSWITCH-users mailing list
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </div>

</blockquote>