[Asterisk-Users] zttool CLI
asterisk at spindrift.on.ca
asterisk at spindrift.on.ca
Thu Jun 24 06:14:39 MST 2004
Matthew,
Thanks a lot, that worked.
Ivan Gostev
creslin at digium.com wrote:
> 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
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> .
>
More information about the asterisk-users
mailing list