The first version was written to resolve troubles which comes after replacing mod_spidermonreto to mod_v8 in the Freeswitch.
The IVR and other scripts which based on the first one stopped working, my customers and I faced with it those days.
While searching for solutions, we came across QuickJS and decided to try it.
As time went on, new tasks emerged and the module acquired new functionality.
And as it turned out later, this modules is quite convenient for testing ideas and quickly building prototypes.
This is an open-source project and available on GitHUB
Allows to use libraries in the scripts
Allows to load and run scripts when the module started
For long operations in the console bg execution quite useful
Cli commands for list/break the scripts
This is the most interesting class that allows to perform various manipulations with sessions.
Allow to create codec instance for encode/decode streams.
Provides methods to arrange chats using freeswitch chat api.
Allows the scripts have realtime interaction with the users (for example over WebRTC/SIP).
Provides methods to work with Freeswitch CoreDB.
Provides methods to work with various databases over Freeswitch DBH api.
Allows interact with foreing systems over HTTP.
Provides a quite rich set of parameters for setting up communication.
JsonRPC client, allows to call web-services from the scripts.
Allows to create client/server sockets and interact with ones.
Provides a quite rich methods for operate with files / directories.
Allows to create and send Freeswitch events.
Allows to operate with Freeswitch fileHandle (playback contor, etc).
Provides methods for XML operations (over Freeswitch XML api).
under development...