<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-2">
  </head>
  <body>
    <div class="source-footer-wrap source-or-target-footer">
      <div class="source-input-tools" id="gt-input-tool">
        <div id="itamenu"><span class="ita-kd-inputtools-div"></span></div>
      </div>
    </div>
    <p><span class="tlid-translation translation" lang="en"><span
          title="">Hello,</span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="">I need to hang up the b-leg of the answered call,
          play the message to a-leg, and dial a new b-leg after a while
          when message is still playing.</span> <span title="">How to
          achieve this, please?</span></span></p>
    <p><span class="tlid-translation translation" lang="en"></span></p>
    <span class="tlid-translation translation" lang="en"><span title=""
        class="">I tried to use ring_ready, but it won't start playing
        until the new b-leg starts ringing.</span></span><span
      class="tlid-translation translation" lang="en"><span title=""
        class=""><br>
        Any recommendations so I don't have to manage sessions manually?</span></span><span
      class="tlid-translation translation" lang="en"><span title=""
        class=""><span class="tlid-translation translation" lang="en"><span
            title="" class=""><br>
          </span></span></span></span>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class=""><span class="tlid-translation translation"
            lang="en"><span title="" class="">Everything will be clearer
              from the following dialplan.</span> <span title=""
              class="">I need the message to start playing right at
              ring_ready and not when the callee2 starts ringing:</span></span></span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class=""><font face="monospace"><action
            application='set' data='hangup_after_bridge=false'/><br>
            <action application='set'
            data='execute_on_answer=sched_hangup +10 normal_clearing
            bleg'/><br>
            <action application='bridge'
            data='sofia/gateway/server/callee1'/><br>
            <action application='set'
            data='ringback=local_stream://message'/><br>
            <action application='ring_ready'/><br>
            <action application='sleep' data='10000'/><br>
            <action application='set'
            data='ignore_early_media=true'/><br>
            <action application='bridge'
            data='sofia/gateway/server/callee2'/><br>
            <action application='hangup'/></font><br>
        </span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">Best regards,</span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">kokoska.rokoska<br>
        </span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class=""></span></span></p>
    <p><br>
    </p>
  </body>
</html>