Problem accessing AMI

Joined: Wed 19 of Dec, 2012

Problem accessing AMI

Posted:Wed 19 of Dec, 2012 (12:05 UTC)
Hi guys!!
I´m new with the asterisk and i´m having some problems to connect to the AMI console.

I can´t connect to AMI by telnet 5038 port to the Asterisk server. I can´t do it neither doing a telnet:5038 to the asterisk server from the asterisk server itself. Telnet is enabled and i have no problems in connecting it by telnet 23 port.

I configured the file etc/asterik/manager_custom.conf as follow:

secret = password
permit= ; corporate network
permit= ;corporate network
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate

After this i executed like root:
asterisk -rx'manager reload'

The error is as folow:

Asterisk Call Manager/1.1
Action: Login
Username: admin
Secret: password

Response: Error
Message: Missing action in request

Do you know what am i doing wrong?

Thank so much!!!!