You can also cat /proc/zaptel/1 and parse the output of that. This doesn't tell you if asterisk is happy though. For that you could use the asterisk SNMP (sub)agent
Tim. ----- Original Message ----- From: "Jerry Geis" <[EMAIL PROTECTED]> To: asterisk-users@lists.digium.com Sent: Sunday, April 13, 2008 1:38:00 AM (GMT) Europe/London Subject: [asterisk-users] way to inquire status of T1 link Is there a way to inquire of the T1 link status? I mean having cron (as example) execute a program that asks if the T1 status is OK.YEL or RED? then on RED I can send some alert? Thanks Jerry _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users