On Wed, 2009-07-01 at 10:25 -0700, bilal ghayyad wrote: > Can I telnet to the asterisk machine at the port 5038 and send and receive > commands to test if the manager is working fine?
Absolutely! > How? 1) Make sure manager is enabled in manager.conf (enabled=yes in [general] section) 2) Create a manager user, and give that user permissions (see the sample section in manager.conf named [mark]) 3) Type "manager reload" from the Asterisk CLI 4) Telnet to port 5038, as shown below: [jsm...@mybox ~]$ telnet localhost 5038 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Asterisk Call Manager/1.1 Action: Login Username: jsmith Secret: doughnuts Events: on ActionID: 12345 Response: Success ActionID: 12345 Message: Authentication accepted Action: ExtensionState Exten: 555 Context: lab ActionID: 987654321 Response: Success ActionID: 987654321 Message: Extension Status Exten: 555 Context: lab Hint: SIP/linksys Status: 0 -- Jared Smith Training Manager Digium, Inc. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
