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 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
