[asterisk-users] Bristuff qozap drivers problem

Steve Davies davies147 at gmail.com
Thu Oct 19 05:42:01 MST 2006


Hi,

For a significant time now (since about 0.2.0-rc8n) the qozap driver
has become very verbose if an ISDN line is not connected... I get the
messages below every couple of seconds in the asterisk logs.

The "flaw" in the messages is the "Alarm cleared" message - The alarm
cannot possibly be cleared because there is no physical media
connected into that port!!! (BTW - All ports are in TE mode.)

Can anyone suggest a cleanup in qozap.c that will prevent it telling
Asterisk that the channel is up unless it actually has come back up? I
do not understand the zaptel/bristuff internals well enough to be able
to find where this is occuring.

I also get a solid kernel crash with no Oops if I unload the qozap
module - Again this does not happen in the older versions of the qozap
module. I am using Kernel 2.6.10.

Many thanks for any pointers,
Steve.

Oct 19 13:22:23 WARNING[6485]: chan_zap.c:6025 handle_init_event:
Detected alarm on channel 4: Red Alarm
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:1445 zt_disable_ec: Unable
to disable echo cancellation on channel 4
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:6025 handle_init_event:
Detected alarm on channel 5: Red Alarm
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:1445 zt_disable_ec: Unable
to disable echo cancellation on channel 5
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:6025 handle_init_event:
Detected alarm on channel 7: Red Alarm
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:1445 zt_disable_ec: Unable
to disable echo cancellation on channel 7
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:6025 handle_init_event:
Detected alarm on channel 8: Red Alarm
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:1445 zt_disable_ec: Unable
to disable echo cancellation on channel 8
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:6025 handle_init_event:
Detected alarm on channel 10: No Alarm
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:1445 zt_disable_ec: Unable
to disable echo cancellation on channel 10
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:6025 handle_init_event:
Detected alarm on channel 11: No Alarm
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:1445 zt_disable_ec: Unable
to disable echo cancellation on channel 11
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:6020 handle_init_event: Alarm
cleared on channel 4
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:6020 handle_init_event: Alarm
cleared on channel 5
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:6020 handle_init_event: Alarm
cleared on channel 7
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:6020 handle_init_event: Alarm
cleared on channel 8
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:6020 handle_init_event: Alarm
cleared on channel 10
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:6020 handle_init_event: Alarm
cleared on channel 11
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:8122 pri_dchannel: PRI got
event: Alarm (4) on Primary D-channel of span 2
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:2197 pri_find_dchan: No
D-channels available!  Using Primary channel 6 as D-channel anyway!
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:8122 pri_dchannel: PRI got
event: No more alarm (5) on Primary D-channel of span 2
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:2197 pri_find_dchan: No
D-channels available!  Using Primary channel 6 as D-channel anyway!
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:8122 pri_dchannel: PRI got
event: Alarm (4) on Primary D-channel of span 3
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:2197 pri_find_dchan: No
D-channels available!  Using Primary channel 9 as D-channel anyway!
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:8122 pri_dchannel: PRI got
event: No more alarm (5) on Primary D-channel of span 3
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:2197 pri_find_dchan: No
D-channels available!  Using Primary channel 9 as D-channel anyway!
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:8122 pri_dchannel: PRI got
event: Alarm (4) on Primary D-channel of span 4
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:2197 pri_find_dchan: No
D-channels available!  Using Primary channel 12 as D-channel anyway!
Oct 19 13:22:23 NOTICE[6485]: chan_zap.c:8122 pri_dchannel: PRI got
event: No more alarm (5) on Primary D-channel of span 4
Oct 19 13:22:23 WARNING[6485]: chan_zap.c:2197 pri_find_dchan: No
D-channels available!  Using Primary channel 12 as D-channel anyway!


More information about the asterisk-users mailing list