Asterisk 12.4.0 on armv5 Failed to initialize libsrtp

Problems with packages? Post here, using [tags] of the package name.

Asterisk 12.4.0 on armv5 Failed to initialize libsrtp

Postby markt9 » Sun Aug 03, 2014 11:36 pm

Asterisk 12.4.0 on armv5

I installed http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz today on my Pogo POGO-V4-A1-01 ($7 on Amazon) following the instructions at http://archlinuxarm.org/platforms/armv5 ... g-series-4

After I installed I ran these commands:

timedatectl set-timezone America/Detroit
ntpd -qg
pacman -Syu; said yes to everything

I then rebooted, and all seemed well

I then installed asterisk with

pacman -S asterisk

Again, no problems, then I tried starting asterisk

asterisk -vvvvvvc

Gave me this error:

asterisk: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory

So I ran pacman -S sqlite. No problems, tried starting asterisk again:

I get a bunch of stuff on the console, but Asterisk does not start. So I ran

asterisk -vvvvvvc > look.txt
pacman -S pastebinit; which installed python-3.4.1-1-arm too

I then uploaded the results to http://pastebin.com/ADrbHTtA where you can see what I think the relevant portion is:

[1;30m == Manager registered action PauseMonitor
 == Manager registered action UnpauseMonitor
 res_monitor.so => (Call Monitoring Resource)
 Loading res_srtp.so.
[Aug 3 18:07:09] WARNING[29746]: res_srtp.c:562 res_srtp_init: Failed to initialize libsrtp
 > ast_monitor_unpause: stubbing for core
 > ast_monitor_pause: stubbing for core
 > ast_monitor_setjoinfiles: stubbing for core
 > ast_monitor_change_fname: stubbing for core
 > ast_monitor_stop: stubbing for core
 > ast_monitor_start: stubbing for core


/var/log/asterisk/messages shows this:

[1;30m == Manager registered action PauseMonitor
 == Manager registered action UnpauseMonitor
 res_monitor.so => (Call Monitoring Resource)
 Loading res_srtp.so.
[Aug 3 18:07:09] WARNING[29746]: res_srtp.c:562 res_srtp_init: Failed to initialize libsrtp
 > ast_monitor_unpause: stubbing for core
 > ast_monitor_pause: stubbing for core
 > ast_monitor_setjoinfiles: stubbing for core
 > ast_monitor_change_fname: stubbing for core
 > ast_monitor_stop: stubbing for core
 > ast_monitor_start: stubbing for core

if I run pacman -Ss libsrtp, I getpacman -Sy asterisk

extra/libsrtp 15.1c9bd90-3 [installed]
Open-source implementation of the Secure Real-time Transport Protocol (SRTP)


I have my pacman.log at http://pastebin.com/RLhKrPfy

I read https://wiki.archlinux.org/index.php/asterisk and I've googled the heck out of Archlinux Asterisk SRTP, but no luck so far. How can I fix this?

I would be willing to have an older version of Asterisk, preferably long term support LTS
markt9
 
Posts: 2
Joined: Sun Aug 03, 2014 11:20 pm

Re: Asterisk 12.4.0 on armv5 Failed to initialize libsrtp

Postby markt9 » Tue Aug 05, 2014 3:18 am

uncommented this line in /etc/asterisk/modules.conf and now it starts

;noload => res_srtp.so

Still wondering how to get SRTP support....
markt9
 
Posts: 2
Joined: Sun Aug 03, 2014 11:20 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 2 guests