Any and all non-support discussions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by mxtreme311 » Fri Apr 17, 2009 3:16 pm
I know this should probably be directed in a Asterisk forum, but I also know there are some asterisk gurus here... what command would I issue to the AMI to get a count of current active Zap channels? "zap show status" only returns how many total channels I have, not how many are in use. We are trying to build a HOWTO for adding cacti server monitoring...
-
mxtreme311
-
- Posts: 93
- Joined: Thu Jun 29, 2006 11:49 am
-
by williamconley » Fri Apr 17, 2009 4:21 pm
show channels (and sort them through a perl script)
or use the "CHANNEL" function to collect the information you want
or zap show channel X one at a time to find all the information you want on each channel (and again filter them through a script)
or build an IF statement that checks the "CHANNEL" function response and shows information based on the response.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
-
williamconley
-
- Posts: 20258
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Davenport, FL (By Disney!)
-
by mflorell » Fri Apr 17, 2009 7:12 pm
Asterisk 1.2.X:
show channels concise
Asteirsk 1.4.X
core show channels concise
If you want to see more information on how we do it in the ViciDial code take a look at the AST_update.pl script.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 104 guests