[Freeswitch-users] Unable to compile mod_v8

Shahnawaj Khan shahnawaj.khan1990 at gmail.com
Wed Dec 4 16:28:38 UTC 2019


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



More information about the FreeSWITCH-users mailing list