alphacep / vosk-asterisk

Speech Recognition in Asterisk with Vosk Server
GNU General Public License v2.0
101 stars 41 forks source link

Install Vosk-Asterisk Module in Freepbx #17

Open joshepthetrader opened 3 years ago

joshepthetrader commented 3 years ago

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

lordB8r commented 3 years ago

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

nshmyrev commented 3 years ago

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 commented 3 years ago

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.

jersonjunior commented 2 years ago

Could someone forward the commands to compile on FreePBX?

jersonjunior commented 2 years ago

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

nshmyrev commented 2 years ago

configure: error: patch is required to configure bundled pjproject

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

nshmyrev commented 2 years ago

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

jersonjunior commented 2 years ago

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?

nshmyrev commented 2 years ago

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.

jersonjunior commented 2 years ago

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...