On Wed, Jun 23, 2004 at 12:45:59PM -0400, [EMAIL PROTECTED] 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
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to