Hi All! I have a working Asterisk install, but now I am getting the following error message and res_srtp module does not load. When I try to load it from the CLI it gets the following message:
Was the libsrtp package updated? The message would seem to indicate that res_srtp was built against one version of libsrtp with support for the AES GCM cipher, but now the library no longer has it.
It may have been built with the same version, but seemingly libsrtp was not built the same way. Rebuilding Asterisk (including rerunning configure) would allow it to pick up the current capabilities of the installed libsrtp.
Your Asterisk modules directory, located at
/usr/lib/asterisk/modules
contains modules that were not installed by this
version of Asterisk. Please ensure that these
modules are compatible with this version before
attempting to run Asterisk.
libsrtp2.so should NOT be installed in /usr/lib/asterisk/modules. It should be in your system library directory. The warnings for codec_opus and format_ogg_opus indicate that they are for a different version of asterisk than the one you’re currently running. How did you install them?
Finally it turned out that some Redhat updates were installed on the server but it has not been restarted for months ago. Now the server has been restarted and broke the libsrtp 2.6 version dependencies. I have built libsrtp 2.7 and Asterisk again and it works again now. Thanks for the quick answers.