I have been having some problems with PRI and Asterisk, or maybe it is just me. It happens once maybe twice a day. I notice why it is happening, but I can’t seem to figure out a way to stop it from happening. I also notice that it is saying I don’t have a D channel defined. I am not sure why it is saying that either. After 5 or 6 seconds alarm cleared. Below are my details
If anyone has any suggestions/ideas it would be greatly appreciated.
Thanks,
Maran
Installed versions
Asterisk 1.4.21.2
Zaptel 1.4.11
libpri 1.4.5
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jul 21 10:07:34] NOTICE[2489] chan_zap.c: PRI got event: Alarm (4) on Primary D-channel of span 1
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Detected alarm on channel 1: Red Alarm
[Jul 21 10:07:34] WARNING[2489] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Unable to disable echo cancellation on channel 1
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Detected alarm on channel 2: Red Alarm
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Unable to disable echo cancellation on channel 2
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Detected alarm on channel 3: Red Alarm
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Unable to disable echo cancellation on channel 3
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Detected alarm on channel 4: Red Alarm
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Unable to disable echo cancellation on channel 4
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Detected alarm on channel 5: Red Alarm
[Jul 21 10:07:34] WARNING[2490] chan_zap.c: Unable to disable echo cancellation on channel 5
…
…
…
…
[Jul 21 10:07:41] NOTICE[2489] chan_zap.c: PRI got event: No more alarm (5) on Primary D-channel of span 1
[Jul 21 10:07:41] NOTICE[2490] chan_zap.c: Alarm cleared on channel 1
[Jul 21 10:07:41] NOTICE[2490] chan_zap.c: Alarm cleared on channel 2
[Jul 21 10:07:41] NOTICE[2490] chan_zap.c: Alarm cleared on channel 3
[Jul 21 10:07:41] NOTICE[2490] chan_zap.c: Alarm cleared on channel 4
[Jul 21 10:07:41] NOTICE[2490] chan_zap.c: Alarm cleared on channel 5
[Jul 21 10:07:41] NOTICE[2490] chan_zap.c: Alarm cleared on channel 6
[Jul 21 10:07:41] NOTICE[2490] chan_zap.c: Alarm cleared on channel 7
[Jul 21 10:07:41] NOTICE[2490] chan_zap.c: Alarm cleared on channel 8
root@fms-server:/var/log/asterisk# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
0: 25 0 0 0 IO-APIC-edge timer
1: 2 0 0 0 IO-APIC-edge i8042
4: 2 0 0 0 IO-APIC-edge
8: 0 0 0 0 IO-APIC-edge rtc0
9: 0 0 0 0 IO-APIC-fasteoi acpi
12: 4 0 0 0 IO-APIC-edge i8042
14: 0 0 0 0 IO-APIC-edge ata_piix
15: 0 0 0 0 IO-APIC-edge ata_piix
16: 0 0 0 0 IO-APIC-fasteoi uhci_hcd:usb3
17: 418842560 0 0 0 IO-APIC-fasteoi t1xxp
18: 0 0 0 0 IO-APIC-fasteoi pata_jmicron, ehci_hcd:usb1, uhci_hcd:usb7
19: 5627376 0 0 0 IO-APIC-fasteoi ata_piix, uhci_hcd:usb6
20: 2 0 0 0 IO-APIC-fasteoi ohci1394
21: 0 0 0 0 IO-APIC-fasteoi uhci_hcd:usb4
22: 382 0 0 0 IO-APIC-fasteoi HDA Intel
23: 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb5
27: 7406093 0 0 0 PCI-MSI-edge eth0
28: 0 0 0 0 PCI-MSI-edge i915
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 57189318 64876040 49259914 58410944 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
CNT: 0 0 0 0 Performance counter interrupts
PND: 0 0 0 0 Performance pending work
RES: 146728 95727 88108 90645 Rescheduling interrupts
CAL: 284352 521902 626561 437637 Function call interrupts
TLB: 416168 411261 1184468 1166477 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 1397 1397 1397 1397 Machine check polls
ERR: 0
MIS: 0
root@fms-server:~# cat /etc/zaptel.conf
Autogenerated by /usr/sbin/genzaptelconf – do not hand edit
Zaptel Configuration File
This file is parsed by the Zaptel Configurator, ztcfg
It must be in the module loading order
Span 1: WCT1/0 “Digium Wildcard E100P E1/PRA Card 0” (MASTER) HDB3/CCS/CRC4
#span=1,1,0,ccs,hdb3 #,crc4
span=1,1,1,ccs,hdb3 #,crc4
termtype: te
bchan=1-15,17-31
dchan=16
#hardhdlc=16
Global data
loadzone = us
defaultzone = us
root@fms-server:~#
root@fms-server:~# cat /etc/asterisk/zapata.conf
[trunkgroups]
[channels]
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
overlapdial=yes
signalling=pri_cpe
resetinterval=never
internationalprefix=00
nationalprefix=0
localprefix=
priindication=outofband
facilityenable=yes
usecallerid=yes
usecallingpres=no
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
rxgain=0.0
txgain=0.0
relaxdtmf=yes
group=1
signalling=pri_cpe
overlapdial=yes
immediate=no
context=incoming-from-pri
channel => 1-15,17-31