Skip to main content

Part 12: Programming with the Event Socket and Scripting

The integration chapters showed how to configure the Event Socket and the scripting modules. This part shows how to program with them. It covers FreeSWITCH's event model and a catalog of the events you will consume, the two Event Socket modes — inbound (your code connects to FreeSWITCH) and outbound (FreeSWITCH connects to your code) — and the embedded scripting APIs for driving a call from Lua or JavaScript. It is a developer's companion to the reference, focused on the programmable surface rather than the configuration.