[asterisk-users] Discover connected Zap lines
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sun May 18 11:16:29 CDT 2008
On Sun, May 18, 2008 at 11:44:48AM -0400, Jay R. Ashworth wrote:
> On Sun, May 18, 2008 at 07:47:02AM +0300, Tzafrir Cohen wrote:
> > > Is that true for *all* makes of card? I know the Sangomas put it in
> > > ifconfig, but for pick-it-off-with-SNMP-for-Nagios purposes, that will
> > > make my life a lot easier...
> >
> > I don't really think Sangoma can put this in ifconfig for analog ports.
> > Unless they have a network interface per port.
>
> Well, from some inspection on some of my own boxen later, RED applies
> to the spans, not the channels... at least on T-1 cards, and yes, it's
> available on both.
RED applies to ports, not to spans. Or rather, it applies to certain
types of communication lines and the use of it to analog lines is just a
logical extension.
Zaptel terminology of spans has originated from cards in which each span
represents a port. In the analog card in which that applied (the X100P)
a disconnected cable generated a red alarm for as long as I remember
(read: since at least zaptel 1.0).
>
> I'm not *entirely* happy with the way the Zaptel driver writers
> structured the /proc/zaptel 'directory'; I'm going to have to do more
> userspace parsing than I'd like to make use of it, but at least it's
> there; thanks for the pointer.
Is /proc the right place? Or /sys ?
Also look at http://bugs.digium.com/12406
(Unfortunetly the submitter has not done a good job at separating
different parts of his patch nd thus you'll have to review ztdynamic
code changes as well)
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list