[asterisk-users] Problems with losing D-Channel on

Anthony Francis anthonyf at rockynet.com
Wed Nov 21 09:34:03 CST 2007


I also intermittently get the Short write error followed by a cascade of Zap alarms, the funny part is I always get an alarm clear exactly 5 seconds after the first red alarm. The carrier always notes no drop. This happens on a variety of digium hardware, all connected to T1 PRI, some in NFAS. The fact that it happens on multiple cards, platforms, and configurations leads me to believe this may be a driver issue.



Eric Delaporte wrote:
> Hello all,
>
> I got a problem at an asterisk server, with dropping calls, losing all
> channels and reaktivating all channels and beeing back up.
> This problem seems to occure randomly over the whole day, when it gots
> traffic on the card.
>
> After looking @ google I found several hints but none did work fine.
>
> To avoid problems with the phone line (german E1) I called the provider, he
> did a 45 min. route test with incoming and outgoing calls over all lines
> without any problem over the whole time. 
> I also got a phone call with the providers service partner for the S2M part.
> He reset the line and putt he errorcounter to 0. After the test it was still
> on 0. When we plugged in the card again, there were again errors on the
> counter after ~ 5-10 minutes.
>
> After this, i put the asterisk, zaptel and libpri versions to newest
> versions, now it's working a bit better, but after 1 day fine work, it
> crashes again all calls.
>
> The system worked fine about 6 month now, but since 2 weeks I got the
> problems.
>
> Does anyone have any idea? The last points what is on my todo is to switch
> the pci slot. The cable which connects card to E1 interface is also
> switched.
>
>
> Kind regards,
>
> Eric
>
>
>
> I got a snippet from the console, where the problem is occuring.
>
> [Nov 16 15:57:09] ERROR[5499]: chan_zap.c:8178 zt_pri_error: Write to 39
> failed: Unknown error 500
> [Nov 16 15:57:09] ERROR[5499]: chan_zap.c:8178 zt_pri_error: Short write:
> 0/15 (Unknown error 500)
> [Nov 16 15:57:09] WARNING[5499]: chan_zap.c:3822 zt_handle_event: Detected
> alarm on channel 1: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 2: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 2
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 6: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 6
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 7: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 7
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 8: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 8
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 9: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 9
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 10: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 10
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 11: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 11
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 12: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 12
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 13: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 13
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 14: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 14
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 15: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 15
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 17: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 17
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 18: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 18
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 19: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 19
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 20: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 20
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 21: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 21
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 22: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 22
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 23: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 23
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 24: Red Alarm
> [Nov 16 15:57:09] ERROR[5439]: chan_zap.c:8178 zt_pri_error: Write to 39
> failed: Unknown error 500
> [Nov 16 15:57:09] ERROR[5439]: chan_zap.c:8178 zt_pri_error: Short write:
> 0/15 (Unknown error 500)
> [Nov 16 15:57:09] WARNING[5439]: chan_zap.c:3822 zt_handle_event: Detected
> alarm on channel 3: Red Alarm
>     -- Hungup 'Zap/3-1'
>   == Spawn extension (default, 0237151510, 1) exited non-zero on
> 'IAX2/agent22-9'
>     -- Hungup 'IAX2/agent22-9'
> [Nov 16 15:57:09] ERROR[5522]: chan_zap.c:8178 zt_pri_error: Write to 39
> failed: Unknown error 500
> [Nov 16 15:57:09] ERROR[5522]: chan_zap.c:8178 zt_pri_error: Short write:
> 0/15 (Unknown error 500)
> [Nov 16 15:57:09] WARNING[5522]: chan_zap.c:3822 zt_handle_event: Detected
> alarm on channel 4: Red Alarm
>     -- Hungup 'Zap/4-1'
> [Nov 16 15:57:09] NOTICE[5522]: cdr.c:434 ast_cdr_free: CDR on channel
> 'Zap/4-1' not posted
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Executing [01624128667 at default:2] Hangup("IAX2/Agent5-29", "") in new
> stack
>   == Spawn extension (default, 01624128667, 2) exited non-zero on
> 'IAX2/Agent5-29'
>     -- Hungup 'IAX2/Agent5-29'
> [Nov 16 15:57:09] ERROR[5524]: chan_zap.c:8178 zt_pri_error: Write to 39
> failed: Unknown error 500
> [Nov 16 15:57:09] ERROR[5524]: chan_zap.c:8178 zt_pri_error: Short write:
> 0/15 (Unknown error 500)
> [Nov 16 15:57:09] WARNING[5524]: chan_zap.c:3822 zt_handle_event: Detected
> alarm on channel 5: Red Alarm
>     -- Hungup 'Zap/5-1'
> [Nov 16 15:57:09] NOTICE[5524]: cdr.c:434 ast_cdr_free: CDR on channel
> 'Zap/5-1' not posted
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Executing [076152278 at default:2] Hangup("IAX2/Agent26-28", "") in new
> stack
>   == Spawn extension (default, 076152278, 2) exited non-zero on
> 'IAX2/Agent26-28'
>     -- Hungup 'IAX2/Agent26-28'
> [Nov 16 15:57:09] NOTICE[2867]: chan_zap.c:8464 pri_dchannel: PRI got event:
> Alarm (4) on Primary D-channel of span 1
> [Nov 16 15:57:09] WARNING[2867]: chan_zap.c:2393 pri_find_dchan: No
> D-channels available!  Using Primary channel 16 as D-channel anyway!
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 24
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 25: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 25
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 26: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 26
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 27: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 27
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 28: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 28
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 29: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 29
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 30: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 30
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
> alarm on channel 31: Red Alarm
> [Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
> disable echo cancellation on channel 31
> [Nov 16 15:57:10] ERROR[2867]: chan_zap.c:8178 zt_pri_error: !! Got reject
> for frame 101, retransmitting frame 101 now, updating n_r!
> [Nov 16 15:57:10] ERROR[2867]: chan_zap.c:8178 zt_pri_error: !! Got reject
> for frame 101, retransmitting frame 102 now, updating n_r!
> [Nov 16 15:57:10] ERROR[2867]: chan_zap.c:8178 zt_pri_error: !! Got reject
> for frame 101, retransmitting frame 103 now, updating n_r!
> [Nov 16 15:57:10] ERROR[2867]: chan_zap.c:8178 zt_pri_error: !! Got reject
> for frame 101, retransmitting frame 104 now, updating n_r!
>
> Here are some system Information:
>
> The installed card:
> pci:0000:04:09.0     wcte11xp+    e159:0001 Digium Wildcard TE110P T1/E1
> Board
>
> Computer details:
> Linux 2.6.22.9-61.fc6 #1 SMP Thu Sep 27 17:45:57 EDT 2007 i686 athlon i386
> GNU/Linux
> CPU: Intel Core2Duo 2.400 MHz E6600
> MoBo: AB9Pro
> RAM: 2GByte
> Linux: Fedora Core 6
> Asterisk: 1.4.13
> Zaptel: 1.4.6
> Libpri: 1.4.2
>
> Configuration of zaptel.conf:
>
> loadzone=de
> defaultzone=de
>
> span=1,1,0,ccs,hdb3,crc4
> bchan=1-15,17-31
> dchan=16
>
> channels = 1
>
> zapata.conf:
>
> [trunkgroups]
>
> [channels]
> overlapdial = yes
> language = de
> switchtype = euroisdn
> pridialplan = unknown
> prilocaldialplan = unknown
> usercallerid = no
> hidecallerid = yes
> callwaiting = yes
> usecallingpres = yes
> callwaitingcallerid = no
> threewaycalling = no
> transfer = yes
> cancallforward = yes
> callreturn = yes
> echocancel = yes
> echocancelwhenbridged = no
> resetinterval = never
> rxgain = 0.0
> txgain = 0.0
> group = 1
> callgroup = 1
> pickupgroup = 1
> immediate = no
>
> context = default
> signalling = pri_cpe
> channel => 1-15
> channel => 17-31
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   

-- 
Thank you and have a wonderful day,

Anthony Francis
Rockynet VOIP
(303) 444-7052 opt 2
voip at rockynet.com




More information about the asterisk-users mailing list