Asterisk Service not working properly

Dears,

Kindly note that I have installed STABLE SNG7-PBX-64bit-1805-2 (Asterisk 15 and freePBX 14) on two machines, and i’m having issues when testing calls using two testing cisco 7942 and 7941 IP Phones. when calling a not configured extension (wrong number) the IP phones freeze and had to restart asterisk service to make it working again, sometimes asterisk services are failing to restart until reboot.

using the command “systemctl status asterisk -l” below output is shown and I believe there is something wrong and wanted your help.

● asterisk.service - LSB: Asterisk PBX
Loaded: loaded (/etc/rc.d/init.d/asterisk; bad; vendor preset: disabled)
Active: active (running) since Tue 2019-04-09 11:17:01 EAT; 8s ago
Docs: man:systemd-sysv-generator(8)
Process: 11053 ExecStop=/etc/rc.d/init.d/asterisk stop (code=exited, status=0/SUCCESS)
Process: 11086 ExecStart=/etc/rc.d/init.d/asterisk start (code=exited, status=0/SUCCESS)
Main PID: 11119 (asterisk)
CGroup: /system.slice/asterisk.service
├─11116 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk -g
└─11119 /usr/sbin/asterisk -f -U asterisk -G asterisk -g -vvvg -c

Apr 09 11:17:01 AsteriskCallCenter01 systemd[1]: Starting LSB: Asterisk PBX…
Apr 09 11:17:01 AsteriskCallCenter01 asterisk[11086]: Starting asterisk: [ OK ]
Apr 09 11:17:01 AsteriskCallCenter01 systemd[1]: PID file /var/run/asterisk/asterisk.pid not readable (yet?) after start.
Apr 09 11:17:01 AsteriskCallCenter01 systemd[1]: asterisk.service: Supervising process 11119 which is not our child. We’ll most likely not notice when it exits.
Apr 09 11:17:01 AsteriskCallCenter01 systemd[1]: Started LSB: Asterisk PBX.

Also I tried to upgrade freepbx to version 15 and update all the modules and seems the issue is till there, any assist on the issue ?

Asterisk 15.7.2
12.7.5-1902-3.sng7

Thanks

What does Asterisk’s own log show. What happens if you start Asterisk manually with -c.

@david551 sorry I cannot upload attachments to show you the logs, but I’m getting many errors and warnings when running Asterisk -c but I had asterisk ready at the end.

but my question is why I’m seeing below in service status, any idea?

Apr 09 11:17:01 AsteriskCallCenter01 systemd[1]: PID file /var/run/asterisk/asterisk.pid not readable (yet?) after start.
Apr 09 11:17:01 AsteriskCallCenter01 systemd[1]: asterisk.service: Supervising process 11119 which is not our child. We’ll most likely not notice when it exits.

The first is either a permissions error or that asterisk hasn’t started, or has stopped very quickly.

The second is because asterisk hasn’t started or has stopped very quickly.

I assume “has stopped very quickly”, which is why I asked for the Asterisk logs.

@david551 regarding the first below is the snapshot of the permissions to /var/run/asterisk/asterisk.pid

-rw-r–r-- 1 asterisk asterisk 6 Apr 9 12:57 asterisk.pid

regarding the asterisk logs please allow me to share here in three replies because the file is huge

[root@AsteriskCallCenter02 ~]# asterisk -c
Asterisk 15.7.2, Copyright © 1999 - 2016, Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for detail s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

[ Initializing Custom Configuration Options ]
XSLT support not found. XML documentation may be incomplete.
XSLT support not found. XML documentation may be incomplete.
PBX UUID: eea80e2f-12e0-4395-abb7-4081b8646cd7
Unable to load config file ‘stasis.conf’
Could not load Stasis configuration; using defaults
[2019-04-09 12:46:44] NOTICE[5272]: loader.c:1498 load_modules: 6 modules will b e loaded.
[2019-04-09 12:46:44] WARNING[5272]: loader.c:577 load_dlopen: Error loading mod ule ‘chan_local.so’: /usr/lib64/asterisk/modules/chan_local.so: cannot open shar ed object file: No such file or directory
[2019-04-09 12:46:44] NOTICE[5272]: res_odbc.c:601 load_odbc_config: Registered ODBC class ‘asteriskcdrdb’ dsn->[MySQL-asteriskcdrdb]
[2019-04-09 12:46:44] WARNING[5272]: presencestate.c:200 ast_presence_state_help er: No provider found for label: CustomPresence
[2019-04-09 12:46:44] WARNING[5272]: presencestate.c:200 ast_presence_state_help er: No provider found for label: CustomPresence
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:7069 add_priority: Extension ‘s’ prio rity 13 in ‘macro-user-logon’, label ‘gotpass’ already in use at priority 9
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context clean? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4863 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context clean? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4864 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context clean? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4865 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4880 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4881 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4882 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4883 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4884 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4885 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4886 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4887 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4888 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4889 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4890 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context mini-bar? Figure out a name and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4891 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4922 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4923 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4924 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4925 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4926 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4927 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4928 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4929 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4930 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4931 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4932 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4933 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4934 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4935 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4936 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] ERROR[5272]: pbx.c:7293 ast_add_extension2_lockopt: You ha ve to be kidding-- add exten ‘’ to context housekeeping-service? Figure out a na me and call me back. Action ignored.
[2019-04-09 12:46:44] WARNING[5272]: pbx_config.c:1881 pbx_load_config: Unable t o register extension at line 4937 of /etc/asterisk/extensions_additional.conf
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-internal-xfer’ tries to include nonexistent context ‘from-internal-cu stom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-internal-noxfer’ tries to include nonexistent context ‘from-internal- noxfer-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-pstn’ tries to include nonexistent context ‘from-pstn-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-internal-noxfer-additional’ tries to include nonexistent context ‘fro m-internal-noxfer-additional-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-internal-additional’ tries to include nonexistent context ‘from-inter nal-additional-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘crm-hangup’ tries to include nonexistent context ‘crm-hangup-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sipstation-welcome’ tries to include nonexistent context ‘sipstation-welco me-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘housekeeping-service’ tries to include nonexistent context ‘housekeeping-s ervice-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘pms-dialout’ tries to include nonexistent context ‘pms-dialout-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘mini-bar’ tries to include nonexistent context ‘mini-bar-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘receptionist’ tries to include nonexistent context ‘receptionist-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘clean’ tries to include nonexistent context ‘clean-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-pms’ tries to include nonexistent context ‘from-pms-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-pinsets’ tries to include nonexistent context ‘macro-pinsets-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-setrvol’ tries to include nonexistent context ‘dialparties-set rvol-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-finalbuild’ tries to include nonexistent context ‘dialparties- finalbuild-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-ringallv2’ tries to include nonexistent context ‘dialparties-r ingallv2-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-checkblkvm’ tries to include nonexistent context ‘dialparties- checkblkvm-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-builddshunt-shuffle’ tries to include nonexistent context ‘dia lparties-builddshunt-shuffle-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-builddshunt’ tries to include nonexistent context ‘dialparties -builddshunt-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-firstnotonphone’ tries to include nonexistent context ‘dialpar ties-firstnotonphone-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-call-trace’ tries to include nonexistent context ‘dialparties- call-trace-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-getdialstring’ tries to include nonexistent context ‘dialparti es-getdialstring-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-checkcfextension’ tries to include nonexistent context ‘dialpa rties-checkcfextension-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-mainloop’ tries to include nonexistent context ‘dialparties-ma inloop-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-isextavail’ tries to include nonexistent context ‘dialparties- isextavail-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-checkdndextensions’ tries to include nonexistent context ‘dial parties-checkdndextensions-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-checkcfextensions’ tries to include nonexistent context ‘dialp arties-checkcfextensions-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-callscreencheck’ tries to include nonexistent context ‘dialpar ties-callscreencheck-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-preringprep’ tries to include nonexistent context ‘dialparties -preringprep-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-setmodes’ tries to include nonexistent context ‘dialparties-se tmodes-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-setheader’ tries to include nonexistent context ‘dialparties-s etheader-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-alertinfo’ tries to include nonexistent context ‘dialparties-a lertinfo-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties-queuewait’ tries to include nonexistent context ‘dialparties-q ueuewait-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘dialparties’ tries to include nonexistent context ‘dialparties-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘func-apply-sipheaders’ tries to include nonexistent context ‘func-apply-si pheaders-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘func-set-sipheader’ tries to include nonexistent context ‘func-set-siphead er-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-dial-one’ tries to include nonexistent context ‘macro-dial-one-custo m’

Although I see nothing obviously fatal, you have a large number of obvious errors that really should be fixed to avoid confusing the issue.

Also you have a large number of missing contexts that suggest you are trying to start FreePBX, rather than plain Asterisk.

continued log file…

[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-user-logoff’ tries to include nonexistent context ‘macro-user-logoff -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-user-logon’ tries to include nonexistent context ‘macro-user-logon-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-hangupcall’ tries to include nonexistent context ‘macro-hangupcall-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-blkvm-check’ tries to include nonexistent context ‘macro-blkvm-check -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-blkvm-clr’ tries to include nonexistent context ‘macro-blkvm-clr-cus tom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-blkvm-set’ tries to include nonexistent context ‘macro-blkvm-set-cus tom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-blkvm-setifempty’ tries to include nonexistent context ‘macro-blkvm- setifempty-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘originate-skipvm’ tries to include nonexistent context ‘originate-skipvm-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-simple-dial’ tries to include nonexistent context ‘macro-simple-dial -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-exten-vm’ tries to include nonexistent context ‘macro-exten-vm-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-vm’ tries to include nonexistent context ‘macro-vm-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-block-cf’ tries to include nonexistent context ‘macro-block-cf-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-setmusic’ tries to include nonexistent context ‘macro-setmusic-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-dial-confirm’ tries to include nonexistent context ‘macro-dial-confi rm-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-dahdi’ tries to include nonexistent context ‘from-dahdi-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-zaptel’ tries to include nonexistent context ‘from-zaptel-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-outbound-callerid’ tries to include nonexistent context ‘macro-outbo und-callerid-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-user-callerid’ tries to include nonexistent context ‘macro-user-call erid-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-privacy-mgr’ tries to include nonexistent context ‘macro-privacy-mgr -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-dialout-trunk’ tries to include nonexistent context ‘macro-dialout-t runk-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-pincheck’ tries to include nonexistent context ‘sub-pincheck-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-auto-blkvm’ tries to include nonexistent context ‘macro-auto-blkvm-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-auto-confirm’ tries to include nonexistent context ‘macro-auto-confi rm-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-confirm’ tries to include nonexistent context ‘macro-confirm-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-presencestate-display’ tries to include nonexistent context ‘sub-prese ncestate-display-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘bad-number’ tries to include nonexistent context ‘bad-number-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-blackhole’ tries to include nonexistent context ‘app-blackhole-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-outisbusy’ tries to include nonexistent context ‘macro-outisbusy-cus tom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘outrt-2’ tries to include nonexistent context ‘outrt-2-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘outbound-allroutes’ tries to include nonexistent context ‘outbound-allrout es-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-prepend-cid’ tries to include nonexistent context ‘macro-prepend-cid -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-trunk’ tries to include nonexistent context ‘ext-trunk-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-trunk-sip-MainToMSC’ tries to include nonexistent context ‘from-trunk -sip-MainToMSC-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘from-did-direct-ivr’ tries to include nonexistent context ‘from-did-direct -ivr-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-local’ tries to include nonexistent context ‘ext-local-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-did-catchall’ tries to include nonexistent context ‘ext-did-catchall-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-did’ tries to include nonexistent context ‘ext-did-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-test’ tries to include nonexistent context ‘ext-test-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-chanspy’ tries to include nonexistent context ‘app-chanspy-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-pickup’ tries to include nonexistent context ‘app-pickup-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘findmefollow-ringallv2’ tries to include nonexistent context ‘findmefollow -ringallv2-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-local-confirm’ tries to include nonexistent context ‘ext-local-confirm -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-dial’ tries to include nonexistent context ‘macro-dial-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-contactmanager-sd’ tries to include nonexistent context ‘app-contactma nager-sd-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-blacklist-last’ tries to include nonexistent context ‘app-blacklist-la st-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-blacklist-remove-invalid’ tries to include nonexistent context ‘app-bl acklist-remove-invalid-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-blacklist-remove’ tries to include nonexistent context ‘app-blacklist- remove-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-blacklist-add-invalid’ tries to include nonexistent context ‘app-black list-add-invalid-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-blacklist-add’ tries to include nonexistent context ‘app-blacklist-add -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-blacklist-check’ tries to include nonexistent context ‘app-blacklist-c heck-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-blacklist’ tries to include nonexistent context ‘app-blacklist-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-vmmain’ tries to include nonexistent context ‘app-vmmain-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-dialvm’ tries to include nonexistent context ‘app-dialvm-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘vm-callme’ tries to include nonexistent context ‘vm-callme-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-speeddial-set’ tries to include nonexistent context ‘app-speeddial-set -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-speeddial’ tries to include nonexistent context ‘app-speeddial-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-speeddial-lookup’ tries to include nonexistent context ‘macro-speedd ial-lookup-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-group’ tries to include nonexistent context ‘ext-group-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-systemrecording’ tries to include nonexistent context ‘macro-systemr ecording-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘systemrecording-gui’ tries to include nonexistent context ‘systemrecording -gui-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-pbdirectory’ tries to include nonexistent context ‘app-pbdirectory-cus tom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-parking’ tries to include nonexistent context ‘app-parking-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘park-hints’ tries to include nonexistent context ‘park-hints-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘park-return-routing’ tries to include nonexistent context ‘park-return-rou ting-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘park-orphan-routing’ tries to include nonexistent context ‘park-orphan-rou ting-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘park-dial’ tries to include nonexistent context ‘park-dial-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘parkedcallstimeout’ tries to include nonexistent context ‘parkedcallstimeo ut-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-parked-call’ tries to include nonexistent context ‘macro-parked-call -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-page-stream’ tries to include nonexistent context ‘app-page-stream-cus tom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-paging’ tries to include nonexistent context ‘app-paging-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘autoanswer’ tries to include nonexistent context ‘autoanswer-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-autoanswer’ tries to include nonexistent context ‘macro-autoanswer-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-intercom-users’ tries to include nonexistent context ‘ext-intercom-use rs-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-intercom’ tries to include nonexistent context ‘ext-intercom-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘originate-aa’ tries to include nonexistent context ‘originate-aa-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-hr24format’ tries to include nonexistent context ‘sub-hr24format-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-speakingclock’ tries to include nonexistent context ‘app-speakingclock -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-hr12format’ tries to include nonexistent context ‘sub-hr12format-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-speakextennum’ tries to include nonexistent context ‘app-speakextennum -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-echo-test-echo’ tries to include nonexistent context ‘app-echo-test-ec ho-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-echo-test’ tries to include nonexistent context ‘app-echo-test-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-calltrace-perform’ tries to include nonexistent context ‘app-calltrace -perform-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-calltrace’ tries to include nonexistent context ‘app-calltrace-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-hotelwakeup’ tries to include nonexistent context ‘app-hotelwakeup-cus tom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-fmsetcid’ tries to include nonexistent context ‘sub-fmsetcid-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘followme-sub’ tries to include nonexistent context ‘followme-sub-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘followme-check’ tries to include nonexistent context ‘followme-check-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘fmgrps’ tries to include nonexistent context ‘fmgrps-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-findmefollow’ tries to include nonexistent context ‘ext-findmefollow-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-fmf-toggle’ tries to include nonexistent context ‘app-fmf-toggle-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-featurecodes’ tries to include nonexistent context ‘ext-featurecodes-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-did-0002’ tries to include nonexistent context ‘ext-did-0002-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-did-0001’ tries to include nonexistent context ‘ext-did-0001-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-fax’ tries to include nonexistent context ‘app-fax-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-fax’ tries to include nonexistent context ‘ext-fax-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-dnd-hints’ tries to include nonexistent context ‘ext-dnd-hints-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-dnd-toggle’ tries to include nonexistent context ‘app-dnd-toggle-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-dnd-on’ tries to include nonexistent context ‘app-dnd-on-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-dnd-off’ tries to include nonexistent context ‘app-dnd-off-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘disa-dial’ tries to include nonexistent context ‘disa-dial-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-dictate-send’ tries to include nonexistent context ‘app-dictate-send-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-dictate-record’ tries to include nonexistent context ‘app-dictate-reco rd-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-pjsip-auto-answer-redirect’ tries to include nonexist ent context ‘c-x-3-operator-panel-pjsip-auto-answer-redirect-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-pjsip-auto-answer-headers’ tries to include nonexiste nt context ‘c-x-3-operator-panel-pjsip-auto-answer-headers-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-spy’ tries to include nonexistent context ‘c-x-3-oper ator-panel-spy-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-listen-to-recording’ tries to include nonexistent con text ‘c-x-3-operator-panel-listen-to-recording-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-listen-to-voice-mail’ tries to include nonexistent co ntext ‘c-x-3-operator-panel-listen-to-voice-mail-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-park-announce-answer’ tries to include nonexistent co ntext ‘c-x-3-operator-panel-park-announce-answer-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-park’ tries to include nonexistent context ‘c-x-3-ope rator-panel-park-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-confbridge’ tries to include nonexistent context ‘c-x -3-operator-panel-confbridge-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-meetme’ tries to include nonexistent context ‘c-x-3-o perator-panel-meetme-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-voice-mail’ tries to include nonexistent context ‘c-x -3-operator-panel-voice-mail-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘c-x-3-operator-panel-hold’ tries to include nonexistent context ‘c-x-3-ope rator-panel-hold-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-conference-options’ tries to include nonexistent context ‘sub-conferen ce-options-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-meetme-lang-playback’ tries to include nonexistent context ‘ext-meetme -lang-playback-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-meetme’ tries to include nonexistent context ‘ext-meetme-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘cidlookup’ tries to include nonexistent context ‘cidlookup-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-callwaiting-cwon’ tries to include nonexistent context ‘app-callwaitin g-cwon-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-callwaiting-cwoff’ tries to include nonexistent context ‘app-callwaiti ng-cwoff-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘macro-one-touch-record’ tries to include nonexistent context ‘macro-one-to uch-record-custom’

continued…

[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-record-hh-check’ tries to include nonexistent context ‘sub-record-hh-c heck-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-record-check’ tries to include nonexistent context ‘sub-record-check-c ustom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘sub-record-cancel’ tries to include nonexistent context ‘sub-record-cancel -custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘ext-cf-hints’ tries to include nonexistent context ‘ext-cf-hints-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-prompting-on’ tries to include nonexistent context ‘app-cf-promptin g-on-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-on’ tries to include nonexistent context ‘app-cf-on-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-unavailable-off’ tries to include nonexistent context ‘app-cf-unava ilable-off-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-unavailable-on’ tries to include nonexistent context ‘app-cf-unavai lable-on-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-unavailable-prompt-on’ tries to include nonexistent context ‘app-cf -unavailable-prompt-on-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-off-any’ tries to include nonexistent context ‘app-cf-off-any-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-off’ tries to include nonexistent context ‘app-cf-off-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-busy-off’ tries to include nonexistent context ‘app-cf-busy-off-cus tom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-busy-off-any’ tries to include nonexistent context ‘app-cf-busy-off -any-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-busy-on’ tries to include nonexistent context ‘app-cf-busy-on-custo m’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-busy-prompting-on’ tries to include nonexistent context ‘app-cf-bus y-prompting-on-custom’
[2019-04-09 12:46:44] WARNING[5272]: pbx.c:8691 ast_context_verify_includes: Con text ‘app-cf-toggle’ tries to include nonexistent context ‘app-cf-toggle-custom’
[2019-04-09 12:46:44] NOTICE[5272]: dnsmgr.c:492 do_reload: Managed DNS entries will be refreshed every 300 seconds.
[2019-04-09 12:46:44] ERROR[5272]: config_options.c:709 aco_process_config: Unab le to load config file ‘acl.conf’
[2019-04-09 12:46:44] NOTICE[5272]: cdr.c:4489 cdr_toggle_runtime_options: CDR s imple logging enabled.
[2019-04-09 12:46:44] NOTICE[5272]: loader.c:1498 load_modules: 318 modules will be loaded.
[2019-04-09 12:46:44] ERROR[5272]: config_options.c:709 aco_process_config: Unab le to load config file ‘statsd.conf’
[2019-04-09 12:46:44] ERROR[5272]: res_sorcery_config.c:320 sorcery_config_inter nal_load: Unable to load config file ‘codecs.conf’
[2019-04-09 12:46:44] ERROR[5272]: res_sorcery_config.c:320 sorcery_config_inter nal_load: Unable to load config file ‘pjproject.conf’
[2019-04-09 12:47:10] ERROR[5272]: res_pjsip_config_wizard.c:1087 object_type_loaded_observer: Unable to load config file ‘pjsip_wizard.conf’
[2019-04-09 12:47:10] ERROR[5272]: res_pjsip_config_wizard.c:1087 object_type_loaded_observer: Unable to load config file ‘pjsip_wizard.conf’
[2019-04-09 12:47:10] ERROR[5272]: res_pjsip_config_wizard.c:1087 object_type_loaded_observer: Unable to load config file ‘pjsip_wizard.conf’
[2019-04-09 12:47:10] NOTICE[5272]: res_smdi.c:975 smdi_load: Unable to load config smdi.conf: SMDI disabled
[2019-04-09 12:47:10] NOTICE[5272]: res_smdi.c:1407 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
[2019-04-09 12:47:10] WARNING[5272]: res_stun_monitor.c:338 load_config: Unable to load config res_stun_monitor.conf
[2019-04-09 12:47:10] ERROR[5272]: config_options.c:709 aco_process_config: Unable to load config file ‘hep.conf’
[2019-04-09 12:47:10] ERROR[5272]: res_calendar.c:1069 load_config: Unable to load config calendar.conf
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren14.c:670 load_module: ITU G.722.1 Annex C (Siren14, licensed from Polycom) transcoding module version 15.0_1.0.7
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren14.c:671 load_module: Copyright © 1999-2009 Digium, Inc.
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren14.c:672 load_module: This module is supplied under a commercial license granted by Digium, Inc.
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren14.c:673 load_module: Please see the full license text supplied in the accompanying
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren14.c:674 load_module: “LICENSE” file, or ask for a copy from Digium.
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren14.c:675 load_module: This product includes software from the Speex library. Please see
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren14.c:676 load_module: the accompanying “SPEEX_LICENSE” file for license information.
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren7.c:639 load_module: ITU G.722.1 (Siren7, licensed from Polycom) transcoding module version 15.0_1.0.7
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren7.c:640 load_module: Copyright © 1999-2009 Digium, Inc.
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren7.c:641 load_module: This module is supplied under a commercial license granted by Digium, Inc.
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren7.c:642 load_module: Please see the full license text supplied in the accompanying
[2019-04-09 12:47:10] NOTICE[5272]: codec_siren7.c:643 load_module: “LICENSE” file, or ask for a copy from Digium.
[2019-04-09 12:47:10] ERROR[5272]: pbx_lua.c:1642 load_or_reload_lua_stuff: Error loading extensions.lua: cannot open ‘/etc/asterisk/extensions.lua’ for reading: No such file or directory
[2019-04-09 12:47:10] WARNING[5272]: res_pktccops.c:1038 load_pktccops_config: Unable to load config file res_pktccops.conf
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find application DigiumControlPlayback in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find application DigiumControlPlayback in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find application DigiumVoicemailPlayback in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find application DigiumVoicemailPlayback in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DigiumPhoneReconfigure in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DigiumPhoneReconfigure in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DigiumPhoneReconfigureAll in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DigiumPhoneReconfigureAll in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMALicenseStatus in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMALicenseStatus in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAShowPhones in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAShowPhones in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAMessageRegister in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAMessageRegister in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAMessageResponse in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAMessageResponse in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAMessageSend in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAMessageSend in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAShowIncidents in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMAShowIncidents in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMARemoveIncident in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: xmldoc.c:2202 xmldoc_build_field: Couldn’t find manager DPMARemoveIncident in XML documentation
[2019-04-09 12:47:11] WARNING[5272]: loader.c:1180 load_resource: Module ‘res_pjsip_phoneprov_provider.so’ could not be loaded.
[2019-04-09 12:47:11] WARNING[5272]: loader.c:1180 load_resource: Module ‘res_pjsip_phoneprov_provider.so’ could not be loaded.
[2019-04-09 12:47:11] WARNING[5272]: loader.c:1180 load_resource: Module ‘res_pjsip_phoneprov_provider.so’ could not be loaded.
[2019-04-09 12:47:11] WARNING[5272]: loader.c:1180 load_resource: Module ‘res_pjsip_phoneprov_provider.so’ could not be loaded.
[2019-04-09 12:47:11] WARNING[5272]: loader.c:577 load_dlopen: Error loading module ‘res_pjsip_phoneprov_provider.so’: /usr/lib64/asterisk/modules/res_pjsip_phoneprov_provider.so: undefined symbol: ast_phoneprov_std_variable_lookup
[2019-04-09 12:47:11] WARNING[5272]: loader.c:1180 load_resource: Module ‘res_pjsip_phoneprov_provider.so’ could not be loaded.
[2019-04-09 12:47:11] ERROR[5272]: res_config_sqlite.c:732 load_config: Unable to load res_config_sqlite.conf
[2019-04-09 12:47:11] ERROR[5272]: res_pjsip_config_wizard.c:1087 object_type_loaded_observer: Unable to load config file ‘pjsip_wizard.conf’
[2019-04-09 12:47:11] WARNING[5272]: iax2/firmware.c:235 iax_firmware_reload: Error opening firmware directory ‘/var/lib/asterisk/firmware/iax’: No such file or directory
[2019-04-09 12:47:11] NOTICE[5272]: iax2/provision.c:560 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled.
[2019-04-09 12:47:11] NOTICE[5272]: chan_console.c:1443 load_config: Unable to open configuration file console.conf!
SIP channel loading…
[2019-04-09 12:47:11] NOTICE[5272]: chan_skinny.c:8456 config_load: Configuring skinny from skinny.conf
[2019-04-09 12:47:11] NOTICE[5272]: chan_skinny.c:8466 config_load: Unable to load config skinny.conf, Skinny disabled.
[2019-04-09 12:47:11] ERROR[5272]: chan_mobile.c:4776 load_module: No Bluetooth devices found. Not loading module.
[2019-04-09 12:47:11] NOTICE[5272]: chan_ooh323.c:2835 reload_config: Unable to load config ooh323.conf, OOH323 disabled
[2019-04-09 12:47:11] ERROR[5272]: chan_ooh323.c:3969 load_module: Can’t load ooh323 config file, OOH323 Disabled
[2019-04-09 12:47:11] ERROR[5272]: chan_dahdi.c:19010 setup_dahdi_int: Unable to load config chan_dahdi.conf
[2019-04-09 12:47:11] ERROR[5272]: res_pjsip_config_wizard.c:1087 object_type_loaded_observer: Unable to load config file ‘pjsip_wizard.conf’
[2019-04-09 12:47:11] ERROR[5272]: config_options.c:709 aco_process_config: Unable to load config file ‘agents.conf’
[2019-04-09 12:47:11] ERROR[5272]: app_agent_pool.c:2693 load_module: Unable to load config. Not loading module.
[2019-04-09 12:47:11] NOTICE[5511]: chan_sip.c:24711 handle_response_peerpoke: Peer ‘7935’ is now Reachable. (19ms / 2000ms)
[2019-04-09 12:47:11] NOTICE[5272]: confbridge/conf_config_parser.c:2289 verify_default_profiles: Adding default_menu menu to app_confbridge
[2019-04-09 12:47:11] WARNING[5272]: res_calendar.c:552 ast_calendar_register: Calendar support disabled, not loading caldav calendar module
[2019-04-09 12:47:11] WARNING[5272]: res_calendar.c:552 ast_calendar_register: Calendar support disabled, not loading ews calendar module
[2019-04-09 12:47:11] WARNING[5272]: res_calendar.c:552 ast_calendar_register: Calendar support disabled, not loading exchange calendar module
[2019-04-09 12:47:11] WARNING[5272]: res_calendar.c:552 ast_calendar_register: Calendar support disabled, not loading ical calendar module
[2019-04-09 12:47:11] WARNING[5272]: cdr_manager.c:212 load_config: Failed to load configuration file. Module not activated.
[2019-04-09 12:47:11] ERROR[5272]: cdr_syslog.c:143 load_config: Unable to load cdr_syslog.conf. Not logging custom CSV CDRs to syslog.
[2019-04-09 12:47:11] WARNING[5272]: cdr_odbc.c:204 odbc_load_module: cdr_odbc: Unable to load config for ODBC CDR’s: cdr_odbc.conf
[2019-04-09 12:47:11] WARNING[5272]: app_festival.c:568 load_module: No such configuration file festival.conf
[2019-04-09 12:47:11] WARNING[5272]: app_followme.c:421 reload_followme: No follow me config file (followme.conf), so no follow me
[2019-04-09 12:47:11] ERROR[5272]: chan_phone.c:1411 load_module: Unable to load config phone.conf
[2019-04-09 12:47:11] ERROR[5272]: chan_unistim.c:6866 reload_config: Unable to load config unistim.conf
[2019-04-09 12:47:11] NOTICE[5511]: chan_sip.c:24711 handle_response_peerpoke: Peer ‘MainToMSC’ is now Reachable. (4ms / 2000ms)
[2019-04-09 12:47:11] WARNING[5272]: res_hep_pjsip.c:238 load_module: res_hep is not loaded or running; declining module load
[2019-04-09 12:47:11] WARNING[5272]: res_hep_rtcp.c:161 load_module: res_hep is not loaded or running; declining module load
[2019-04-09 12:47:11] NOTICE[5511]: chan_sip.c:24711 handle_response_peerpoke: Peer ‘6935’ is now Reachable. (31ms / 2000ms)
[2019-04-09 12:47:11] NOTICE[5272]: pbx_ael.c:163 pbx_load_module: File /etc/asterisk/extensions.ael not found; AEL declining load
[2019-04-09 12:47:11] ERROR[5272]: pbx_dundi.c:4850 set_config: Unable to load config dundi.conf
[2019-04-09 12:47:11] WARNING[5272]: app_flite.c:76 read_config: Flite: Unable to read config file flite.conf. Using default settings
[2019-04-09 12:47:11] WARNING[5272]: app_voicemail.c:13754 actual_load_config: maxsilence should be less than minsecs or you may get empty messages
[2019-04-09 12:47:11] NOTICE[5272]: func_odbc.c:1782 load_module: Unable to load config for func_odbc: func_odbc.conf
Asterisk Ready.
*CLI>

There are no fatal errors, which tends to suggest a permissions problem, although you should fix the non-fatal errors and you should edit out warnings due to the way that FreePBX works when posting logs, as it makes it dfficult to see the wood for the trees.

@david551 I have already shared the permissions configured, asterisks has read write permissions to /var/run/asterisk/asterisk.pid , when restarting asterisk using "systemctl restart asterisk " who should has permissions root or asterisk ??

Also after reboot asterisk doesn’t start automatically. any idea?

Thanks

I haven’t run Asterisk other than as root, so I don’t know when it changes user in relation to access to files and directories.

Also SELINUX can cause permission problems, even when users match.

The permission problem may not actually be one related to accessing /var, /var/run, /var/run/asterisk or /var/run/asterisk/asterisk.pid.

SELinux status: disabled

any idea to make asterisk starts on boot?

You need to find out why it is failing to start.

Do any of the log files get opened. If so, what do they say.

@david551 let me rephrase my question:

asterisk starts and working fine but with errors as seen in the shared logs.

but sometimes calls are not going through (phones hanged , and no debug info in asterisk cli) then I have to restart the service again, to make calls go through

systemd seems to have no idea about the asterisk PID and maybe that’s why it is not stating on boot.

I have logs but I’m not able to attach here. which log file you need exactly.

Asterisk creates the PID file when it successfully starts. The Asterisk init script is saying that the file has not been created, (or otherwise cannot be opened).

the confusing thing that whenever I restart the service the asterisk.pid file is always updated with the currently running pid.

before restart action :

● asterisk.service - LSB: Asterisk PBX
Loaded: loaded (/etc/rc.d/init.d/asterisk; bad; vendor preset: disabled)
Active: active (running) since Tue 2019-04-09 16:51:27 EAT; 29min ago
Docs: man:systemd-sysv-generator(8)
Process: 28174 ExecStart=/etc/rc.d/init.d/asterisk start (code=exited, status=0/SUCCESS)
Main PID: 28208 (asterisk)
CGroup: /system.slice/asterisk.service
├─28205 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk -g
└─28208 /usr/sbin/asterisk -f -U asterisk -G asterisk -g -vvvg -c

Apr 09 16:51:27 AsteriskCallCenter02.africell.ug systemd[1]: Starting LSB: Asterisk PBX…
Apr 09 16:51:27 AsteriskCallCenter02.africell.ug asterisk[28174]: Starting asterisk: [ OK ]
Apr 09 16:51:27 AsteriskCallCenter02.africell.ug systemd[1]: PID file /var/run/asterisk/asterisk.pid not readable (yet?) after start.
Apr 09 16:51:27 AsteriskCallCenter02.africell.ug systemd[1]: asterisk.service: Supervising process 28208 which is not our child. We’ll most likely not notice when it exits.
Apr 09 16:51:27 AsteriskCallCenter02.africell.ug systemd[1]: Started LSB: Asterisk PBX.

the asterisk.pid file has 28208 inside

after restart action :

● asterisk.service - LSB: Asterisk PBX
Loaded: loaded (/etc/rc.d/init.d/asterisk; bad; vendor preset: disabled)
Active: active (running) since Tue 2019-04-09 17:26:04 EAT; 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 1342 ExecStop=/etc/rc.d/init.d/asterisk stop (code=exited, status=0/SUCCESS)
Process: 1375 ExecStart=/etc/rc.d/init.d/asterisk start (code=exited, status=0/SUCCESS)
Main PID: 1408 (asterisk)
CGroup: /system.slice/asterisk.service
├─1405 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk -g
└─1408 /usr/sbin/asterisk -f -U asterisk -G asterisk -g -vvvg -c

Apr 09 17:26:04 AsteriskCallCenter02.africell.ug systemd[1]: Starting LSB: Asterisk PBX…
Apr 09 17:26:04 AsteriskCallCenter02.africell.ug asterisk[1375]: Starting asterisk: [ OK ]
Apr 09 17:26:04 AsteriskCallCenter02.africell.ug systemd[1]: PID file /var/run/asterisk/asterisk.pid not readable (yet?) after start.
Apr 09 17:26:04 AsteriskCallCenter02.africell.ug systemd[1]: asterisk.service: Supervising process 1408 which is not our child. We’ll most likely not notice when it exits.
Apr 09 17:26:04 AsteriskCallCenter02.africell.ug systemd[1]: Started LSB: Asterisk PBX.

the asterisk.pid file has 1408 inside

so it has started successfully and creates the PID file.

am I right?

That suggests a systemd problem for an unknown OS and distribution, or a problem with the startup script, which are generally third party and depend on the OS and distribution.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.