[asterisk-users] Asterisk Manager: equivalent of 'show channels'?

2006-11-18 Thread Michael Collins
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

Re: [asterisk-users] Asterisk Manager: equivalent of 'show channels'?

2006-11-18 Thread Marco Mouta
take a look at Flash Operator Panel, as far as i know they use AMI , and they also provide real time channel status. On 11/18/06, Michael Collins [EMAIL PROTECTED] wrote: I'm interested in knowing if anyone else has worked around this issue: I have an application that needs to check the

Re: [asterisk-users] Asterisk Manager: equivalent of 'show channels'?

2006-11-18 Thread Nico Busch
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

Re: [asterisk-users] Asterisk Manager: equivalent of 'show channels'?

2006-11-18 Thread Earl Terwilliger
On Saturday 18 November 2006 13:28, 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

Re: [asterisk-users] Asterisk Manager: equivalent of 'show channels'?

2006-11-18 Thread Richard Lyman
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

RE: [asterisk-users] Asterisk Manager: equivalent of 'show channels'?

2006-11-18 Thread Michael Collins
you need to look again maybe read, http://www.dynx.net/ASTERISK/DOCS/RTF/MANAGER.RTF Mea culpa! I did not realize it was so easy! I totally missed the command action when looking over the docs. Thanks for pointing out the mistake and thanks too for the link. It has helped a lot. -MC