Brian J. Murrell
2019-Apr-04 12:28 UTC
[asterisk-users] Message: Authentication failed on manager interface
I'm not sure how much more simple I can make this but I just cannot
seem to get my Asterisk 13 to accept a connection on the manager
interface:
--- manager.conf ---
[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1
[myasterisk]
secret=a
permit=0.0.0.0/0.0.0.0
read = all
write = all
So, couldn't be any more wide open and simpler to connect yet:
# echo -e "Action: Login\r\nUsername: myasterisk\r\nPassword:
a\r\n\r\n" | ncat 127.0.0.1 5038
Asterisk Call Manager/2.10.4
Response: Error
Message: Authentication failed
Even more basically if you like:
# telnet 127.0.0.1 5038
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Asterisk Call Manager/2.10.4
Action: Login
Username: myasterisk
Password: a
Response: Error
Message: Authentication failed
Connection closed by foreign host.
I have restarted asterisk after editing manager.conf, even though a
manager reload should be all that's needed.
server*CLI> manager show user myasterisk
username: myasterisk
secret: <Set>
ACL: yes
read perm:
system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate,agi,cc,aoc,test,security,message,all
write perm:
system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate,agi,cc,aoc,test,security,message,all
displayconnects: yes
allowmultiplelogin: yes
Variables:
I know this is going to be a "head smack" problem, but seriously.
What
am I missing?
Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20190404/e8531a55/attachment.sig>
Antony Stone
2019-Apr-04 13:08 UTC
[asterisk-users] Message: Authentication failed on manager interface
On Thursday 04 April 2019 at 14:28:15, Brian J. Murrell wrote:> # echo -e "Action: Login\r\nUsername: myasterisk\r\nPassword: a\r\n\r\n"It's not "Password", it's "Secret" :) Antony. -- I don't know, maybe if we all waited then cosmic rays would write all our software for us. Of course it might take a while. - Ron Minnich, Los Alamos National Laboratory Please reply to the list; please *don't* CC me.
Brian J. Murrell
2019-Apr-04 13:26 UTC
[asterisk-users] Message: Authentication failed on manager interface
On Thu, 2019-04-04 at 15:08 +0200, Antony Stone wrote:> > It's not "Password", it's "Secret" :)Ha ha. I knew it would be a head-smack type problem. Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: This is a digitally signed message part URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190404/ca99fef3/attachment.sig>