As far as I know, you can do something like this, i.e. in PHP:
fputs($socket, "Action: Command\r\n");
fputs($socket, "Command: show channels concise\r\n");
I hope that helps, but perhaps there is a better possibility.
NB
Michael Collins schrieb:
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
------------------------------------------------------------------------
_______________________________________________
--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
_______________________________________________
--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