You need read():<div><a href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Read">http://www.voip-info.org/wiki/view/Asterisk+cmd+Read</a></div><div><br></div><div><a href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Read"></a>It's as easy as:</div>
<div><br></div><div>exten => s,n,Read(variable,,11)</div><div>exten => s,n,NoOp(${variable})</div><div><br></div><div>Above will take up to 11 digits input by user and will display it back in NoOP on Asterisk CLI.</div>
<div><br></div><div>-Bruce<br><br><div class="gmail_quote">On Sat, Jul 10, 2010 at 2:16 PM, eyal goltzman <span dir="ltr"><<a href="mailto:egoltzman@gmail.com">egoltzman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr"><div>Hi,</div><div>I want to dial a party, play him a message and wait for his input, i.e. DTMF digits and use them to control the rest of the dial plan.</div><div><br></div><div>How do I do it?</div><div>
<br>
</div><div>If I use Dial it will not return until the end of the call, isn't it?</div><div><br></div><div>Thanks,</div><div><br></div><div>Eyal</div><br>
</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>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>