UniMRCP modules for Asterisk are not loaded

186 views
Skip to first unread message

Julián García

unread,
Apr 16, 2020, 10:06:16 AM4/16/20
to UniMRCP
Hi,

My environment:
- CentOS 7
- Linux kernel: 3.10.0-1062.18.1.el7.x86_64
- Asterisk: 17.3.0
- UniMRCP: 1.7.0 (deps 1.6.0)

And then, I try to install Asterisk modules like this manual: http://unimrcp.org/manuals/html/AsteriskInstallationManual.html

I complete this steps without errors: git clone, ./bootstrap, ./configure, make, make install.

However, when I check if the UniMRCP modules are loaded:

Connected to Asterisk 17.3.0 currently running on ip-171-31-38-121 (pid = 2990)
ip-171-31-38-121*CLI> module show like res_speech_unimrcp.so
Module                         Description                              Use Count  Status      Support Level
0 modules loaded
ip-171-31-38-121*CLI> module show like app_unimrcp.so
Module                         Description                              Use Count  Status      Support Level
0 modules loaded
ip-171-31-38-121*CLI> module show like mrcp
Module                         Description                              Use Count  Status      Support Level
0 modules loaded

Why does this happens?

Thank you.

Vahagn Kocharyan

unread,
Apr 16, 2020, 2:23:47 PM4/16/20
to uni...@googlegroups.com
HI Julian 
i must 
enter  to asterisk-unimrcp directory and 
./bootstrap
 ./configure --prefix=your asterisk modules directory
thanks


--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/deb4195f-4fa7-4b84-ab3e-17045b789fb7%40googlegroups.com.

Julián García

unread,
Apr 17, 2020, 2:38:44 AM4/17/20
to UniMRCP
Thank you Vahagn, but I see the same (0 modules loaded). However, I see both modules in the directory (/usr/lib/asterisk/modules).

./configure report:

****************************** REPORT ******************************

Asterisk version.............. : 17.3.0
UniMRCP version............... : 1.7.0
UniMRCP modules version....... : 1.7.0

Compiler...................... : gcc
Compiler flags................ : -g -O2
Preprocessor definitions...... :
Linker flags.................. :

Modules install path...........: /usr/lib/asterisk/modules
Configuration install path.....: /etc/asterisk
XML doc install path...........: /var/lib/asterisk/documentation/thirdparty

Speech resource module.........: yes
Application module.............: yes

********************************************************************
To unsubscribe from this group and stop receiving emails from it, send an email to uni...@googlegroups.com.

Vahagn Kocharyan

unread,
Apr 17, 2020, 4:01:02 AM4/17/20
to uni...@googlegroups.com
try  "module load  app_unimrcp.so" and "module load  res_speech_unimrcp.so" in asterisk cli

To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/c2b5d625-e845-460f-8456-27303ec22c25%40googlegroups.com.

Julián García

unread,
Apr 17, 2020, 4:17:07 AM4/17/20
to UniMRCP
That's the question. When I try to load modules in asterisk cli, it try to load path /usr/lib64/asterisk/modules, but the unimrcp's modules are in /usr/lib/asterisk/modules.

Is it correct to copy from lib to lib64?

Either way, I do it and they are loaded now (with some warnings...).

Thank you very, very much.

Vahagn Kocharyan

unread,
Apr 17, 2020, 4:39:23 AM4/17/20
to uni...@googlegroups.com
yes..
/bootstrap
 ./configure --prefix=/usr/lib64/asterisk/modules


To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/f8432996-b6ab-443d-9231-8b35a15c60ac%40googlegroups.com.

Vahagn Kocharyan

unread,
Apr 17, 2020, 4:44:25 AM4/17/20
to uni...@googlegroups.com
it seems that your modules path is  /usr/lib64/asterisk/modules.. configure again and all will work

Julián García

unread,
Apr 17, 2020, 4:47:34 AM4/17/20
to UniMRCP
Yes, it works! But configure prefix not. Only copying the modules' files. I think it's the same.
yes..
/bootstrap
 ./configure --prefix=/usr/lib64/asterisk/modules


Vahagn Kocharyan

unread,
Apr 17, 2020, 4:50:17 AM4/17/20
to uni...@googlegroups.com
fine

To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/b11b2653-833e-46af-a18f-779ee2610b91%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages