AMI connection fails

Hi, this is what happens:

[root@ip-10-227-55-164 18]# telnet localhost 5038
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
Asterisk Call Manager/1.1
Action: Login
Username: muUser
Secret: admin
Connection closed by foreign host.

I have FOP2 running and working well, and it uses AMI…what am I doing wrong?

Thankyou!

Missing final blank line?

What is the timing?

Nevermind…I was missing to press ENTER (LOL)