vosk-asterisk icon indicating copy to clipboard operation
vosk-asterisk copied to clipboard

Install Vosk-Asterisk Module in Freepbx

Open joshepthetrader opened this issue 3 years ago • 10 comments

Theres a way to use the res_speech_vosk.so in FreePbx? i tried to compile but is not working

joshepthetrader avatar Aug 02 '21 16:08 joshepthetrader

I had limited success in this, meaning I could only get audio out from freepbx to the vosk server if they were the same machine, which severely limited my options.

On Mon, Aug 2, 2021 at 11:34 AM joshepthetrader @.***> wrote:

Theres a way to use the res_speech_vosk.so in FreePbx? i tried to compile but is not working

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alphacep/vosk-asterisk/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACWXBOFYPRV2FNDWG7TVOTT23CHRANCNFSM5BNCUFTQ .

-- JP Bader President Next Health Choice, LLC www.nexthealthchoice.com @nxthealthchoice | 312-614-1267

lordB8r avatar Aug 03 '21 17:08 lordB8r

Theres a way to use the res_speech_vosk.so in FreePbx? i tried to compile but is not working

It is the same asterisk, you just point asterisk path in configure and it should build.

Let us know what is the problem you've met.

nshmyrev avatar Aug 03 '21 18:08 nshmyrev

freepbx to the vosk server if they were the same machine, which severely

You'd better open another issue, it doesn't seem related to original problem.

nshmyrev avatar Aug 03 '21 18:08 nshmyrev

Could someone forward the commands to compile on FreePBX?

jersonjunior avatar Oct 08 '21 14:10 jersonjunior

I installed the package using yum install asterisk-devel, and run ./configure --with-asterisk=/usr/lib64/asterisk/modules --prefix=/usr/include/asterisk

I get the following error:

configure: error: patch is required to configure bundled pjproject

jersonjunior avatar Oct 08 '21 14:10 jersonjunior

configure: error: patch is required to configure bundled pjproject

It says you need "patch" binary. You can instal it with yum.

nshmyrev avatar Oct 08 '21 14:10 nshmyrev

https://community.asterisk.org/t/compiling-asterisk-15-1-5-on-centos-7-4/73057

nshmyrev avatar Oct 08 '21 14:10 nshmyrev

https://community.asterisk.org/t/compiling-asterisk-15-1-5-on-centos-7-4/73057

Now it worked, but I'm noticing that you're recompiling all the asterisk modules, you wouldn't need only the vosk-asterisk module?

jersonjunior avatar Oct 08 '21 15:10 jersonjunior

that you're recompiling all the asterisk modules, you wouldn't need only the vosk-asterisk module?

Sorry, I have no idea what are you asking about. You'd better describe with technical details.

nshmyrev avatar Oct 08 '21 15:10 nshmyrev

that you're recompiling all the asterisk modules, you wouldn't need only the vosk-asterisk module?

Sorry, I have no idea what are you asking about. You'd better describe with technical details.

I messed up when compiling, I managed to compile on FreePBX, thanks for your attention...

jersonjunior avatar Oct 08 '21 15:10 jersonjunior