<div>I should clarify on my post, i can see a red alarm on cat /proc/dahdi/1 but never when using dahdi_tool</div><div><br></div><div>in cat /proc/dahdi/1:</div><div><div>Span 1: WCTDM/4 &quot;Wildcard TDM400P REV E/F Board 5&quot; (MASTER) </div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>   1 WCTDM/4/0 FXSKS (In use) RED(SWEC: OSLEC) </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>   2 WCTDM/4/1 FXSKS (In use) RED(SWEC: OSLEC) </div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>   3 WCTDM/4/2 FXSKS (In use) RED(SWEC: OSLEC) </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>   4 WCTDM/4/3 FXSKS (In use) RED(SWEC: OSLEC) </div>
</div><div><br></div><div>In dahdi_tool:</div><div><div>Tx/Rx Levels:         0/  0       </div><div>Total/Conf/Act:       4/  4/  0 </div><div><div><br></div><div>but the behavior status alarm is OK</div><div>a little bit misleading, what i am thinking is adding a sort of &quot;yellow&quot; alarm or something if one of the configured fxo lines</div>
<div>goes down?</div><div><br></div><div>another thing, what if 1 of the configured lines&#39; battery is up, but there is no dial tone? outbound calls will try to go through </div><div>and the caller will hear dead air.</div>
<div><br clear="all">Kelvin Chua<br>
<br><br><div class="gmail_quote">On Fri, Aug 26, 2011 at 9:01 AM, Shaun Ruffell <span dir="ltr">&lt;<a href="mailto:sruffell@digium.com">sruffell@digium.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Fri, Aug 26, 2011 at 08:51:56AM +0800, Kelvin Chua wrote:<br>
&gt; has anybody ever seen a red alarm on an fxo port (tdm400) whenever you<br>
&gt; unplug a pstn line? I think i saw a post on the mailing list a few years<br>
&gt; back about this, but never actually seen one<br>
<br>
</div></div>I&#39;ve not personally tested this, but I did look in the source and it<br>
appears that this should be the behavior.  Line 984 of<br>
drivers/dahdi/wctdm.c [1] in the current trunk of dahdi-linux will<br>
set the red alarm when battery is lost which can indicate that the<br>
port is unplugged from the PSTN.<br>
<br>
[1] <a href="http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm.c" target="_blank">http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm.c</a><br>
<br>
Are you not seeing this behavior?<br>
<br>
Cheers,<br>
Shaun<br>
<br>
--<br>
Shaun Ruffell<br>
Digium, Inc. | Linux Kernel Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> &amp; <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br></div></div></div>