I'm trying to run a shell command from AMI, but I guess I'm doing something wrong or there's a bug because no matter what command I try I always get a null response. Running the latest 1.6.2 release.
On manager.conf I have: [test] secret = test deny = 0.0.0.0/0.0.0.0 permit=127.0.0.1 read = command write = command And my session is as follows: pabx:~# telnet localhost 5038 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Asterisk Call Manager/1.1 action: login username: test secret: test Response: Success Message: Authentication accepted action: command command: ! /bin/ls Response: Follows Privilege: Command --END COMMAND-- action: command command: ! /bin/ls -l / Response: Follows Privilege: Command --END COMMAND-- action: logoff Response: Goodbye Message: Thanks for all the fish. Connection closed by foreign host. Any ideas on how to make this work or should I file a bug report?
-- _____________________________________________________________________ -- 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
