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: http://wiki.freeswitch.org/wiki/Lua#session:setInputCallback

-MC

On Tue, Apr 3, 2012 at 11:43 AM, adam harris <admharris@gmx.com> wrote:
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