I went through this a couple of weeks ago, and found that this
particular example is the most straightforward way to get things
working end-to-end. I just chose to implement the Hello World Lua
script instead.
http://wiki.freeswitch.org/wiki/Examples_directory_lua_asr_tts