No SRTP module loaded

Hello all, I hope will be fine. I have this issue.

No SRTP module loaded, can’t setup SRTP session

I validate and it´s not has installed

rasterisk -x “module show like”
Unable to set high priority
Module Description Use Count Status Support Level
0 modules loaded

I am using 13.29.2, DAHDI Version: 3.1.0 and libpri-1.6.0

I found this information about libsrtp but I don´t know secure what version I have to use to this scenary or if a totall reinstalation of vicidial(asterisk) is better.

Asterisk 13.29.2 is coming up on two years beyond end of life, and three years since the end of mainstream support.

DAHDI and PRI support are irrelevant to SRTP, but the SIP channel driver is.

I believe there can be problems with SRTP modules, if you don’t have chan_pjsip loaded, and you should be using that, rather than chan_sip, as the latter will be removed in next year’s release.

None of the messages you have provided points to libsrtp being missing.

If is present, run ldd against it to see if it has missing load time dependencies. If it not present, and you built asterisk yourself, rum make menuselect, check it is enabled, and, otherwise, check the listed missing dependencies.

This es the ldd output

ldd /usr/sbin/asterisk
** => (0x00007ffed0cdb000)**
** => /lib64/ (0x00007f02296ba000)**
** => /lib64/ (0x00007f0229350000)**
** => /lib64/ (0x00007f022913a000)**
** => /lib64/ (0x00007f0228f36000)**
** => /lib64/ (0x00007f0228c81000)**
** => /lib64/ (0x00007f0228a0f000)**
** => /lib64/ (0x00007f02285ac000)**
** => /lib64/ (0x00007f022839f000)**
** => /lib64/ (0x00007f022819a000)**
** => /lib64/ (0x00007f0227f63000)**
** => /lib64/ (0x00007f0227d5b000)**

When I run make menuconfig is not selectable on the field

That’s an ldd against asterisk, not against the library.

I take it that has not been built.

Somewhere near the bottom of the screen, there should be a list of failed dependencies for anything that won’t select in make menuselect.

Not found

find / -executable -type f | while read line; do ldd $line; done | grep*
ldd: salió con estado de salida desconocido (139)
ldd: salió con estado de salida desconocido (139)
ldd: salió con estado de salida desconocido (139)

I tested this in other asterisk and work fine

Wrong file. Over-complicated search.

find / -name | xargs ldd


find / -name -exec ldd '{}' \;

Or simply ldd /usr/lib/asterisk/modules/
assuming the default asterisk.conf.

Result not sucefully
ldd /usr/lib/asterisk/modules/
ldd: /usr/lib/asterisk/modules/ No existe el fichero o el directorio

What version of libsrtp can use?

Why do you think you need librsrtp?

The configure script seems to be able to accept both libsrtp and libsrtp2, but none of the diagnostics you have provided so far mention libsrtp. I suspect the menuselect missing dependency list will, but you haven’[t provided that.

This script, in the source distribution, should install all the, potentially, required libraries, on common Linux distributions: asterisk/install_prereq at master · asterisk/asterisk · GitHub

Result of configure with srtp

./configure --enable-srtp


Result of menuselect


srtp need external dependency


This is what I was trying to get to.

Have you installed the relevant modules indicated in the install_prereq script?

The solution to see res_libsrt from menuselect is

yum install -y openssl libsrtp libsrtp-devel

and after reinstall asterisk.

Thank you for your help

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.