[Asterisk-Users] zttool CLI
creslin at digium.com
creslin at digium.com
Wed Jun 23 11:53:43 MST 2004
On Wed, Jun 23, 2004 at 12:45:59PM -0400, asterisk at spindrift.on.ca wrote:
> I need to check red alarms status from the script, but asterisk CLI "zap
> show channel 1" or "pri show span 1" does not tell me this.
> zttool does, but I can run it only in interactive curses mode.
> Is there any ready solution?
If you `cat /proc/zaptel/1` (substituting 1 with whatever span/card
you would like to check, you should be able to see the alarm state of
the card.
Matthew Fredrickson
More information about the asterisk-users
mailing list