Monday, March 25, 2019

Asterisk PBX common errors and Solution

Asterisk PBX common errors and Solution


1. Got this error during IAX2 communication, for Asterisk to Asterisk communication

[Mar 26 11:36:48] WARNING[4529][C-00000002]: /usr/src/asterisk-certified-13.21-cert3/include/asterisk/crypto.h:147 __stub__ast_aes_set_encrypt_key: AES encryption disabled. Install OpenSSL.
[Mar 26 11:36:48] WARNING[4529][C-00000002]: /usr/src/asterisk-certified-13.21-cert3/include/asterisk/crypto.h:159 __stub__ast_aes_set_decrypt_key: AES encryption disabled. Install OpenSSL.
[Mar 26 11:36:48] WARNING[4529][C-00000002]: /usr/src/asterisk-certified-13.21-cert3/include/asterisk/crypto.h:159 __stub__ast_aes_set_decrypt_key: AES encryption disabled. Install OpenSSL.
    -- Hungup 'IAX2/receiver-14602'


Solution:
  1. yum install openssl openssl-devel 
  2. Compile, make menuselect with Resource Module->res_crypto enabled and Install asterisk
  3. Load res_crypto module if not loaded by default (module load res_crypto)