On Sat, Apr 12, 2008 at 08:38:00PM -0400, Jerry Geis wrote: > 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?
Since Sangomas were original designed as unchannelized data cards, ifconfig exposes the alarm state; alarmed spans don't show "RUNNING", while green ones do. I don't think you can distinguish between YEL and RED, but you probably don't need to. I gather you can also SNMP the Sangoma drivers. Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) _______________________________________________ -- 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