Michael Collins wrote:
I’m interested in knowing if anyone else has worked around this issue:
I have an application that needs to check the status of the calls
going through Asterisk about every 5 seconds or so. I don’t want to do
“asterisk –rx ‘show channels verbose’” at the Linux command line 12
times per minute so I am looking at the AMI. I see that there isn’t a
manager command for ‘show channels.’ Has anyone come up with an
equivalent of ‘show channels’ using the extant manager commands? If
so, could you post how you did it?
Thanks!
-MC
you need to look again
maybe read, http://www.dynx.net/ASTERISK/DOCS/RTF/MANAGER.RTF
action: command
command: show channels
Response: Follows
Privilege: Command
Channel Location State Application(Data)
0 active channels
0 active calls
--END COMMAND--
goodluck
_______________________________________________
--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