PRI Line reset and call drop

Hi All,

I’m running asterisk 1.4.5 with Zaptel 1.4.6 (just upgraded, previously 1.4.5). Every now and then all channels on the PRI line get reseted and all active calls are droppped abruptly(at the same time). When I connect the same PRI line to my epbx system everything goes fine (No call drop, thus: not a PRI line issue). Can anyone point me in the right direction? Is this something to do with my asterisk configuration or a faulty card (TE110)

Here is the error that I get when the calls drop:

[Nov 11 16:35:45] WARNING[2287]: chan_zap.c:2390 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 1: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 1
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 2: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 2
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 3: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 3
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 4: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 4
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 5: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 5
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 6: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 6
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 7: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 7
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 8: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 8
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 9: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 9
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 10: Yellow Alarm
[Nov 11 16:35:45] WARNING[3105]: chan_zap.c:3808 zt_handle_event: Detected alarm on channel 29: Yellow Alarm
== Spawn extension (default, 7777, 3) exited non-zero on ‘Zap/29-1’
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 10
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: – Hungup 'Zap/29-1’
Detected alarm on channel 11: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 11
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 12: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 12
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 13: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 13
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 14: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 14
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 15: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 15
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 17: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 17
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 18: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 18
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 19: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 19
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 20: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 20
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 21: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 21
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 22: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 22
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 23: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 23
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 24: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 24
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 25: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 25
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 26: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 26
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 27: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 27
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 28: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 28
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 30: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 30
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:6665 handle_init_event: Detected alarm on channel 31: Yellow Alarm
[Nov 11 16:35:45] WARNING[2288]: chan_zap.c:1464 zt_disable_ec: Unable to disable echo cancellation on channel 31
== Primary D-Channel on span 1 up
– B-channel 0/1 successfully restarted on span 1
– B-channel 0/2 successfully restarted on span 1
– B-channel 0/3 successfully restarted on span 1
– B-channel 0/4 successfully restarted on span 1
– B-channel 0/5 successfully restarted on span 1
– B-channel 0/6 successfully restarted on span 1
– B-channel 0/7 successfully restarted on span 1
– B-channel 0/8 successfully restarted on span 1
– B-channel 0/9 successfully restarted on span 1
– B-channel 0/10 successfully restarted on span 1
– B-channel 0/11 successfully restarted on span 1
– B-channel 0/12 successfully restarted on span 1
– B-channel 0/13 successfully restarted on span 1
– B-channel 0/14 successfully restarted on span 1
– B-channel 0/15 successfully restarted on span 1
– B-channel 0/17 successfully restarted on span 1
– B-channel 0/18 successfully restarted on span 1
– B-channel 0/19 successfully restarted on span 1
– B-channel 0/20 successfully restarted on span 1
– B-channel 0/21 successfully restarted on span 1
– B-channel 0/22 successfully restarted on span 1
– B-channel 0/23 successfully restarted on span 1
– B-channel 0/24 successfully restarted on span 1
– B-channel 0/25 successfully restarted on span 1
– B-channel 0/26 successfully restarted on span 1
– B-channel 0/27 successfully restarted on span 1
– B-channel 0/28 successfully restarted on span 1
– B-channel 0/29 successfully restarted on span 1
– B-channel 0/30 successfully restarted on span 1
– B-channel 0/31 successfully restarted on span 1

Here is my config settings:

zaptel.conf

span = 1,1,0,ccs,hdb3
bchan = 1-15
dchan = 16
bchan = 17-31
loadzone = uk
defaultzone = uk

zapata.conf

[channels]
language=en
context=default
;switchtype=dms100
switchtype=euroisdn
signalling=pri_cpe
resetinterval = 86400
;priindication = inband
;pritimer => T309,9000
callwaiting=no
echocancel=yes
txgain = 8.0
rxgain = 0.0
group=1
pickupgroup=1
channel => 1-15,17-31

cat /proc/interrupts

       CPU0       CPU1

0: 392491 387561 IO-APIC-edge timer
1: 3056 3060 IO-APIC-edge i8042
8: 1 0 IO-APIC-edge rtc
9: 1 0 IO-APIC-level acpi
12: 207 0 IO-APIC-edge i8042
14: 4504 4117 IO-APIC-edge libata
15: 14228 13413 IO-APIC-edge ide1
169: 182005 0 IO-APIC-level eth0
177: 1550662 1550980 IO-APIC-level wcte11xp
NMI: 0 0
LOC: 779952 779951
ERR: 0
MIS: 0

Any suggestions ?

Thanks for the help.

Josh

Hi

Your config shouldnt be droping calls but as it is, it will reset every 3600 seconds or so.

Also in almost all cases in the UK (which is what your loadzone is set to) we have crc4 enabled on the line. who is the pri from?

I have a working config at cyber-cottage.co.uk/wiki/ind … k_and_isdn

set the reset interval to never and possible enable crc4 and see how it goes,

Ian

Thanks Ian for your reply,

I’m located in India and my telco is BSNL. I have tried setting the resetinterval=never, but that does not help (rather the call drop is more frequent). I will be happy if the line stays stable for an hour and then reset (3600 sec) but as of now its reseting every 7-8 minutes.

With CRC enabled, the span does not come up.

Thanks,

Josh