Search found 3 matches

by rjch
Tue Sep 25, 2007 9:03 am
Forum: Scripts and Templates
Topic: Asterik IP-PBX Statistics (SIP/IAX2 protocols)
Replies: 83
Views: 168539

Try to use this script, it can show a query. This version of the script did indeed indicate that it was hanging after being getting an error in issuing a command. srv scripts # ./asx-stats.py 0 action: login username: queuemonitor secret: queuemon events: off Asterisk Call Manager/1.0 Response: Suc...
by rjch
Tue Sep 25, 2007 5:09 am
Forum: Scripts and Templates
Topic: Asterik IP-PBX Statistics (SIP/IAX2 protocols)
Replies: 83
Views: 168539

Looks like you don't have permission to run commands via AMI. Check your AMI configuration. That was pretty much the first thing I did. [monitor] secret = xxxxxxxxx deny= permit=192.168.1.0/255.255.255.255 read = system,call,log,verbose,command,agent,user write = The user used for monitoring has al...
by rjch
Sun Sep 23, 2007 7:18 am
Forum: Scripts and Templates
Topic: Asterik IP-PBX Statistics (SIP/IAX2 protocols)
Replies: 83
Views: 168539

Try to use new updated version. Edit the file asx-stats.py: set the line "verbose = 0" to "verbose = 1" and post the output here. I have exactly the same symptoms as above - it authenticates and then does nothing. With verbose=1, rhe response for me is as follows:- srv scripts # ./asx-stats.py 0 As...