mod_quckjs

This module was originally designed to recover IVRs functionality, following the replacement of mod_spidermonkey with mod_v8 under the Freeswitch.
QuickJS was chosen due to its fast script startup, good performance, and memory efficiency, I use JavaScript for writing calls processing applications (IVR, dialers, and so on) and these criterias quite important.
Despite infrequent commits, this module is constantly involved and gained new features gradually.
I'm primarily interested in the capabilities related with processing audio/video, data operation, and ML (within keeping lightweight and performance).

This is an open-source project and available with examples on GitHUB


Documentations:

preparing...


Built-in classes:


Examples:

Dialplan example:

        
<extension name="quickjs-test">
 <condition field="destination_number" expression="^(12345)$" >
  <action application="qjs" data="my-scrips.js arg1 arg2 argr3"/>
</condition>
</extension>