HAAst can't login to Asterisk

Configuring synchronization, sensors, and optimizations
Post Reply
User avatar
CRM User
Posts: 174
Joined: Sun Nov 27, 2016 3:41 pm

HAAst can't login to Asterisk

Post by CRM User » Fri May 24, 2019 7:19 pm

My HAAst node is promoting/demoting constantly, and I see this in the HAAst log file:

Code: Select all

Fri May 24 03:20:38 2019, 00001253, D, Asterisk Controller, Initiating connection attempt to AMI at localhost:5038
Fri May 24 03:20:38 2019, 00001201, I, Asterisk Controller, Connection established to AMI
Fri May 24 03:20:39 2019, 00001200, E, Asterisk Controller, Failed to login to AMI. Attempting reconnection in 5 seconds
I confirmed that the Asterisk credentials in /etc/xdg/telium/haast.conf and /etc/asterisk/manager.conf are identical. What is wrong?
Account for questions transferred from CRM system
User avatar
Telium Support
Posts: 234
Joined: Sun Nov 27, 2016 3:27 pm

Re: HAAst can't login to Asterisk

Post by Telium Support » Fri May 24, 2019 7:21 pm

In some (particularly recent) Asterisk versions quotes are considered just another character in the value of a setting. So
secret=ABC
and
secret="ABC"
are different. Please remove quotes the credential setting values in your Asterisk /etc/asterisk/manager.conf file and restart the HAAst services.
Post Reply