This is the main object, and you use its methods to create all the other FreeSWITCH-related objects (see following). Also, it has a number of non-object-creating methods, the most important of which are as follows:
- freeswitch.consoleLog("warning","lua rocks ")
- freeswitch.bridge(session1, session2)
- freeswitch.msleep(500)
- my_globalvar = freeswitch.getGlobalVariable("varname")