keywords:pbx ip pbx voip gateway gsm gateway

× Questions about D110/210/410 T1/E1/J1 PRI Cards

40 < bad quality D410E 4x2,4Ghz

9 years 1 month ago #6140 by grzegorz
Hi

I have problem like in http://bbs.openvox.cn/viewthread.php?tid=891& ;extra=page%3D3

When I have more than 40 calls in one time I get very low quality, sound is terrible.

Load balacing is 0.5

My system slackware 13.0 64bits,
Processor: Intel(R) Xeon(R) CPU 4 X3430 @ 2.40GHz
Dahdi 2.4.0
libpri 1.4.11.4
asterisk 1.6.11

/proc/interupts
CPU0 CPU1 CPU2 CPU3
0: 120 0 0 5851623 IO-APIC-edge timer
1: 0 0 0 3 IO-APIC-edge i8042
4: 0 0 0 1 IO-APIC-edge
8: 0 0 0 2 IO-APIC-edge rtc0
9: 0 0 0 1 IO-APIC-fasteoi acpi
14: 23446 0 0 7000 IO-APIC-edge ata_piix
15: 0 0 0 0 IO-APIC-edge ata_piix
16: 1078710 952617 4643697 0 IO-APIC-fasteoi wct4xxp
20: 0 27 0 0 IO-APIC-fasteoi ehci_hcd:usb2
21: 1196 0 0 0 IO-APIC-fasteoi ehci_hcd:usb1
23: 6521 0 54893 0 IO-APIC-fasteoi ata_piix
29: 3081688 0 0 0 PCI-MSI-edge eth0
30: 0 17453 0 3274 PCI-MSI-edge eth1-Q0
31: 0 0 0 2 PCI-MSI-edge eth1
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 5860002 5860990 5861586 9608 Local timer interrupts
RES: 1076725 147538 164061 88295 Rescheduling interrupts
CAL: 37 63 63 47 Function call interrupts
TLB: 2370 2520 2683 2255 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
SPU: 0 0 0 0 Spurious interrupts
ERR: 0
MIS: 0

Eryler I was use only sangoma quad without hardware echocancelation and on the same machine was working fine with 120 councurent calls.

my. dahdi.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Mon Sep 6 14:33:24 2010
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
span=1,1,1,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
hardhdlc=16
echocanceller=mg2,1-15,17-31

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4
span=2,2,1,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
hardhdlc=47
echocanceller=mg2,32-46,48-62

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" HDB3/CCS/CRC4
span=3,3,1,ccs,hdb3,crc4
# termtype: te
bchan=63-77,79-93
hardhdlc=78
echocanceller=mg2,63-77,79-93

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" HDB3/CCS/CRC4
span=4,4,1,ccs,hdb3,crc4
# termtype: te
bchan=94-108,110-124
hardhdlc=109
echocanceller=mg2,94-108,110-124

# Global data

loadzone = pl
defaultzone = pl



root@asterisk7:/var/local# cat /etc/asterisk/chan_dahdi.conf
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2010-02-04
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=no
hidecallerid=yes
restrictcid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=no
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A108 port 1 [slot:4 bus:4 span:1] <wanpipe1>
switchtype=euroisdn
context=incoming
group=1
echocancel=yes
signalling=pri_cpe
channel =>1-15,17-31

;Sangoma A108 port 2 [slot:4 bus:4 span:2] <wanpipe2>
switchtype=euroisdn
context=incoming
group=1
echocancel=yes
signalling=pri_cpe
channel =>32-46,48-62

;Sangoma A108 port 3 [slot:4 bus:4 span:3] <wanpipe3>
switchtype=euroisdn
context=incoming
group=1
echocancel=yes
signalling=pri_cpe
channel =>63-77,79-93

;Sangoma A108 port 4 [slot:4 bus:4 span:4] <wanpipe4>
switchtype=euroisdn
context=incoming
group=1
echocancel=yes
signalling=pri_cpe
channel =>94-108,110-124

lspci -vvvv
02:00.0 Communication controller: Digium, Inc. Wildcard TE410P quad-span T1/E1/J1 card 3.3V (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <;PERR- INTx-
Latency: 32
Interrupt: pin A routed to IRQ 16
Region 0: Memory at de100000 (32-bit, non-prefetchable)
Kernel driver in use: wct4xxp
Kernel modules: wct4xxp


please help what is wrong ??


i] Last edited by grzegorz at 2010-9-7 17:15 [/i
9 years 1 month ago #6141 by Denins.Den
Please remove the echocanceller=mg2,xxxx in system.conf and reboot system to test.
show the server's dmesg information
9 years 1 month ago #6142 by grzegorz
When I disable echo cancelation then works fine but on sangoma was work fine with echocancelation on.

dmesg


usb 2-1: new high speed USB device using ehci_hcd and address 2
EXT3-fs: sda2: couldn't mount because of unsupported optional features (240).
EXT2-fs: sda2: couldn't mount because of unsupported optional features (240).
EXT4-fs: barriers enabled
EXT2-fs: sda2: couldn't mount because of unsupported optional features (240).
EXT4-fs: barriers enabled
kjournald2 starting: pid 1491, dev sda2:8, commit interval 5 seconds
EXT4-fs: delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs: mounted filesystem sda2 with ordered data mode
VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
Freeing unused kernel memory: 436k freed
usb 2-1: New USB device found, idVendor=8087, idProduct=0020
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-1: configuration #1 chosen from 1 choice
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 8 ports detected
ACPI: AC Adapter [PSD] (on-line)
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
ACPI: Power Button (CM) [PWRB]
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 2:0:0:0: Attached scsi generic sg1 type 5
ACPI: CPU0 (power states: C1[C1] C2[C3])
processor ACPI_CPU:00: registered as cooling_device0
ACPI: CPU1 (power states: C1[C1] C2[C3])
processor ACPI_CPU:02: registered as cooling_device1
ACPI: CPU2 (power states: C1[C1] C2[C3])
processor ACPI_CPU:04: registered as cooling_device2
ACPI: CPU3 (power states: C1[C1] C2[C3])
processor ACPI_CPU:06: registered as cooling_device3
i2c_core: exports duplicate symbol i2c_smbus_xfer (owned by kernel)
rtc_cmos 00:06: RTC can wake from S4
rtc_cmos 00:06: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month, y3k, 114 bytes nvram
i801_smbus 0000:00:1f.3: PCI INT D -> GSI 20 (level, low) -> IRQ 20
e1000e: Intel(R) PRO/1000 Network Driver - 1.2.10-NAPI
e1000e: Copyright(c) 1999 - 2010 Intel Corporation.
e1000e 0000:00:19.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
e1000e 0000:00:19.0: setting latency timer to 64
e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
e1000e 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:22:4d:37:58:9b
e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
e1000e 0000:00:19.0: eth0: MAC: 10, PHY: 9, PBA No: 313130-032
e1000e 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
e1000e 0000:06:00.0: setting latency timer to 64
e1000e 0000:06:00.0: irq 30 for MSI/MSI-X
e1000e 0000:06:00.0: irq 31 for MSI/MSI-X
e1000e 0000:06:00.0: Disabling ASPM L0s
e1000e 0000:06:00.0: eth1: (PCI Express:2.5GB/s:Width x1) 00:22:4d:37:58:9a
e1000e 0000:06:00.0: Disabling ASPM L0s
e1000e 0000:06:00.0: eth1: (PCI Express:2.5GB/s:Width x1) 00:22:4d:37:58:9a
e1000e 0000:06:00.0: eth1: Intel(R) PRO/1000 Network Connection
e1000e 0000:06:00.0: eth1: MAC: 4, PHY: 8, PBA No: 313132-030
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.4.0
wct4xxp 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
wct4xxp 0000:02:00.0: Found TE4XXP at base address de100000, remapped to ffffc2000186e000
wct4xxp 0000:02:00.0: DMA memory base of size 2048 at ffff88007c0c8000. Read: ffff88007c0c8400 and Write ffff88007c0c8000
wct4xxp 0000:02:00.0: Firmware Version: c01a0000
wct4xxp 0000:02:00.0: Burst Mode: On
wct4xxp 0000:02:00.0: FALC Framer Version: 2.1 or earlier
wct4xxp 0000:02:00.0: Board ID: 00
wct4xxp 0000:02:00.0: Reg 0: 0x7c0c8400
wct4xxp 0000:02:00.0: Reg 1: 0x7c0c8000
wct4xxp 0000:02:00.0: Reg 2: 0xde100008
wct4xxp 0000:02:00.0: Reg 3: 0x00000000
wct4xxp 0000:02:00.0: Reg 4: 0x00000000
wct4xxp 0000:02:00.0: Reg 5: 0xde100014
wct4xxp 0000:02:00.0: Reg 6: 0xc01a0000
wct4xxp 0000:02:00.0: Reg 7: 0x00001f00
wct4xxp 0000:02:00.0: Reg 8: 0x00000000
wct4xxp 0000:02:00.0: Reg 9: 0x00000000
wct4xxp 0000:02:00.0: Reg 10: 0xde100028
IRQ 16/wct4xxp: IRQF_DISABLED is not guaranteed on shared IRQs
wct4xxp 0000:02:00.0: Found a Wildcard: Wildcard TE410P (2nd Gen)
wct4xxp 0000:02:00.0: TE4XXP: Launching card: 0
Adding 7903908k swap on /dev/sda5. Priority:-1 extents:1 across:7903908k
fuse init (API version 7.11)
EXT4 FS on sda2, internal journal on sda2:8
dahdi: Detected time shift.
ppdev: user-space parallel port driver
lp: driver loaded but no devices found
EXT4-fs: barriers enabled
kjournald2 starting: pid 3592, dev sda3:8, commit interval 5 seconds
EXT4 FS on sda3, internal journal on sda3:8
EXT4-fs: delayed allocation enabled
EXT4-fs: file extents enabled
EXT4-fs: mballoc enabled
EXT4-fs: mounted filesystem sda3 with ordered data mode
e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
e1000e: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
e1000e 0000:06:00.0: eth1: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
dahdi_echocan_mg2: Registered echo canceler 'MG2'
dahdi: Registered tone zone 23 (Poland)
wct4xxp 0000:02:00.0: TE4XXP: Span 1 configured for CCS/HDB3/CRC4
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0081
wct4xxp 0000:02:00.0: RCLK source set to span 1
wct4xxp 0000:02:00.0: Recovered timing mode, RCLK set to span 1
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0081
wct4xxp 0000:02:00.0: SPAN 1: Primary Sync Source
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000003, CIS = 0081
wct4xxp 0000:02:00.0: Reg 5 is de100014
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0081
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is de100014
wct4xxp 0000:02:00.0: VPM450: Not Present
wct4xxp 0000:02:00.0: TE4XXP: Span 2 configured for CCS/HDB3/CRC4
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0083
wct4xxp 0000:02:00.0: RCLK source set to span 1
wct4xxp 0000:02:00.0: Recovered timing mode, RCLK set to span 1
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0082
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0082
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0082
wct4xxp 0000:02:00.0: SPAN 2: Secondary Sync Source
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0082
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is de100014
wct4xxp 0000:02:00.0: VPM450: Not Present
wct4xxp 0000:02:00.0: TE4XXP: Span 3 configured for CCS/HDB3/CRC4
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0084
wct4xxp 0000:02:00.0: RCLK source set to span 1
wct4xxp 0000:02:00.0: Recovered timing mode, RCLK set to span 1
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0084
wct4xxp 0000:02:00.0: SPAN 3: Tertiary Sync Source
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0084
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0084
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0085
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0084
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000002, CIS = 0080
wct4xxp 0000:02:00.0: Reg 5 is de100014
wct4xxp 0000:02:00.0: VPM450: Not Present
wct4xxp 0000:02:00.0: TE4XXP: Span 4 configured for CCS/HDB3/CRC4
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0088
wct4xxp 0000:02:00.0: TE4XXP: Span 4 configured for CCS/HDB3/CRC4
wct4xxp 0000:02:00.0: 2G: Got interrupt, status = 00000001, CIS = 0088
wct4xxp 0000:02:00.0: RCLK source set to span 1
wct4xxp 0000:02:00.0: Recovered timing mode, RCLK set to span 1
wct4xxp 0000:02:00.0: SPAN 4: Quaternary Sync Source
wct4xxp 0000:02:00.0: VPM450: Not Present
eth0: no IPv6 routers present
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
eth1: no IPv6 routers present
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 17
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 5
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 26
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 7
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 34
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 29
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 9
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 31
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 27
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 4
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 19
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 3
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 35
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 12
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 29
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 19
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 23
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 31
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 20
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 4
dahdi: Disabled echo canceller NLP because of CED rx detected on channel 8
9 years 1 month ago #6143 by Denins.Den
Can you tell me how many PRI port are in your sangoma card?
9 years 1 month ago #6144 by grzegorz
the same 4 x E1 ,
A104 Quad Voice and Data Card
thx
Grzegorz
9 years 1 month ago #6146 by Denins.Den
Did the A104 have hardware echocancel?
Time to create page: 0.024 seconds
Powered by Kunena Forum