[asterisk-users] red alarm on tdm400 fxo (fxs signalled)
Shaun Ruffell
sruffell at digium.com
Thu Aug 25 20:01:04 CDT 2011
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 one
I'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
More information about the asterisk-users
mailing list