I fixed the RTP Engine problem. I have been trying to use the configuration files from(GitHub - GoTrunk/asterisk-config at dynamic-ip) as I am trying to use Go Trunk SIP trunking service. sip show registry works fine.
The error :
My conf files are here:
Conf files - Pastebin.com
LOGS***
[Apr 4 08:58:35] WARNING[732] chan_sip.c: !!! use the global ‘nat’ setting and do not set ‘nat’ per peer/user.
[Apr 4 08:58:35] WARNING[732] chan_sip.c: !!! (config category=‘201’ global force_rport=‘No’ peer/user force_rport=‘Yes’)
[Apr 4 08:58:35] WARNING[732] chan_sip.c: !!! PLEASE NOTE: Setting ‘nat’ for a peer/user that differs from the global setting can make
[Apr 4 08:58:35] WARNING[732] chan_sip.c: !!! the name of that peer/user discoverable by an attacker. Replies for non-existent peers/users
[Apr 4 08:58:35] WARNING[732] chan_sip.c: !!! will be sent to a different port than replies for an existing peer/user. If at all possible,
[Apr 4 08:58:35] WARNING[732] chan_sip.c: !!! use the global ‘nat’ setting and do not set ‘nat’ per peer/user.
[Apr 4 08:58:35] WARNING[732] chan_sip.c: !!! (config category=‘202’ global force_rport=‘No’ peer/user force_rport=‘Yes’)
[Apr 4 08:58:35] NOTICE[1862] chan_sip.c: Peer ‘202’ is now Reachable. (10ms / 2000ms)
[Apr 4 08:58:35] ERROR[732] ari/config.c: No configured users for ARI
[Apr 4 08:58:35] NOTICE[732] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[Apr 4 08:58:35] WARNING[732] cel_pgsql.c: CEL pgsql config file missing global section.
[Apr 4 08:58:35] NOTICE[732] cel_radius.c: Cannot load radiusclient-ng configuration file /etc/radiusclient-ng/radiusclient.conf.
[Apr 4 08:58:35] NOTICE[732] cel_tds.c: cel_tds has no global category, nothing to configure.
[Apr 4 08:58:35] WARNING[732] cel_tds.c: cel_tds module had config problems; declining load
[Apr 4 08:58:35] NOTICE[732] cdr_radius.c: Cannot load radiusclient-ng configuration file /etc/radiusclient-ng/radiusclient.conf.
[Apr 4 08:58:35] NOTICE[732] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Apr 4 08:58:35] NOTICE[732] cdr_pgsql.c: cdr_pgsql configuration contains no global section, skipping module load.
[Apr 4 08:58:35] ERROR[732] chan_unistim.c: Unable to load config unistim.conf
[Apr 4 08:58:35] WARNING[732] res_hep_rtcp.c: res_hep is disabled; declining module load
[Apr 4 08:58:35] ERROR[732] pbx_dundi.c: Unable to load config dundi.conf
[Apr 4 08:58:35] WARNING[732] res_hep_pjsip.c: res_hep is disabled; declining module load
[Apr 4 08:58:35] WARNING[732] loader.c: Some non-required modules failed to load.
[Apr 4 08:58:35] ERROR[732] loader.c: chan_skinny declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: res_pjsip_transport_websocket declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: cel_sqlite3_custom declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: cdr_tds declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: cel_radius declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: cel_tds declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: cdr_radius declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: cdr_sqlite3_custom declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: cdr_pgsql declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: chan_unistim declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: res_hep_rtcp declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: pbx_dundi declined to load.
[Apr 4 08:58:35] ERROR[732] loader.c: res_hep_pjsip declined to load.
[Apr 4 08:58:35] NOTICE[1862] chan_sip.c: Peer ‘trunk’ is now Reachable. (69ms / 2000ms)
[Apr 4 09:01:15] NOTICE[1862][C-00000001] chan_sip.c: Call from ‘202’ (192.168.0.163:64136) to extension ‘+15617954831’ rejected because extension not found in context ‘from-internal’.
[Apr 4 09:03:36] NOTICE[1862][C-00000002] chan_sip.c: Call from ‘202’ (192.168.0.163:64136) to extension ‘+15617954831’ rejected because extension not found in context ‘from-internal’.