Asterisk won't start after running script to update OAuth2

Added by J Az 11 days ago

Hey now,

So apparently I'm just a basket case this week jumping out of frying pans and into fires.

Using IPBX Wazo. Was on 17.13 and had some issues starting services after running out of drive space. Discussed here: https://projects.wazo.community/boards/1/topics/11644
I'm mentioning this in case it's relevant.

After resolving the above I ran an upgrade to 17.14 as per Ward's upgrade instructions here (first snippet/script): https://pbxinaflash.com/community/threads/incredible-wazo-upgrade-to-17-14.19952/page-3#post-128374

cd /root
cp -pr /etc/postfix /root
xivo-dist wazo-17.14
apt-get update
/etc/init.d/netfilter-persistent stop
wazo-upgrade
iptables-restart
# put the Incredible PBX web add-ons back in place
cd /
wget http://incrediblepbx.com/incredible-nginx.tar.gz
tar zxvf incredible-nginx.tar.gz
rm -f incredible-nginx.tar.gz
ln -s /etc/nginx/locations/https-available/01_incrediblepbx /etc/nginx/locations/https-enabled/.
cd /etc/nginx
wget http://incrediblepbx.com/nginx-config.tar.gz
tar zxvf nginx-config.tar.gz
rm -f /etc/nginx/sites-enabled/default
/etc/init.d/nginx restart
cp -pr /root/postfix /etc
/etc/init.d/postfix restart
sed -i 's|fr|us|' /etc/asterisk/indications.d/99-general.conf
/etc/init.d/asterisk restart
pbxstatus

This appeared to have worked without issue. Then, inadvertently while trying to edit the second script (for future use) on my machine I accidentally ran it:

cd /tmp
 git clone https://github.com/sboily/asterisk-res-xmpp-oauth.git
 cd asterisk-res-xmpp-oauth
 make patch
 make
 make install
/etc/init.d/asterisk restart

This is supposed to be used when the Wazo version changes to update Google OAuth2 . Between 17.13 and 17.14 Wazo version did not.
Somehow, running this second bit of code got Asterisk to where it now won't start. I don't know what it did to do that since it should be just dealing with OAuth but nonetheless I can't start Wazo for the last two days or so.

Here are some outputs. Please lmk what else you need to see - logs, outputs from commands, etc.
Thank you for all your time and your help.

2017-10-12 07:42:55 root@pbx:/etc/asterisk# wazo-service restart all
Closing port 5060.
Waiting for services to stop successfully...
Waiting for services to start successfully...
        starting rabbitmq-server ... OK
        starting consul ... OK
        starting postgresql@9.4-main ... OK
        starting nginx ... OK
        starting mongooseim ... OK
        starting dahdi ... OK
        starting wazo-admin-ui ... OK
        starting wazo-plugind ... OK
        starting wazo-webhookd ... OK
        starting xivo-sysconfd ... OK
        starting xivo-confgend ... OK
        starting xivo-confd ... OK
        starting wazo-auth ... OK
        starting xivo-dxtora ... OK
        starting xivo-provd ... OK
        starting xivo-agid ... OK
        starting asterisk ...Job for asterisk.service failed. See 'systemctl status asterisk.service' and 'journalctl -xn' for details.
 NOK
Opening port 5060.
2017-10-12 07:45:12 root@pbx:/etc/asterisk#
2017-10-12 07:45:12 root@pbx:/etc/asterisk# systemctl status asterisk.service
● asterisk.service - Asterisk PBX
   Loaded: loaded (/lib/systemd/system/asterisk.service; enabled)
   Active: failed (Result: resources) since Thu 2017-10-12 07:45:12 EDT; 9h ago
  Process: 23107 ExecStartPost=/bin/bash -c for i in {1..10}; do /usr/sbin/asterisk -rx "core waitfullybooted" &>/dev/null && exit 0; sleep 1; done; exit 1 (code=exited, status=0/SUCCESS)
  Process: 23084 ExecStart=/usr/sbin/asterisk -g -U asterisk (code=exited, status=0/SUCCESS)
 Main PID: 23087 (code=exited, status=127)

Oct 12 07:45:07 pbx systemd[1]: Starting Asterisk PBX...
Oct 12 07:45:08 pbx systemd[1]: asterisk.service: main process exited, code=exited, status=127/n/a
Oct 12 07:45:08 pbx systemd[1]: PID 23087 read from file /var/run/asterisk/asterisk.pid does not exist or is a zombie.
Oct 12 07:45:12 pbx systemd[1]: asterisk.service never wrote its PID file. Failing.
Oct 12 07:45:12 pbx systemd[1]: Failed to start Asterisk PBX.
Oct 12 07:45:12 pbx systemd[1]: Unit asterisk.service entered failed state.
2017-10-12 16:50:14 root@pbx:/etc/asterisk#
2017-10-12 17:11:38 root@pbx:/etc/asterisk# journalctl -xn
-- Logs begin at Thu 2017-10-12 07:14:12 EDT, end at Thu 2017-10-12 17:11:38 EDT. --
Oct 12 17:10:01 pbx CRON[23550]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi)
Oct 12 17:10:01 pbx CRON[23551]: (root) CMD (      xivo-check-long-calls)
Oct 12 17:10:01 pbx CRON[23547]: pam_unix(cron:session): session closed for user root
Oct 12 17:10:01 pbx CRON[23544]: pam_unix(cron:session): session closed for user root
Oct 12 17:10:01 pbx CRON[23545]: pam_unix(cron:session): session closed for user root
Oct 12 17:10:17 pbx python3[22433]: 2017-10-12 17:10:17,482 [22433] (INFO) (urllib3.connectionpool): Starting new HTTPS connection (1): localhost
Oct 12 17:10:23 pbx CRON[23546]: pam_unix(cron:session): session closed for user munin
Oct 12 17:10:44 pbx python3[22433]: 2017-10-12 17:10:44,501 [22433] (INFO) (urllib3.connectionpool): Starting new HTTPS connection (1): localhost
Oct 12 17:11:11 pbx python3[22433]: 2017-10-12 17:11:11,523 [22433] (INFO) (urllib3.connectionpool): Starting new HTTPS connection (1): localhost
Oct 12 17:11:38 pbx python3[22433]: 2017-10-12 17:11:38,547 [22433] (INFO) (urllib3.connectionpool): Starting new HTTPS connection (1): localhost
2017-10-12 17:11:47 root@pbx:/etc/asterisk#

Replies (9)

RE: Asterisk won't start after running script to update OAuth2 - Added by Sébastien Duthil 11 days ago

Short answer:

rm /var/run/asterisk/asterisk.pid
wazo-service restart

Long answer:

The relevant error is in the Asterisk start log:

Oct 12 07:45:08 pbx systemd[1]: PID 23087 read from file /var/run/asterisk/asterisk.pid does not exist or is a zombie.
Oct 12 07:45:12 pbx systemd[1]: asterisk.service never wrote its PID file. Failing.

It means the file /var/run/asterisk/asterisk.pid still exists, but it should not, because it should be removed when Asterisk shuts down gracefully. So it probably crashed when you installed the Oauth module over the running one. You can check in /var/spool/asterisk for a core file to check if it did. You can also remove this core file, since it's not very interesting in that case.

Anyway, just removing the PID file /var/run/asterisk/asterisk.pid should fix the problem.

RE: Asterisk won't start after running script to update OAuth2 - Added by J Az 10 days ago

Thank you Sebastien. No such file exists. There is asterisk.ctl at 0 bytes but I do not know if safe to delete. I understand now that this is a socket. I assume it would be unwise to delete. I was going to mv it to another name to test but now I think that would not be wise either.
Please advise.

2017-10-12 19:13:01 root@pbx:/var/log/asterisk# ll /var/run/asterisk/
total 4
drwxr-x---  2 asterisk root       80 Oct 12 07:45 .
drwxr-xr-x 44 root     root     1400 Oct 12 18:00 ..
-rwxrwx---  1 asterisk asterisk  786 Oct 12 07:45 alt.asterisk.canary.tweet.tweet.tweet
srwxrwx---  1 asterisk asterisk    0 Oct 12 07:45 asterisk.ctl
2017-10-12 19:13:04 root@pbx:/var/log/asterisk# ll /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet
-rwxrwx--- 1 asterisk asterisk 786 Oct 12 07:45 /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet
2017-10-12 19:13:24 root@pbx:/var/log/asterisk#
2017-10-12 19:19:57 root@pbx:/var/log/asterisk# ll /var/spool/asterisk/
total 208
drwxr-x--- 13 asterisk asterisk   4096 Jan 13  2017 .
drwxr-xr-x  7 root     root       4096 Mar 17  2017 ..
drwxr-x---  2 asterisk asterisk   4096 Dec 12  2016 dictate
drwxrwsr-x  2 asterisk www-data   4096 Dec  7  2016 fax
drwxr-x---  2 asterisk asterisk   4096 Feb 23  2017 meetme
drwxrwsr-x  2 asterisk www-data 159744 Oct 11 13:53 monitor
drwxr-s---  2 asterisk asterisk   4096 Dec 12  2016 outgoing
drwxr-x---  2 asterisk asterisk   4096 Dec 12  2016 recording
drwxr-s---  2 asterisk asterisk   4096 Dec 12  2016 recurring
drwxr-s---  2 asterisk asterisk   4096 Dec 12  2016 reminders
drwxr-x---  2 asterisk asterisk   4096 Dec 12  2016 system
drwxr-x---  2 asterisk asterisk   4096 Dec 12  2016 tmp
drwxr-x---  3 asterisk asterisk   4096 Jan 11  2017 voicemail
2017-10-12 19:20:22 root@pbx:/var/log/asterisk#

RE: Asterisk won't start after running script to update OAuth2 - Added by J Az 10 days ago

Just did 'wazo-service restart'.
These are the output from /var/log/asterisk/messages:

[Oct 12 19:19:52] Asterisk 14.6.2 built by builder @ builder-64 on a x86_64 running Linux on 2017-09-20 19:02:15 UTC
[Oct 12 19:19:53] NOTICE[11421] dnsmgr.c: Managed DNS entries will be refreshed every 300 seconds.
[Oct 12 19:19:53] NOTICE[11421] cdr.c: CDR simple logging enabled.
[Oct 12 19:19:53] NOTICE[11421] loader.c: 230 modules will be loaded.
[Oct 12 19:19:54] NOTICE[11421] res_odbc.c: Registered ODBC class 'xivo' dsn->[xivo]
[Oct 12 19:19:54] NOTICE[11421] res_odbc.c: Registered ODBC class 'SQLITE3-asteridex' dsn->[SQLITE3-asteridex]
[Oct 12 19:19:54] NOTICE[11421] res_odbc.c: res_odbc loaded.
[Oct 12 19:19:54] NOTICE[11475] res_xmpp.c: Connecting to client token : 1/gp1IZClYmC9ZI2uwsWLtoa-J5CKZSVspnNDFWEpbx90
[Oct 12 19:19:54] NOTICE[11475] res_xmpp.c: Command CURL(https://www.googleapis.com/oauth2/v3/token,client_id=***&client_secret=***&refresh_token=$
[Oct 12 19:19:54] ERROR[11475] pbx_functions.c: Function CURL not registered
[Oct 12 19:19:54] NOTICE[11475] res_xmpp.c: Command status :
[Oct 12 19:19:54] ERROR[11475] res_xmpp.c: object is NULL
[Oct 12 19:19:54] NOTICE[11474] res_xmpp.c: Connecting to client token : 1/h0zMQYW0uDj1R1X-C5ywHrNswutjG_ymGMZxHt8rvk8
[Oct 12 19:19:54] NOTICE[11474] res_xmpp.c: Command CURL(https://www.googleapis.com/oauth2/v3/token,client_id=***&client_secret=***&refresh_token=$
[Oct 12 19:19:54] ERROR[11474] pbx_functions.c: Function CURL not registered
[Oct 12 19:19:54] NOTICE[11474] res_xmpp.c: Command status :
[Oct 12 19:19:54] ERROR[11474] res_xmpp.c: object is NULL

EDIT-

Here is the same errors but in context snipped from /var/log/asterisk/full. These are the only ERROR in the file.

[Oct 12 07:16:16] VERBOSE[4610] manager.c: Manager registered action StopMonitor
[Oct 12 07:16:16] VERBOSE[4610] manager.c: Manager registered action ChangeMonitor
[Oct 12 07:16:16] VERBOSE[4610] manager.c: Manager registered action PauseMonitor
[Oct 12 07:16:16] VERBOSE[4610] manager.c: Manager registered action UnpauseMonitor
[Oct 12 07:16:16] VERBOSE[4610] loader.c: res_monitor.so => (Call Monitoring Resource)
[Oct 12 07:16:16] VERBOSE[4610] loader.c: Loading res_rtp_multicast.so.
[Oct 12 07:16:16] VERBOSE[4610] rtp_engine.c: Registered RTP engine 'multicast'
[Oct 12 07:16:16] VERBOSE[4610] loader.c: res_rtp_multicast.so => (Multicast RTP Engine)
[Oct 12 07:16:16] VERBOSE[4610] loader.c: Loading res_srtp.so.
[Oct 12 07:16:16] VERBOSE[4610] loader.c: res_srtp.so => (Secure RTP (SRTP))
[Oct 12 07:16:16] VERBOSE[4610] loader.c: Loading res_ari_model.so.
[Oct 12 07:16:16] VERBOSE[4610] loader.c: res_ari_model.so => (ARI Model validators)
[Oct 12 07:16:16] VERBOSE[4610] loader.c: Loading res_ari.so.
[Oct 12 07:16:16] NOTICE[4658] res_xmpp.c: Connecting to client token : 1/h0zMQYW0uDj1R1X-C5ywHrNswutjG_ymGMZxHt8rvk8
[Oct 12 07:16:16] NOTICE[4658] res_xmpp.c: Command CURL(https://www.googleapis.com/oauth2/v3/token,client_id=***&client_secret=***&refresh_token=1$
[Oct 12 07:16:16] ERROR[4658] pbx_functions.c: Function CURL not registered
[Oct 12 07:16:16] NOTICE[4658] res_xmpp.c: Command status :
[Oct 12 07:16:16] ERROR[4658] res_xmpp.c: object is NULL
[Oct 12 07:16:16] NOTICE[4659] res_xmpp.c: Connecting to client token : 1/gp1IZClYmC9ZI2uwsWLtoa-J5CKZSVspnNDFWEpbx90
[Oct 12 07:16:16] NOTICE[4659] res_xmpp.c: Command CURL(https://www.googleapis.com/oauth2/v3/token,client_id=***&client_secret=***&refresh_token=1$
[Oct 12 07:16:16] ERROR[4659] pbx_functions.c: Function CURL not registered
[Oct 12 07:16:16] NOTICE[4659] res_xmpp.c: Command status :
[Oct 12 07:16:16] ERROR[4659] res_xmpp.c: object is NULL
[Oct 12 07:16:16] VERBOSE[4610] config.c: Parsing '/etc/asterisk/ari.conf': Found
[Oct 12 07:16:16] VERBOSE[4610] loader.c: res_ari.so => (Asterisk RESTful Interface)
[Oct 12 07:16:16] VERBOSE[4610] loader.c: Loading res_stasis_recording.so.
[Oct 12 07:16:16] VERBOSE[4610] loader.c: res_stasis_recording.so => (Stasis application recording support)
[Oct 12 07:16:16] VERBOSE[4610] loader.c: Loading res_agi.so.
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'answer' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'asyncagi break' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'channel status' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'database del' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'database deltree' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'database get' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'database put' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'exec' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'get data' registered
[Oct 12 07:16:16] VERBOSE[4610] res_agi.c: AGI Command 'get full variable' registered

EDIT 2-

I just did another run of wazo-service restart and here is the output. There are more/other errors seeming to indicate that appflite.so is compiled incorrectly (?) and/or that some function named curl is not present. Please lmk if you need other infos. Thanks.

2017-10-12 20:28:11 root@pbx:/etc/asterisk# cat /var/log/asterisk/tempfile
[Oct 12 20:11:02] Asterisk 14.6.2 built by builder @ builder-64 on a x86_64 running Linux on 2017-09-20 19:02:15 UTC
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/logger.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] message.c: Message handler 'dialplan' registered.
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'MESSAGE'
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'MESSAGE_DATA'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'MessageSend'
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action MessageSend
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action DataGet
[Oct 12 20:11:02] VERBOSE[1417] channel.c: Registered channel type 'Surrogate' (Surrogate channel used to pull channel from an application)
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/codecs.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/codecs.d/01-plc.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/codecs.d/01-speex.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/codecs.d/sample.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action BridgeTechnologyList
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action BridgeTechnologySuspend
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action BridgeTechnologyUnsuspend
[Oct 12 20:11:02] VERBOSE[1417] dns_core.c: Registered DNS resolver 'system' with priority '2147483647'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Asterisk Dynamic Loader Starting:
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/modules.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/features.conf': Found
[Oct 12 20:11:02] VERBOSE[1423] asterisk.c: Remote UNIX connection
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/var/tmp/exec.1507853462234819.140702853969856': Found
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'FEATURE'
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'FEATUREMAP'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Bridge'
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Bridge
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/dnsmgr.conf': Found
[Oct 12 20:11:02] NOTICE[1417] dnsmgr.c: Managed DNS entries will be refreshed every 300 seconds.
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/acl.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/http.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] http.c: Bound HTTP server to address 127.0.0.1:0
[Oct 12 20:11:02] VERBOSE[1417] tcptls.c: TLS/SSL ECDH initialized (automatic), faster PFS ciphers enabled
[Oct 12 20:11:02] VERBOSE[1417] tcptls.c: TLS/SSL certificate ok
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/indications.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] indications.c: Registered indication country 'us'
[Oct 12 20:11:02] VERBOSE[1417] indications.c: Setting default indication country to 'us'
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/cdr.conf': Found
[Oct 12 20:11:02] NOTICE[1417] cdr.c: CDR simple logging enabled.
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/udptl.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Asterisk PBX Core Initializing
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Registering builtin functions:
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'EXCEPTION'
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'TESTTIME'
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action ShowDialPlan
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action ExtensionStateList
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Answer'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'BackGround'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Busy'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Congestion'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'ExecIfTime'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Goto'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'GotoIf'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'GotoIfTime'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'ImportVar'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Hangup'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Incomplete'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'NoOp'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Proceeding'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Progress'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'RaiseException'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Ringing'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'SayAlpha'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'SayAlphaCase'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'SayDigits'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'SayNumber'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'SayPhonetic'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'SetAMAFlags'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Wait'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'WaitExten'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Set'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'MSet'
[Oct 12 20:11:02] VERBOSE[1417] channel.c: Registered channel type 'Local' (Local Proxy Channel Driver)
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action LocalOptimizeAway
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/cel.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] nova.c: CEL NOVA compatibility disabled.
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Ping
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Events
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Logoff
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Login
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Challenge
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Hangup
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Status
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Setvar
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Getvar
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action GetConfig
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action GetConfigJSON
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action UpdateConfig
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action CreateConfig
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action ListCategories
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Redirect
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Atxfer
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Originate
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Command
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action ExtensionState
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action PresenceState
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action AbsoluteTimeout
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action MailboxStatus
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action MailboxCount
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action ListCommands
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action SendText
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action UserEvent
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action WaitEvent
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action CoreSettings
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action CoreStatus
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Reload
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action LoggerRotate
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action CoreShowChannels
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action ModuleLoad
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action ModuleCheck
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action AOCMessage
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Filter
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action BlindTransfer
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'AMI_CLIENT'
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/manager.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/manager.d/01-xivo.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/manager.d/99-general.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/manager.d/sample.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action BridgeList
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action BridgeInfo
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action BridgeDestroy
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action BridgeKick
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/enum.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'CallCompletionRequest'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'CallCompletionCancel'
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/ccss.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/ccss.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Asterisk Dynamic Loader Starting:
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/modules.conf': Found
[Oct 12 20:11:02] NOTICE[1417] loader.c: 230 modules will be loaded.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_odbc.so.
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/res_odbc.conf': Found
[Oct 12 20:11:02] NOTICE[1417] res_odbc.c: Registered ODBC class 'xivo' dsn->[xivo]
[Oct 12 20:11:02] NOTICE[1417] res_odbc.c: Registered ODBC class 'SQLITE3-asteridex' dsn->[SQLITE3-asteridex]
[Oct 12 20:11:02] NOTICE[1417] res_odbc.c: res_odbc loaded.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_odbc.so => (ODBC resource)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_odbc_transaction.so.
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'ODBC_Commit'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'ODBC_Rollback'
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'ODBC'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_odbc_transaction.so => (ODBC transaction resource)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_sorcery_config.so.
[Oct 12 20:11:02] VERBOSE[1417] sorcery.c: Sorcery registered wizard 'config'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_sorcery_config.so => (Sorcery Configuration File Object Wizard)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_format_attr_opus.so.
[Oct 12 20:11:02] VERBOSE[1417] format.c: Registered format interface for codec 'opus'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_format_attr_opus.so => (Opus Format Attribute Module)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_sorcery_realtime.so.
[Oct 12 20:11:02] VERBOSE[1417] sorcery.c: Sorcery registered wizard 'realtime'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_sorcery_realtime.so => (Sorcery Realtime Object Wizard)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_sorcery_astdb.so.
[Oct 12 20:11:02] VERBOSE[1417] sorcery.c: Sorcery registered wizard 'astdb'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_sorcery_astdb.so => (Sorcery Astdb Object Wizard)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_sorcery_memory.so.
[Oct 12 20:11:02] VERBOSE[1417] sorcery.c: Sorcery registered wizard 'memory'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_sorcery_memory.so => (Sorcery In-Memory Object Wizard)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_sorcery_memory_cache.so.
[Oct 12 20:11:02] VERBOSE[1417] sorcery.c: Sorcery registered wizard 'memory_cache'
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action SorceryMemoryCacheExpireObject
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action SorceryMemoryCacheExpire
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action SorceryMemoryCacheStaleObject
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action SorceryMemoryCacheStale
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action SorceryMemoryCachePopulate
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_sorcery_memory_cache.so => (Sorcery Memory Cache Object Wizard)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading codec_opus.so.
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/codecs.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/codecs.d/01-plc.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/codecs.d/01-speex.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/codecs.d/sample.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] format_cache.c: Updated cached format with name 'opus'
[Oct 12 20:11:02] VERBOSE[1417] translate.c: Registered translator 'lintoopus' from codec slin to opus, table cost, 600000, computational cost 999999
[Oct 12 20:11:02] VERBOSE[1417] translate.c: Registered translator 'opustolin' from codec opus to slin, table cost, 900000, computational cost 999999
[Oct 12 20:11:02] VERBOSE[1417] loader.c: codec_opus.so => (OPUS Coder/Decoder)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_http_websocket.so.
[Oct 12 20:11:02] VERBOSE[1417] res_http_websocket.c: WebSocket registered sub-protocol 'echo'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_http_websocket.so => (HTTP WebSocket Support)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_crypto.so.
[Oct 12 20:11:02] VERBOSE[1417] res_crypto.c: Loaded PRIVATE key 'phones'
[Oct 12 20:11:02] VERBOSE[1417] res_crypto.c: Loaded PUBLIC key 'phones-CA'
[Oct 12 20:11:02] VERBOSE[1417] res_crypto.c: Loaded PUBLIC key 'phones'
[Oct 12 20:11:02] VERBOSE[1417] res_crypto.c: Loaded PRIVATE key 'phones-CA'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_crypto.so => (Cryptographic Digital Signatures)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_xmpp_oauth.so.
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/xmpp_oauth.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action JabberSend
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'JabberSend'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'JabberSendGroup'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'JabberStatus'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'JabberJoin'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'JabberLeave'
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'JABBER_STATUS'
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'JABBER_RECEIVE'
[Oct 12 20:11:02] VERBOSE[1417] message.c: Message technology 'xmpp' registered.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_xmpp_oauth.so => (Asterisk XMPP Interface)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_smdi.so.
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/smdi.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'SMDI_MSG_RETRIEVE'
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'SMDI_MSG'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_smdi.so => (Simplified Message Desk Interface (SMDI) Resource)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_monitor.so.
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'Monitor'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'StopMonitor'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'ChangeMonitor'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'PauseMonitor'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'UnpauseMonitor'
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action Monitor
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action StopMonitor
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action ChangeMonitor
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action PauseMonitor
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action UnpauseMonitor
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_monitor.so => (Call Monitoring Resource)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_rtp_multicast.so.
[Oct 12 20:11:02] VERBOSE[1417] rtp_engine.c: Registered RTP engine 'multicast'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_rtp_multicast.so => (Multicast RTP Engine)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_srtp.so.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_srtp.so => (Secure RTP (SRTP))
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_ari_model.so.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_ari_model.so => (ARI Model validators)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_ari.so.
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/ari.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_ari.so => (Asterisk RESTful Interface)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_stasis_recording.so.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_stasis_recording.so => (Stasis application recording support)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_agi.so.
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'answer' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'asyncagi break' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'channel status' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'database del' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'database deltree' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'database get' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'database put' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'exec' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'get data' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'get full variable' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'get option' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'get variable' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'hangup' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'noop' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'receive char' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'receive text' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'record file' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'say alpha' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'say digits' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'say number' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'say phonetic' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'say date' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'say time' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'say datetime' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'send image' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'send text' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'set autohangup' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'set callerid' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'set context' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'set extension' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'set music' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'set priority' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'set variable' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'stream file' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'control stream file' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'tdd mode' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'verbose' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'wait for digit' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'speech create' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'speech set' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'speech destroy' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'speech load grammar' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'speech unload grammar' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'speech activate grammar' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'speech deactivate grammar' registered
[Oct 12 20:11:02] VERBOSE[1417] res_agi.c: AGI Command 'speech recognize' registered
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'DeadAGI'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'EAGI'
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action AGI
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'AGI'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_agi.so => (Asterisk Gateway Interface (AGI))
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_fax.so.
[Oct 12 20:11:02] VERBOSE[1417] config.c: Parsing '/etc/asterisk/res_fax.conf': Found
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'SendFAX'
[Oct 12 20:11:02] VERBOSE[1417] pbx_app.c: Registered application 'ReceiveFAX'
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action FAXSessions
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action FAXSession
[Oct 12 20:11:02] VERBOSE[1417] manager.c: Manager registered action FAXStats
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'FAXOPT'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_fax.so => (Generic FAX Applications)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_stasis.so.
[Oct 12 20:11:02] VERBOSE[1417] message.c: Message handler 'ari' registered.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_stasis.so => (Stasis application support)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading func_periodic_hook.so.
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Registered extension context '__func_periodic_hook_context__'; registrar: func_periodic_hook
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Added extension 'hook' priority 1 (CID match '') to __func_periodic_hook_context__
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Added extension 'hook' priority 2 (CID match '') to __func_periodic_hook_context__
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Added extension 'hook' priority 3 (CID match '') to __func_periodic_hook_context__
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Added extension 'hook' priority 4 (CID match '') to __func_periodic_hook_context__
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Added extension 'hook' priority 5 (CID match '') to __func_periodic_hook_context__
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Added extension 'hook' priority 6 (CID match '') to __func_periodic_hook_context__
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Added extension 'beep' priority 1 (CID match '') to __func_periodic_hook_context__
[Oct 12 20:11:02] VERBOSE[1417] pbx.c: Added extension 'beep' priority 2 (CID match '') to __func_periodic_hook_context__
[Oct 12 20:11:02] VERBOSE[1417] pbx_functions.c: Registered custom function 'PERIODIC_HOOK'
[Oct 12 20:11:02] VERBOSE[1417] loader.c: func_periodic_hook.so => (Periodic dialplan hooks.)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_stasis_answer.so.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_stasis_answer.so => (Stasis application answer support)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_stasis_playback.so.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_stasis_playback.so => (Stasis application playback support)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_stasis_device_state.so.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_stasis_device_state.so => (Stasis application device state support)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_stasis_snoop.so.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_stasis_snoop.so => (Stasis application snoop support)
[Oct 12 20:11:02] VERBOSE[1417] loader.c: Loading res_ael_share.so.
[Oct 12 20:11:02] VERBOSE[1417] loader.c: res_ael_share.so => (share-able code for AEL)
[Oct 12 20:11:02] NOTICE[1465] res_xmpp.c: Connecting to client token : 1/h0zMQYW0uDj1R1X-C5ywHrNswutjG_ymGMZxHt8rvk8
[Oct 12 20:11:02] NOTICE[1465] res_xmpp.c: Command CURL(https://www.googleapis.com/oauth2/v3/token,client_id=***&client_secret=***&refresh_token=1/h0zMQYW0uDj1R1X-C5ywHrNswutjG_ymGMZxHt8rvk8&grant_type=refresh_token)
[Oct 12 20:11:02] ERROR[1465] pbx_functions.c: Function CURL not registered
[Oct 12 20:11:02] NOTICE[1465] res_xmpp.c: Command status :
[Oct 12 20:11:02] ERROR[1465] res_xmpp.c: object is NULL
[Oct 12 20:11:02] NOTICE[1466] res_xmpp.c: Connecting to client token : 1/gp1IZClYmC9ZI2uwsWLtoa-J5CKZSVspnNDFWEpbx90
[Oct 12 20:11:02] NOTICE[1466] res_xmpp.c: Command CURL(https://www.googleapis.com/oauth2/v3/token,client_id=***&client_secret=***&refresh_token=1/gp1IZClYmC9ZI2uwsWLtoa-J5CKZSVspnNDFWEpbx90&grant_type=refresh_token)
[Oct 12 20:11:02] ERROR[1466] pbx_functions.c: Function CURL not registered
[Oct 12 20:11:02] NOTICE[1466] res_xmpp.c: Command status :
[Oct 12 20:11:02] ERROR[1466] res_xmpp.c: object is NULL
[Oct 12 20:11:02] WARNING[1417] loader.c: Module 'app_flite.so' was not compiled with the same compile-time options as this version of Asterisk.
[Oct 12 20:11:02] WARNING[1417] loader.c: Module 'app_flite.so' will not be initialized as it may cause instability.
[Oct 12 20:11:02] WARNING[1417] loader.c: Module 'app_flite.so' could not be loaded.
[Oct 12 20:11:02] WARNING[1417] loader.c: Module 'app_flite.so' was not compiled with the same compile-time options as this version of Asterisk.
[Oct 12 20:11:02] WARNING[1417] loader.c: Module 'app_flite.so' will not be initialized as it may cause instability.
[Oct 12 20:11:02] WARNING[1417] loader.c: Module 'app_flite.so' could not be loaded.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' was not compiled with the same compile-time options as this version of Asterisk.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' will not be initialized as it may cause instability.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' could not be loaded.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' was not compiled with the same compile-time options as this version of Asterisk.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' will not be initialized as it may cause instability.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' could not be loaded.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' was not compiled with the same compile-time options as this version of Asterisk.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' will not be initialized as it may cause instability.
[Oct 12 20:11:03] WARNING[1417] loader.c: Module 'app_flite.so' could not be loaded.
[Oct 12 20:11:03] VERBOSE[1417] loader.c: Loading res_parking.so.
2017-10-12 20:28:34 root@pbx:/etc/asterisk#

RE: Asterisk won't start after running script to update OAuth2 - Added by J Az 10 days ago

Bump.

Stuck here. Any help or insight appreciated!

J.

[SOLVED] RE: Asterisk won't start after running script to update OAuth2 - Added by J Az 9 days ago

Per Sylvain, XMPP module needed to be recompiled and all went back to normal.

At this time I'm unsure of why that was the case.

Will update if more info becomes available.

J.

RE: Asterisk won't start after running script to update OAuth2 - Added by Sébastien Duthil 7 days ago

I never used Google voice, so I have no idea how sensitive the "client_secret" is, combined with the "client_id". But you gave them here in clear text, so if they are sensitive, you must consider them compromised and change them, if you haven't done so already :)

RE: Asterisk won't start after running script to update OAuth2 - Added by Sylvain Boily 7 days ago

Yes you right Seb! Please destroy your token and get a new one.
Seb can you edit his post to change it.
Thank you.

RE: Asterisk won't start after running script to update OAuth2 - Added by J Az 6 days ago

Thanks for the redactions and I will destroy those tokens.

J.

(1-9/9)