You can use setInputCallback. I covered this pretty well in the FreeSWITCH "bridge" book in chapter 7. There's also a bit of documentation on the wiki here: <a href="http://wiki.freeswitch.org/wiki/Lua#session:setInputCallback">http://wiki.freeswitch.org/wiki/Lua#session:setInputCallback</a><br>
<br>-MC<br><br><div class="gmail_quote">On Tue, Apr 3, 2012 at 11:43 AM, adam harris <span dir="ltr"><<a href="mailto:admharris@gmx.com">admharris@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How can I set to recevice dtmf events for a timed period in lua. I want to evaluate each key press so this requires consuming events or callback I would guess. Any sugesstions or examples<br><br></blockquote></div>