No SRTP module loaded

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

No SRTP module loaded

Postby dgxa » Fri Aug 26, 2022 5:41 pm

Hello all, I hope will be fine.

I am installing WebRTC in my vicidial test enviroment and I have this problem

No SRTP module loaded, can't setup SRTP session

I validate and it´s not has installed res_srtp.so

Code: Select all
rasterisk -x "module show like res_srtp.so"
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.
https://github.com/cisco/libsrtp
https://sourceforge.net/projects/srtp/files/srtp/

Code: Select all
ldd /usr/sbin/asterisk
        linux-vdso.so.1 =>  (0x00007ffed0cdb000)
        libasteriskssl.so.1 => /lib64/libasteriskssl.so.1 (0x00007f02296ba000)
        libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f0229350000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f022913a000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f0228f36000)
        libsqlite3.so.0 => /lib64/libsqlite3.so.0 (0x00007f0228c81000)
        libssl.so.10 => /lib64/libssl.so.10 (0x00007f0228a0f000)
        libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f02285ac000)
        libjansson.so.4 => /lib64/libjansson.so.4 (0x00007f022839f000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f022819a000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f0227f63000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f0227d5b000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0227b3f000)
        libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f0227915000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f0227613000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f02273f9000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f02270f1000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f0226d23000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0226b0d000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f02268e7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f02298bd000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f022669a000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f02263b1000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f02261ad000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f0225f7a000)
        libfreebl3.so => /lib64/libfreebl3.so (0x00007f0225d77000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f0225b67000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f0225963000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f022573c000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f02254da000)

Centos 7 || 13.29.2, DAHDI Version: 3.1.0 and libpri-1.6.0 || 5.1 Distrib 5.5.68-MariaDB || svn revision 3304 || vicidial 2.14-772a
dgxa
 
Posts: 60
Joined: Tue Oct 06, 2020 5:05 pm

Re: No SRTP module loaded

Postby carpenox » Mon Aug 29, 2022 12:26 pm

reinstall asterisk from scratch, u can use any of the scratch instructions on my blog http://vicidial.blog
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2420
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: No SRTP module loaded

Postby dgxa » Mon Aug 29, 2022 4:17 pm

carpenox wrote:reinstall asterisk from scratch, u can use any of the scratch instructions on my blog http://vicidial.blog


The solution to see res_libsrt from menuselect is

Code: Select all
yum install -y openssl libsrtp libsrtp-devel


and after reinstall asterisk.

Thank you for your help
dgxa
 
Posts: 60
Joined: Tue Oct 06, 2020 5:05 pm

Re: No SRTP module loaded

Postby carpenox » Mon Aug 29, 2022 9:15 pm

no sweat, glad you got it working
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2420
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: No registered users and 119 guests