VoIP

Discussion: Asterisk config manager.conf

Comments Filter

Re: Can not get around Authenticatin error with simple telnet

hi
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 78.99.00.00 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
umit

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

Hello,

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

--

[mo]
secret = whateverxxxx
deny=0.0.0.0/0.0.0.0
permit=172.25.25.1/255.255.255.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user



thanks,
Mohamed

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=0.0.0.0/0.0.0.0 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 0.0.0.0 as was suggested in another post, I constantly get the error: "Connect attemp from '127.0.0.1' 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:)

[general]
enabled = yes
port = 5038
bindaddr = 192.168.1.11

[tony]
secret = mypass
permit=0.0.0.0/255.255.255.255
deny=0.0.0.0/0.0.0.0
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 192.168.1.12 5038
Trying 192.168.1.12...
Connected to 192.168.1.12.
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)
d00t

In the manager.conf you see

[mark]
secret=

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 :
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.255
permit=192.168.0.1/255.255.255.0

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