[asterisk-dev] Zaptel LOS threshold
Alex Balashov
abalashov at evaristesys.com
Mon Jul 2 13:17:39 CDT 2007
Larry,
Sounds like the answer you seek may be in ztdynamic.c in the neighbourhood
of line 796, function check_for_red_alarm():
while(z) {
newalarm = z->span.alarms & ~ZT_ALARM_RED;
/* If nothing received for a second, consider that RED ALARM */
if ((jiffies - z->rxjif) > 1 * HZ) {
newalarm |= ZT_ALARM_RED;
if (z->span.alarms != newalarm) {
z->span.alarms = newalarm;
zt_alarm_notify(&z->span);
alarmchanged++;
}
}
z = z->next;
}
If I have this wrong, please, someone, correct me. I do not actively
peruse this code and would hate to misinform someone.
Thank you,
-- Alex
On Mon, 2 Jul 2007, Butler, Larry wrote:
> I am trying to locate a LOS to red alarm threshold value in zaptel.
> Does this exist? If not, can someone point me in the right direction
> of where to start looking to make changes? It appears that any bit loss
> will throw the circuit into a red. If I am reading this right, the
> Telcordia spec states that the circuit should survive LOS for 2.5
> seconds prior to declaring red alarm.
>
>
>
> Thanks,
>
>
>
> Larry Butler
>
>
>
>
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : +1-678-954-0670
Direct : +1-678-954-0671
More information about the asterisk-dev
mailing list