I am trying to send commands to Asterisk manager via a telnet session.  I am 
able to lo in and receive event logs from AMI, but when I try to issue commands 
I get an invalid/unknown command error.  Here are some of the commands I am 
trying to send.

Asterisk Call Manager/1.0
Action: login
Username: xxxxxxx
Secret: xxxxxxxxx

Response: Success
Message: Authentication accepted

ACTION: Originate 
Channel: Local/1656
Exten: 1710
Priority: 1 
Context: it

Response: Error
Message: Invalid/unknown command



ACTION: Command 
command: show dialplan 

Response: Error
Message: Invalid/unknown command



Action: Originate 
Channel: Zap/g1/17329250730 
Context: default 
Exten: 1656
Priority: 1 
Callerid: 3125551212 

Response: Error
Message: Invalid/unknown command


Here is how my manager.conf file looks

[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects = yes

[ami]
secret = XXXXXXXXXXX
permit=0.0.0.0/0.0.0.0
;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


Any help would be greatly appresiated


Ed Nuñez
IT/Telecom Engineer
 
4037 Metric Drive
Winter Park, FL
 
(o) 407-384-4200 x 1656
(f) 407-384-4222
(c) 732-925-0730


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to