[Asterisk-Users] line battery check

Jared Smith jsmith at drgutah.com
Tue Jul 8 10:36:13 MST 2003


There's got to be a way... I think zttool shows a red alarm on an X100P
when there's no phone line plugged into it (and I would guess when
there's no voltage on the line.)  My guess is that it gets the info from
/proc/zap-something-or-other, but I'm just guessing.

Jared

On Tue, 2003-07-08 at 11:12, Jon Pounder wrote:
> At 05:18 PM 7/8/2003 +0100, you wrote:
> >Hi-
> >
> >Its not clear from your msg whether you want to detect the open-circuit
> >condition of  the T1/E1 directly or on one of the analog circuits connected
> >on the other side of the channel bank.
> 
> the t1 circuit is fine and the channel bank did not alarm during the 
> problem (it does have a form c alarm contact)
> 
> What I am asking is if anyone knows offhand if the alarm state can be 
> triggered on the fxo/fxs ports by reprogramming, or if it only applies to 
> the t1. OR is there any way with rbs to detect a line that lost loop power 
> ? OR is there a way to have asterisk check every few minutes when a line is 
> not in use that it can raise a dialtone ? if not then have some other 
> process get triggered.
> 
> 
> >If directly on the E1/T1, I imagine that asterisk can detect the condition
> >of the "alarm" signals for the circuit - these are separate from the
> >signalling supervision bits like on/off hook.  I'm new to asterisk, so don't
> >know how to read those alarm indicators in the software, but the ones you
> >are probably interested in are: "Red Alarm" - means loss of signal (I think
> >a cut line would cause this), "Yellow alarm" - means far end detected an
> >error, and "BPV" - bi-polar violation, means degraded signal (usually).
> >
> >Hope this helps.
> >
> >regards
> >
> >Scott M. Stingel
> >Emerging Voice Technology Inc.
> >
> >Email:          scott at evtmedia.com <mailto:scott at evtmedia.com>
> >URL:            www.evtmedia.com <http://www.evtmedia.com>
> >
> >
> >
> > > -----Original Message-----
> > > From: asterisk-users-admin at lists.digium.com
> > > [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of
> > > Jon Pounder
> > > Sent: Tuesday, July 08, 2003 4:29 PM
> > > To: asterisk-users at lists.digium.com
> > > Subject: [Asterisk-Users] line battery check
> > >
> > >
> > > I know in the x100p hardware the driver can sense whether
> > > there is battery
> > > voltage on the line or not. Is this possible in the zap
> > > drivers using t1/e1
> > > interfaces ?
> > >
> > > I believe the signalling bits are only ring and hook, not
> > > loop presence, so
> > > not sure if it is possible.
> > >
> > > I had a situation last night where a main cable was cut in
> > > the area and
> > > lines were down overnight. My burglar alarm knew right away
> > > there was no
> > > line battery and started beeping. Data T1 down was a
> > > no-brainer for the
> > > monitoring software to detect. Now I am looking for a way to
> > > detect loop
> > > loss on the voice lines - any ideas how to accomplish with asterisk ?
> > >
> > > I have a zhone bank - anyone know offhand if I can program
> > > loop loss on a
> > > port to put it into an alarm state ? At least then I would
> > > have a contact
> > > closure I could monitor easily.
> > >
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at lists.digium.com
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> >
> >
> >
> >_______________________________________________
> >Asterisk-Users mailing list
> >Asterisk-Users at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list