You most likely need to uncomment the line to load the v8 module in /etc/freeswitch/autoload_configs/modules.conf.xml You're going to run into a few other issues getting that pizza demo working (speaking from experience) depending on where you got the code for SpeechTools.jm. I don't remember all of them as it's been about a year since I went through that one, but you'll almost definitely need to add use('XML') to the top of your SpeechTools.jm On Wed, Dec 4, 2019 at 8:29 AM Shahnawaj Khan <shahnawaj.khan1990@gmail.com> wrote:
Hi,
I need to test freeswitch asr sample <extension name="pizza_demo"> <condition field="destination_number" expression="^(9711614454)$"/> <condition field="${module_exists(mod_v8)}" expression="true"/> <condition field="${module_exists(mod_pocketsphinx)}" expression="true"> <action application="javascript" data="ps_pizza.js"/> </condition> </extension> mod_v8 is required to run the javascript. It is not there by default, So i tried to compile it but facing the issue as.
./include/javascript.hpp:35:16: fatal error: v8.h: No such file or directory #include <v8.h>
Please let me know if anyone have faced the same issue and its resolution.
Thanks & Regards, shahnawaj
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com