[asterisk-users] way to inquire status of T1 link

Jay R. Ashworth jra at baylink.com
Sun Apr 13 17:20:24 CDT 2008


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                      jra at baylink.com
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)



More information about the asterisk-users mailing list