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

Richard Lyman pchammer at dynx.net
Sat Nov 18 10:58:01 MST 2006


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



More information about the asterisk-users mailing list