Discussion: Asterisk config manager.conf

Comments Filter

Re: Can not get around Authenticatin error with simple telnet

i have in trouble connecting non-local asterisk server at my sip phone. my asterisk server is not local, and im getting this error .
failed for ACL error (permit/deny)

how can i fix it? how can i make my asterisk server for using non local ip phones?

please help me

by umitiri, Monday 19 of May, 2008 (20:54:58 UTC)
Manager passwork keeps resetting to the default.

Whenever there is an update to FreePBX the manager password seems to get reset back to the default. Why? How do I stop that happening?

by drbeaker, Wednesday 04 of July, 2007 (12:47:34 UTC)
any additional port


I've gastman installed on windows and the asterisk runnings on debian... Error " connection failed - 10061" I'm not sure what 10061 (maybe port).. I've alloed in iptables aswell as port 5038 ..Are there any additional ports ?


secret = whateverxxxx
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user


by moahmed, Sunday 13 of May, 2012 (20:45:33 UTC)
Re: Can not get around Authenticatin error with simple telnet

Please note that when the manager looks up the ACL to see what IP's can connect it will always use the last matching entry. Therefore if you have deny= after any explit permits it will always deny. Put the deny at the top of the list and then list explicit permits below.

by viperdude, Saturday 22 of October, 2005 (16:28:33 UTC)
Can not get around Authenticatin error with simple telnet

My manager.conf file is very simple. (see below). When I try a simple connect with telnet, I always get the Authentication failure. I'm using the CentOS and have changed my IP and system name. Other than that, very vanilla.

Also, not sure if this is relevant, but if I change my bindaddr to as was suggested in another post, I constantly get the error: "Connect attemp from '' unable to authenticate" even though I am not trying to telnet in at that point. It just keeps repeating itself.

Thanks for any help on this. (my first post here, so far I've been able to figure out my other issues on my own) (:cry:)

enabled = yes
port = 5038
bindaddr =

secret = mypass
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

by pkellner, Sunday 13 of May, 2012 (20:45:48 UTC)
Can't authenticate

I tried the example config for the manager interface
Then when I tried to login:

telnet 5038
Connected to
Escape character is '^]'.
Asterisk Call Manager/1.0
Action: login
Username: mark
Secret: mysecret

Response: Error
Message: Authentication failed

Connection closed by foreign host.

I can't work out what's going wrong. I'm using Asterisk 1.0

Any Ideas?

by thezulu, Tuesday 30 of November, 2004 (01:47:38 UTC)

In the manager.conf you see


etc etc

[mark] is the username, change it to whatever you want

by , Sunday 13 of May, 2012 (20:46:09 UTC)
And how exactly DO i specify a username?

Everywhere they say, "oh, set a username in manager.conf", but HOW?
What tag?

That can't be too secret!

by , Sunday 26 of September, 2004 (21:08:26 UTC)
Re: I had to permit localhost

That was because I used the command "astman localhost"

So, no problem there

by , Tuesday 18 of May, 2004 (20:14:34 UTC)
I had to permit localhost

Here's my deny/permit lines :

by , Tuesday 18 of May, 2004 (20:09:26 UTC)