Hello
Google didn’t return information about this issue.
For some reason, I must try twice before logging on successfully:
Here’s /etc/asterisk/manager.conf
> cat
[general]
enabled = yes
webenabled = yes
port = 5038
bindaddr = 0.0.0.0
[admin]
secret=test
read = system,call,log,verbose,command,agent,user,config
write = system,call,log,verbose,command,agent,user,config
Has someone experienced the same issue and knows the cause for this?
Thank you.
mazzic
2
I see the same results under a 1.8.2.2 system, if you don’t hit a cr/lf initially.
Asterisk Call Manager/1.1
action: login
username: admin
secret: test
Response: Error
Message: Missing action in request
action: login
username: admin
secret: test
Response: Success
Message: Authentication accepted
Event: FullyBooted
Privilege: system,all
Status: Fully Booted
hitting an initial cr/lf handles this…
Asterisk Call Manager/1.1
action: login
username: admin
secret: test
Response: Success
Message: Authentication accepted
Event: FullyBooted
Privilege: system,all
Status: Fully Booted
Thanks Mazzic, problem solved. Maybe it’s something to do with the Telnet client that I use (Putty/Kitty).
what do you means with cr/lf?
do i must type \r\n after every command?