Hi,
I am trying to use Asterisk for WebRTC. when sending message, i am getting following error on CLI.
CLI>
== Setting global variable ‘SIPDOMAIN’ to ‘asterisk.org’
[Nov 12 15:53:42] ERROR[30585]: res_rtp_asterisk.c:2085 ast_rtp_dtls_set_configuration: SRTP support module is not loaded or available. Try loading res_srtp.so.
[Nov 12 15:53:42] ERROR[30585]: res_pjsip_sdp_rtp.c:901 setup_dtls_srtp: Attempted to set an invalid DTLS-SRTP configuration on RTP instance ‘0x7f4990023860’
CLI>
and when trying to enable module res_srtp.so manually, then getting following error:
CLI> module load res_srtp.so
Unable to load module res_srtp.so
Command ‘module load res_srtp.so’ failed.
[Nov 12 15:58:18] ERROR[30538]: loader.c:281 module_load_error: Error loading module ‘res_srtp.so’: /usr/lib64/asterisk/modules/res_srtp.so: undefined symbol: crypto_policy_set_aes_cm_128_hmac_sha1_32
CLI>
Any pointer for error “crypto_policy_set_aes_cm_128_hmac_sha1_32” will help.
Thanks
Abhishek Mishra