[Freeswitch-users] Unable to compile mod_v8

Ciprian Dosoftei ciprian.dosoftei at gmail.com
Thu Dec 5 04:15:34 UTC 2019


Shahnawaj --

Make sure you have libv8-dev installed on the machine you're building the
module (and libv8 on the machines where you use the module).

-C

On Wed, Dec 4, 2019, 4:05 PM Sean DiSanti <sdisanti.eteleco at gmail.com>
wrote:

> 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 at 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 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191204/bd3bc07e/attachment-0001.html>


More information about the FreeSWITCH-users mailing list