mod_event_socket
This is the workhorse for FreeSWITCH's Event System interaction with the external world. mod_event_socket works in the most simple way: it opens a TCP socket, and listen for incoming connections. Multiple clients can connect and interact bidirectionally with the Event System via textual commands and responses.
In default configuration only connections to 127.0.0.1 loopback interface, unreachable from the network, are accepted by a network ACL. See below how to change this.
All communication is exchanged in clear text on the TCP socket, so if you want to connect from a remote machine, be sure to do it via a vpn or an ssh connection. Or have some form of encrypted middleware/proxy.
mod_event_socket accepts many different commands ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access