error installing asterisk-app-unimrcp

508 views
Skip to first unread message

Cristian Muraca

unread,
Aug 2, 2018, 8:48:22 AM8/2/18
to UniMRCP
executed stesp: Unimrcp Installation

1.sudo apt-get install unimrcp-client
2.sudo apt-get install unimrcp-server
3.sudo apt-get install unimrcp-gss
4.sudo apt-get install unimrcp-gsr
launched server ok
launched client ok
5. test ./umc --> run bss1 .. ok

6.installation asterisk: sudo apt-get install asterisk-app-unimrcp ok
7.started asterisk ok
8.launched asterisk cli ok
9.loading app_unimrcp module: module load app_unimrcp KO

error:


*CLI> module load app_unimrcp
Unable to load module app_unimrcp
Command 'module load app_unimrcp' failed.
[Aug 2 09:00:11] WARNING[9430]: loader.c:970 inspect_module: Module 'app_unimrcp.so' was not compiled with the same compile-time options as this version of Asterisk.
[Aug 2 09:00:11] WARNING[9430]: loader.c:971 inspect_module: Module 'app_unimrcp.so' will not be initialized as it may cause instability.
[Aug 2 09:00:11] WARNING[9430]: loader.c:1061 load_resource: Module 'app_unimrcp' could not be loaded.
vox*CLI>

Arsen Chaloyan

unread,
Aug 2, 2018, 3:00:55 PM8/2/18
to UniMRCP
> 6.installation asterisk: sudo apt-get install asterisk-app-unimrcp o

The packages asterisk-app-unimrcp or asterisk-res-speech-unimrcp have dependencies from the Asterisk core packages, which are normally installed implicitly with the installation of one of the two modules. However, in your case, I guess there was another version of Asterisk installed either from source or any other distribution. And this where the incompatibility comes from.

You may continue using the version of Asterisk you had installed by compiling the UniMRCP modules for Asterisk from source. Consider the following procedure

    sudo apt-get install unimrcp-client-dev
    wget --content-disposition "http://www.unimrcp.org/fetch.php?component=asterisk-unimrcp&version=1.5.1&os=linux"
    tar zxvf asterisk-unimrcp-1.5.1.tar.gz
    cd asterisk-unimrcp-1.5.1
    ./configure --with-unimrcp=/opt/unimrcp
    make
    sudo make install




--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

Cristian Muraca

unread,
Aug 6, 2018, 4:13:25 PM8/6/18
to uni...@googlegroups.com
Hi Arsen,
thanks a lot for reply.
I do not have any other version of Asterisk installed on my machine. I executed the steps I reported in my previous post. Any other suggestions?
Any help is appraciated.

To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

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

Cristian Muraca

unread,
Aug 6, 2018, 4:24:46 PM8/6/18
to uni...@googlegroups.com
I just reinstalled with the command 

"sudo apt-get install asterisk-app-unimrcp"


image.png

as showed in the screenshot the modification date for the "app_unimrcp.so" file is different from that of the other fiiles.
Please help, I would test the asterisk + unimrcp integration, but I not yet started.

Arsen Chaloyan

unread,
Aug 6, 2018, 9:25:56 PM8/6/18
to UniMRCP
> I just reinstalled with the command "sudo apt-get install asterisk-app-unimrcp"

And the server logs show, the only package that you have installed from asterisk-13 apt repository located at unimrcp.org is asterisk-app-unimrcp. This means the other Asterisk packages were installed from other place.

You may use the command

apt policy <package-name>

to identify the repository a package is installed from. This is your system and I can only guess after all.

In my previous mail, I already provided you with the instructions that would be most straightforward to follow in your case.

Cristian Muraca

unread,
Aug 26, 2018, 12:14:59 PM8/26/18
to uni...@googlegroups.com
Hi, 
I started work on Unimrcp demo after almost a month. I create a new Ubuntu VM virtualbox. I reinstall  all package ex novo

1.sudo apt-get install unimrcp-client
2.sudo apt-get install unimrcp-server
3.sudo apt-get install unimrcp-gss
4.sudo apt-get install unimrcp-gsr
launched server ok
launched client ok 
5. test ./umc --> run bss1 .. ok 


6.installation asterisk: sudo apt-get install asterisk-app-unimrcp ok
7.started asterisk ok
8.launched asterisk cli ok
9.loading  app_unimrcp module: module load app_unimrcp  KO



on a fresh new installation ...

 so I can't understand your previous reply:

"And the server logs show, the only package that you have installed from asterisk-13 apt repository located at unimrcp.org is asterisk-app-unimrcp. This means the other Asterisk packages were installed from other place."


Please I need help to go farward on this demo project.

Many  Thanks in advance.

Arsen Chaloyan

unread,
Aug 28, 2018, 7:43:40 PM8/28/18
to UniMRCP
Hi Cristian,

Did you try the procedure I recommended in one of my previous replies to you.

I truly tried to help you and unfortunately do not have anything new to add.

Cristian Muraca

unread,
Aug 29, 2018, 2:09:31 AM8/29/18
to uni...@googlegroups.com
Hi Arsen,
thanks a lot for replay.
in previuos posts you say "And this where the incompatibility comes from." I would know where the incompatibiliity is: virtualbox installation? ubuntu 18.04? Asterisk previous installation (there aren't).

as last chance I would retry your procedures (I'm quite sure I jet tryed with some problems, but I will retry asap).
 sudo apt-get install unimrcp-client-dev
    wget --content-disposition "http://www.unimrcp.org/fetch.php?component=asterisk-unimrcp&version=1.5.1&os=linux"
    tar zxvf asterisk-unimrcp-1.5.1.tar.gz
    cd asterisk-unimrcp-1.5.1
    ./configure --with-unimrcp=/opt/unimrcp
    make
    sudo make install

I wonder to know if I the only one who had this problems?? 

Thanks a lot, any other suggestion to move farward, is appraciated.

Cristian.




Arsen Chaloyan

unread,
Aug 29, 2018, 11:15:39 PM8/29/18
to UniMRCP
Hi Cristian,

> in previuos posts you say "And this where the incompatibility comes from." I would know where the incompatibiliity is: virtualbox installation? ubuntu 18.04? Asterisk previous installation (there aren't).

If you are on Ubuntu 18.04, then we can go no further. UniMRCP packages are built for Ubuntu 16.04, and this is clearly referenced in the installation guides for all the binary packages.

> as last chance I would retry your procedures (I'm quite sure I jet tryed with some problems, but I will retry asap).

You should consider building Asterisk and UniMRCP modules from source as I described.

> I wonder to know if I the only one who had this problems??

If you look through other discussions, you may find similar posts. Perhaps your problem is strictly in the version of Ubuntu.

Cristian Muraca

unread,
Sep 1, 2018, 11:26:14 AM9/1/18
to uni...@googlegroups.com
Thanks for reply, 
So I have no choice, I will use ubuntu 16.04. Is there a  minestone for Ubuntu 18.40 packages?
tkanks a lot. 


Cristian Muraca

unread,
Sep 2, 2018, 10:09:28 AM9/2/18
to uni...@googlegroups.com
Hi Arsen,

I reinstalled unimrcp on Ubuntu 16.04:
1.sudo apt-get install unimrcp-client
2.sudo apt-get install unimrcp-server
3.sudo apt-get install unimrcp-gss
4.sudo apt-get install unimrcp-gsr
5 installation asterisk: sudo apt-get install asterisk-app-unimrcp

But when I try to call the extension I obtain the following error:


[Sep  2 15:52:09] WARNING[12061]: loader.c:530 load_dynamic_module: Error loading module 'res_rtp_asterisk.so': /usr/lib/asterisk/modules/res_rtp_asterisk.so: cannot open shared object file: No such file or directory
[Sep  2 15:52:09] WARNING[12061]: loader.c:1054 load_resource: Module 'res_rtp_asterisk.so' could not be loaded.
       > Saved useragent "Z 5.2.19 rv2.8.99" for peer 6001


thanks a lot.

Arsen Chaloyan

unread,
Sep 4, 2018, 9:02:54 PM9/4/18
to UniMRCP
Hi Cristian,

The module res_rtp_asterisk.so is not included in the binary distribution of Asterisk for Ubuntu. I had already suggested the route that you should take.

Cristian Muraca

unread,
Sep 22, 2018, 9:03:49 AM9/22/18
to uni...@googlegroups.com
Hi Arsen,
sorry for delay of my reply, but I can work on this unimrcp poc only in my etra time: I set up a 16.04 ubuntu machine and old problems seem solved.
But now, when I start unimrcp server I obtain the following warning in my log:

2018-09-22 15:00:48:183897 [NOTICE] Determined License File /opt/unimrcp/data/umsgss_35eb5ef7-137e-4574-8007-7f83d23eaa15.lic
2018-09-22 15:00:48:183951 [NOTICE] Determined Credentials File /opt/unimrcp/data/My Project 12430-e279f95e2449.json
2018-09-22 15:00:48:183996 [INFO]   Open Engine [Demo-Verifier-1]
2018-09-22 15:00:48:184004 [INFO]   Start Task [Demo Verifier Engine]
2018-09-22 15:00:48:184027 [INFO]   Start Task [SIP-Agent-1]
2018-09-22 15:00:48:184058 [INFO]   Start Task [RTSP-Agent-1]
2018-09-22 15:00:48:184090 [INFO]   Start Task [MRCPv2-Agent-1]
2018-09-22 15:00:48:184123 [INFO]   Start Task [Media-Engine-1]
2018-09-22 15:00:48:184305 [NOTICE] GSS Usage: 0/0/0
2018-09-22 15:00:48:184834 [WARN]   Failed to Verify UniMRCP GSS License
2018-09-22 15:00:48:184861 [NOTICE] GSR Usage: 0/0/0
2018-09-22 15:00:48:185047 [WARN]   Failed to Verify UniMRCP GSR License
2018-09-22 15:00:48:185415 [NOTICE] MRCP Server Started


my licence is corrected installed in /opt/unimrcp/data

---------- DESCRIPTION ----------
 This is an auto-generated license file.
 Do NOT attempt to modify the data.
 Copyright (c) Universal Speech Solutions LLC
---------- HEADER ----------
 * License ID: 15d7c691-1e58-45f3-833c-7bd28b58554f 
 * Host name: vox 
 * Host ID: 10.0.2.4 
 * MAC address: 08-00-27-A6-5A-41 
 * Product: umsgsr 1.0.0 
 * License type: trial 
 * Channel count: 2 
 * Issue date: 2018-08-26 
 * Expiration date: 2018-09-25 
---------- START OF LICENSE ----------
R1p+S/WcI3JCfJoJaNxt2MJjfjrFCDIQ4uaUC9uF0BJ6sLpglmnyHq125LWVLZ7L
E74Bvyavp1sj1ranyIKoteGnI/Mb3H2jrD/0lm78JfLU5RhwSJRPLVcu8O5nweoS
jwD77WSH2WEvFGjfuz7bOyF4XO8kEr4qPGL/dH9I+tQE8EoimGuKdV1pF5fk/9CF
kuxeSu86KEQ+8MxSHA4aEKm66hsW3NJmOR7DKE4L4GlymwJRo+iQRKE50dxXCFY/
GQGCwcG88am9EDgH9aIJ2pbdvSc6L5F1b+IA+ebk68gCwl++gtCGJYIMakGb3XnU
iCJKHTbhTHFTr/iQzixF/A==
---------- END OF LICENSE ----------


Any help is appreciated.

Cristian Muraca

unread,
Sep 22, 2018, 9:20:29 AM9/22/18
to uni...@googlegroups.com
Ok I launched:

 sudo /opt/unimrcp/bin/unilicnodegen 

and I received an error. So I configured my etc/hosts file to overcome the previuos error.

And now I go on. 

thanks a lot. 

Cristian Muraca

unread,
Sep 23, 2018, 3:27:33 AM9/23/18
to uni...@googlegroups.com
Hi Arsen,
Can you please suggest me a Java front-end, to manage Call interaction, and to be integrated in the  asterisk-unimrcp-gsr/gss pipeline?
Many thanks in advance,
Cristian.

Arsen Chaloyan

unread,
Sep 25, 2018, 4:32:29 PM9/25/18
to UniMRCP
This questions goes to the Asterisk mailing list, unless someone else out here can help you. I am personally not experienced with that.
Reply all
Reply to author
Forward
0 new messages