It depends on what&#39;s happening on the other end. In many cases a bridge or a fifo will be sufficient to handle the ringing on the A leg and the connecting the B leg. <div><br></div><div>What&#39;s the application?</div>
<div>-MC<br><br><div class="gmail_quote">On Wed, Nov 24, 2010 at 9:49 AM, Steve Richardson <span dir="ltr">&lt;<a href="mailto:steve@comrex.com">steve@comrex.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  

    
  
  <div text="#000000" bgcolor="#ffffff">
    <font size="2">Hello,<br>
      <br>
      I am attempting to use the dialplan ring_ready and sleep
      applications as follows (from my public.xml file):<br>
      <br>
    </font><font size="2"><tt>  &lt;extension name=&quot;foo&quot;&gt;<br>
            &lt;condition field=&quot;destination_number&quot;
        expression=&quot;5551234567&quot;&gt;<br>
              &lt;!-- indicate ringing to the caller for a configurable
        amount of time (in ms)--&gt;<br>
              &lt;action application=&quot;ring_ready&quot; /&gt;<br>
              &lt;action application=&quot;sleep&quot; data=&quot;30000&quot;/&gt;<br>
        <br>
              &lt;!-- hang up if no answer (goes busy after?) --&gt;<br>
              &lt;action application=&quot;hangup&quot; data=&quot;NO_ANSWER&quot;/&gt;<br>
            &lt;/condition&gt;<br>
           &lt;/extension&gt;</tt></font><font size="2"><br>
      <br>
      My intent is to have the incoming call in the ring state for up to
      30 seconds, during which time I would like to issue API commands
      from my custom application (which is using the event socket
      interface) to transfer the call to various places.<br>
      <br>
      The issue that I&#39;m having is that the sleep seems to be
      non-interruptable.  If I try to issue a uuid_transfer command to
      transfer the sleeping channel somewhere, it seems the sleep timer
      has to expire before it will transfer.  Similarly, if the caller
      disconnects, the channel stays around until the sleep timer
      expires, and then it is destroyed.<br>
      <br>
      Is there some way to wake a sleeping channel out of sleep?  I&#39;ve
      looked for anything obvious and tried a number of things to no
      avail.  Alternately, is there a better way to approach this?<br>
      <br>
      thanks,<br>
      Steve<br>
      <br>
    </font>
  </div>

<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>