On Fri, 18 Feb 2011, Gilles wrote:

I'm not having much luck with AMI: After typing the right commands, it
just stays there, not replying to the Login action:

================= Telnet to TCP5038
Action: Login
Username: admin
Secret: secret
<just stays there, waiting>

It's waiting for another <ENTER>.

This is from a 1.2 box, but it should look like this:

-t2::sedwards:~$ telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/1.0
action: login
username: example
secret: example

Response: Success
Message: Authentication accepted

The action and username lines were followed by pressing <ENTER>.
The secret line was followed by pressing <ENTER><ENTER>.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to