This is not really a dev question but,<br><br>Rather then doing a Dial(SIP/123) or Dial(DAHDI/123) try doing a dial on a local channel, eg Dial(Local/123@mylocalcontext)<br><br>Then in [mylocalcontext] you would pattern match the incoming digits and then subsequently at this point do the dial you had originally Dial(SIP/123) or whatever it was, now once the dial exists (presuming the caller and not the callee hangs up) it will continue to process the next step in the dialplan.  This is where you would write your ivr, go goto your ivr context, etc.<br>

<br>Next time try asking in asterisk-users.<br><br>Donny<br><br><div class="gmail_quote">On Thu, Apr 15, 2010 at 12:00 PM, Harel Cohen <span dir="ltr">&lt;<a href="mailto:harel@easycall.gi">harel@easycall.gi</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">












<div link="blue" vlink="purple" lang="EN-US">

<div dir="RTL">

<p class="MsoNormal" dir="LTR" style="text-align: left; direction: ltr;"><font face="Baskerville Old Face" size="3"><span style="font-size: 12pt; font-family: &quot;Baskerville Old Face&quot;;">Hi,</span></font></p>

<p class="MsoNormal" dir="LTR" style="text-align: left; direction: ltr;"><font face="Baskerville Old Face" size="3"><span style="font-size: 12pt; font-family: &quot;Baskerville Old Face&quot;;">How can I leave the voice channel open for
the <span>callee</span> after call is <span>hangup</span>
by the caller? I need to play IVR options to the <span>callee</span>.</span></font></p>

<p class="MsoNormal" dir="LTR" style="text-align: left; direction: ltr;"><font face="Baskerville Old Face" size="3"><span style="font-size: 12pt; font-family: &quot;Baskerville Old Face&quot;;">I&#39;ve <span>googled</span> this
topic and found nothing. There is this thread: </span></font><a href="http://lists.digium.com/pipermail/asterisk-dev/2005-December/017391.html" target="_blank">http://lists.digium.com/pipermail/asterisk-dev/2005-December/017391.html</a>
but it was not resolved there. I also tried using the &#39;h&#39; extension but after <span>hangup</span> the voice channel is closed at this point.</p>

<p class="MsoNormal" dir="LTR" style="text-align: left; direction: ltr;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Thanks
in advance,</span></font></p>

<p class="MsoNormal" dir="LTR" style="text-align: left; direction: ltr;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Harel</span></font><font face="Baskerville Old Face"><span style="font-family: &quot;Baskerville Old Face&quot;;"></span></font></p>



</div>

</div>


<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br>