Summary
In this chapter, we've looked at the rationale for scripting in FreeSWITCH (is a complement to XML dialplan for anything complex), and the many languages that FreeSWITCH supports.
Then we used Lua, because of its popularity in the FreeSWITCH community, as an example scripting language.
We looked at all the objects FreeSWITCH makes available to Lua scripting, and how to use them, then we rewrote in Lua the XML demo IVR we looked at in the previous chapter, as an example of a real-world extensible application.
In the next chapter, we'll look at how to go the next level with XML dialplan, having a deep look into the concepts we barely scratched before.