Kelvin Chua
2011-Aug-26 00:51 UTC
[asterisk-users] red alarm on tdm400 fxo (fxs signalled)
has anybody ever seen a red alarm on an fxo port (tdm400) whenever you unplug a pstn line? I think i saw a post on the mailing list a few years back about this, but never actually seen one -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110826/7a6ef46e/attachment.htm>
Shaun Ruffell
2011-Aug-26 01:01 UTC
[asterisk-users] red alarm on tdm400 fxo (fxs signalled)
On Fri, Aug 26, 2011 at 08:51:56AM +0800, Kelvin Chua wrote:> has anybody ever seen a red alarm on an fxo port (tdm400) whenever you > unplug a pstn line? I think i saw a post on the mailing list a few years > back about this, but never actually seen oneI've not personally tested this, but I did look in the source and it appears that this should be the behavior. Line 984 of drivers/dahdi/wctdm.c [1] in the current trunk of dahdi-linux will set the red alarm when battery is lost which can indicate that the port is unplugged from the PSTN. [1] http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm.c Are you not seeing this behavior? Cheers, Shaun -- Shaun Ruffell Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org
On Friday 26 August 2011, Kelvin Chua wrote:> has anybody ever seen a red alarm on an fxo port (tdm400) whenever you > unplug a pstn line? I think i saw a post on the mailing list a few years > back about this, but never actually seen oneThat's what mine (TDM410P clone with 2 * FXO + 2 * FXS) does if a phone line is disconnected: it gives a red alarm, but the alarm condition clears as soon as the line is plugged back in. -- AJS Answers come *after* questions.