I'm trying to execute javascript script in FreeSwitch, but i'm getting this error in freeswitch
switch_core_session.c:2697 Invalid Application javascript
Here is how did I included js in dialplan:
<action application="javascript" data="function.js"/>
Inside function.js:
console.log("Hello from the other side");
Also I added this in modules.conf.xml
<load module="mod_v8"/>
Can someone please help me? Tnx.