Asterisk Echo Problem with Digium WCTE122

Hi,

  I'm Asterisk newbie, and I have a big problem with echo on one of my customers sites, I have an HP AMD QUAD Core server with 1GB RAM + Digium, Inc. Wildcard TE122 single-span T1/E1/J1 card with EC: VPM150M module,

The Dahdi Version is:

lombaspbx*CLI> dahdi show version
DAHDI Version: 2.2.1 Echo Canceller:

my /etc/dahdi/system.conf looks like that:

root@pbx# cat /etc/dahdi/system.conf

span=1,0,0,esf,b8zs
e&m=1-24
loadzone = us
defaultzone = us

my /etc/asterisk/chan_dahdi.conf looks like that:

root@pbx# cat /etc/asterisk/chan_dahdi.conf
[trunkgroups]

[channels]
language=es
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=no
usecallingpres=yes
echocancel=yes
echotraining=800
echocancelwhenbridged=no
rxgain=0.0
txgain=0.0
immediate=no
busydetect=no
busycount=15
callprogress=yes
relaxdtmf=yes
callerid=asreceived
faxdetect=incoming
signalling=>em_w
context=inbound
group=1
resetinterval=3600
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
callgroup=1
pickupgroup=1
channel => 1-24

What would be the problem? Please help me out,

Thanks and Regards,

Hello,

Have you tried with echotraining=no as the training will be done by the hardware module and not the software?

Please post also the output from the following commands:

dmesg dahdi_scan dahdi_hardware

HTH,
Ioan

First you need to install DAHDI 2.3.0. Unload all the current dahdi drivers, then run the command ‘dmesg -c’. Then load the drivers again. Run the command ‘dmesg’ and check if it finds the VPM or not. It should use firmware version 1.20. If you have any questions please contact Digium Support.

Hi,
Thanks for your support, i’ve changed the value echotraining to no and I’m waiting results from my customer, by the other hand here is my dmesg:

root@lombaspbx:~# dmesg

[ 6.895405] powernow-k8: Found 1 Quad-Core AMD Opteron™ Processor 1354 processors (4 cpu cores) (version 2.20.00)
[ 6.895450] powernow-k8: 0 : pstate 0 (2200 MHz)
[ 6.895452] powernow-k8: 1 : pstate 1 (2000 MHz)
[ 6.895454] powernow-k8: 2 : pstate 2 (1700 MHz)
[ 6.895455] powernow-k8: 3 : pstate 3 (1400 MHz)
[ 6.895456] powernow-k8: 4 : pstate 4 (1100 MHz)
[ 6.896026] registered taskstats version 1
[
[ 9.475939] kjournald starting. Commit interval 5 seconds
[ 9.475950] EXT3-fs: recovery complete.
[ 11.533934] ck804xrom ck804xrom_init_one(): Unable to register resource 0x00000000ff000000-0x00000000ffffffff - kernel bug?
[ 11.534029] resource map sanity check conflict: 0xff000000 0xffffffff 0xffa00000 0xffffffff reserved
[ 11.534036] ------------[ cut here ]------------
[ 11.534038] WARNING: at /build/buildd/linux-2.6.28/arch/x86/mm/ioremap.c:226 __ioremap_caller+0x349/0x390()
[ 11.534040] Modules linked in: ck804xrom(+) mtd chipreg pcspkr i2c_nforce2 map_funcs usbhid tg3 fbcon tileblit font bitblit softcursor
[ 11.534048] Pid: 907, comm: modprobe Not tainted 2.6.28-11-server #42-Ubuntu
[ 11.534050] Call Trace:
[ 11.534055] [] warn_on_slowpath+0x5f/0x90
[ 11.534059] [] ? default_spin_lock_flags+0x9/0x10
[ 11.534061] [] ? default_spin_lock_flags+0x9/0x10
[ 11.534064] [] __ioremap_caller+0x349/0x390
[ 11.534068] [] ? ck804xrom_init_one+0x1ab/0x5ca [ck804xrom]
[ 11.534071] [] ioremap_nocache+0x12/0x20
[ 11.534074] [] ck804xrom_init_one+0x1ab/0x5ca [ck804xrom]
[ 11.534077] [] init_ck804xrom+0x41/0x59 [ck804xrom]
[ 11.534080] [] ? init_ck804xrom+0x0/0x59 [ck804xrom]
[ 11.534083] [] do_one_initcall+0x3b/0x170
[ 11.534087] [] ? enqueue_entity+0x122/0x2b0
[ 11.534090] [] ? enqueue_task_fair+0x7b/0x80
[ 11.534092] [] ? wakeup_preempt_entity+0x59/0x60
[ 11.534094] [] ? check_preempt_wakeup+0x210/0x230
[ 11.534096] [] ? try_to_wake_up+0x12c/0x2e0
[ 11.534101] [] sys_init_module+0xad/0x1e0
[ 11.534103] [] system_call_fastpath+0x16/0x1b
[ 11.534105] —[ end trace 93b7284438f60b83 ]—

[ 14.899411] dahdi: Telephony Interface Registered on major 196
[ 14.899414] dahdi: Version: 2.2.1
[ 14.922385] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 18
[ 14.922397] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[ 15.773399] tg3: eth0: Link is up at 1000 Mbps, full duplex.
[ 15.773401] tg3: eth0: Flow control is off for TX and off for RX.
[ 15.773572] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 19.730020] dahdi_vpmadt032_loader: module license ‘Digium Commercial’ taints kernel.
[ 24.101827] wcte12xp 0000:01:08.0: Booting VPMADT032
[ 26.070008] eth0: no IPv6 routers present
[ 34.199216] wcte12xp: VPM present and operational (Firmware version 120)
[ 34.199241] wcte12xp: Setting up global serial parameters for T1
[ 34.199562] wcte12xp: Found a Wildcard TE122
[ 34.471221] dahdi: Registered tone zone 0 (United States / North America)
[ 34.471231] wcte12xp: Span configured for D4/AMI
[ 37.094012] warning: `dhcpd3’ uses 32-bit capabilities (legacy support in use)
[33645.412566] wcte12xp: Setting yellow alarm
[65414.335848] wcte12xp: Span configured for ESF/B8ZS
[67053.382487] Freed a Wildcard TE12xP.
[67053.407797] dahdi: Telephony Interface Unloaded
[67074.536915] dahdi: Telephony Interface Registered on major 196
[67074.536919] dahdi: Version: 2.2.1
[67074.552172] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[67082.310245] wcte12xp 0000:01:08.0: Booting VPMADT032
[67092.549700] wcte12xp: VPM present and operational (Firmware version 120)
[67092.549738] wcte12xp: Setting up global serial parameters for T1
[67092.550434] wcte12xp: Found a Wildcard TE122
[67092.647082] dahdi: Registered tone zone 0 (United States / North America)
[67092.647100] wcte12xp: Span configured for ESF/B8ZS
[67096.541469] wcte12xp: Setting yellow alarm
[67098.148805] wcte12xp: Span configured for ESF/B8ZS
[67132.272084] wcte12xp 0000:01:08.0: PCI INT A disabled
[67132.272880] Freed a Wildcard TE12xP.
[67132.302560] dahdi: Telephony Interface Unloaded
[67149.299597] dahdi: Telephony Interface Registered on major 196
[67149.299602] dahdi: Version: 2.2.1
[67149.312667] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[67157.069996] wcte12xp 0000:01:08.0: Booting VPMADT032
[67167.229417] wcte12xp: VPM present and operational (Firmware version 120)
[67167.229455] wcte12xp: Setting up global serial parameters for T1
[67167.230081] wcte12xp: Found a Wildcard TE122
[67167.309182] dahdi: Registered tone zone 0 (United States / North America)
[67167.309200] wcte12xp: Span configured for ESF/AMI
[67171.221187] wcte12xp: Setting yellow alarm
[67207.800177] wcte12xp 0000:01:08.0: PCI INT A disabled
[67207.800964] Freed a Wildcard TE12xP.
[67207.826888] dahdi: Telephony Interface Unloaded
[67236.259537] dahdi: Telephony Interface Registered on major 196
[67236.259542] dahdi: Version: 2.2.1
[67236.271417] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[67244.030006] wcte12xp 0000:01:08.0: Booting VPMADT032
[67254.199431] wcte12xp: VPM present and operational (Firmware version 120)
[67254.199468] wcte12xp: Setting up global serial parameters for T1
[67254.200116] wcte12xp: Found a Wildcard TE122
[67254.276506] dahdi: Registered tone zone 0 (United States / North America)
[67254.276524] wcte12xp: Span configured for ESF/B8ZS
[67258.201202] wcte12xp: Setting yellow alarm
[67505.624086] wcte12xp 0000:01:08.0: PCI INT A disabled
[67505.624876] Freed a Wildcard TE12xP.
[67505.651320] dahdi: Telephony Interface Unloaded
[67505.667062] dahdi: Telephony Interface Registered on major 196
[67505.667067] dahdi: Version: 2.2.1
[67505.679838] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[67513.429991] wcte12xp 0000:01:08.0: Booting VPMADT032
[67523.559398] wcte12xp: VPM present and operational (Firmware version 120)
[67523.559434] wcte12xp: Setting up global serial parameters for T1
[67523.560084] wcte12xp: Found a Wildcard TE122
[67523.638569] dahdi: Registered tone zone 0 (United States / North America)
[67523.638587] wcte12xp: Span configured for D4/AMI
[67527.011932] wcte12xp: Setting yellow alarm
[67598.249021] wcte12xp 0000:01:08.0: PCI INT A disabled
[67598.249954] Freed a Wildcard TE12xP.
[67598.274102] dahdi: Telephony Interface Unloaded
[67598.288668] dahdi: Telephony Interface Registered on major 196
[67598.288672] dahdi: Version: 2.2.1
[67598.300338] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[67606.049763] wcte12xp 0000:01:08.0: Booting VPMADT032
[67616.179169] wcte12xp: VPM present and operational (Firmware version 120)
[67616.179207] wcte12xp: Setting up global serial parameters for T1
[67616.179889] wcte12xp: Found a Wildcard TE122
[67616.256574] dahdi: Registered tone zone 0 (United States / North America)
[67616.256592] wcte12xp: Span configured for ESF/AMI
[67620.181942] wcte12xp: Setting yellow alarm
[67624.305668] wcte12xp: Span configured for ESF/AMI
[67703.791438] wcte12xp 0000:01:08.0: PCI INT A disabled
[67703.792222] Freed a Wildcard TE12xP.
[67703.818523] dahdi: Telephony Interface Unloaded
[67703.834510] dahdi: Telephony Interface Registered on major 196
[67703.834516] dahdi: Version: 2.2.1
[67703.846912] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[67711.609744] wcte12xp 0000:01:08.0: Booting VPMADT032
[67721.759160] wcte12xp: VPM present and operational (Firmware version 120)
[67721.759196] wcte12xp: Setting up global serial parameters for T1
[67721.759855] wcte12xp: Found a Wildcard TE122
[67721.836779] dahdi: Registered tone zone 0 (United States / North America)
[67721.836796] wcte12xp: Span configured for ESF/B8ZS
[67725.741926] wcte12xp: Setting yellow alarm
[67796.241672] wcte12xp: Clearing yellow alarm
[516643.607235] wcte12xp 0000:01:08.0: Unable to set SW Companding on channel 21 (reason 4)
[689976.346424] dahdi_echocan_sec: Registered echo canceler ‘SEC’
[689979.065828] dahdi_echocan_kb1: Registered echo canceler ‘KB1’
[689980.730794] dahdi_echocan_mg2: Registered echo canceler ‘MG2’
[1204632.571354] wcte12xp 0000:01:08.0: Unable to set SW Companding on channel 22 (reason 4)
[1287215.184948] wcte12xp: Setting yellow alarm
[1287667.075741] wcte12xp: Clearing yellow alarm
[1289477.221723] wcte12xp: Setting yellow alarm
[1291614.115392] wcte12xp: Clearing yellow alarm
[1292973.815269] wcte12xp: Setting yellow alarm
[1293264.084677] wcte12xp 0000:01:08.0: PCI INT A disabled
[1293264.085296] Freed a Wildcard TE12xP.
[1293264.110216] dahdi: Telephony Interface Unloaded
[1293264.196226] dahdi: Telephony Interface Registered on major 196
[1293264.196231] dahdi: Version: 2.2.1
[1293264.236204] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[1293272.005254] wcte12xp 0000:01:08.0: Booting VPMADT032
[1293282.293723] wcte12xp: VPM present and operational (Firmware version 120)
[1293282.293771] wcte12xp: Setting up global serial parameters for T1
[1293282.294404] wcte12xp: Found a Wildcard TE122
[1293282.901538] dahdi: Registered tone zone 0 (United States / North America)
[1293282.901555] wcte12xp: Span configured for ESF/B8ZS
[1293286.985794] wcte12xp: Setting yellow alarm
[1293372.161878] wcte12xp: Clearing yellow alarm
[2093575.058434] wcte12xp 0000:01:08.0: Missed interrupt. Increasing latency to 9 ms in order to compensate.
[2093575.613774] usb 2-8: new low speed USB device using ohci_hcd and address 3
[2093575.852053] usb 2-8: configuration #1 chosen from 1 choice
[2093575.913362] input: Dell Dell USB Keyboard as /devices/pci0000:00/0000:00:02.0/usb2/2-8/2-8:1.0/input/input6
[2093575.983869] dell 0003:413C:2105.0003: input,hidraw2: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:00:02.0-8/input0
[2101285.212041] usb 2-8: USB disconnect, address 3
[2506839.842893] wcte12xp: Span configured for ESF/B8ZS
[2518166.016081] wcte12xp: Span configured for ESF/B8ZS
[2518166.035140] dahdi_echocan_mg2: Registered echo canceler ‘MG2’
[2666874.591160] wcte12xp 0000:01:08.0: PCI INT A disabled
[2666874.591983] Freed a Wildcard TE12xP.
[2666874.637256] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[2666882.404294] wcte12xp 0000:01:08.0: Booting VPMADT032
[2666892.579720] wcte12xp: VPM present and operational (Firmware version 120)
[2666892.579758] wcte12xp: Setting up global serial parameters for T1
[2666892.580384] wcte12xp: Found a Wildcard TE122
[2666892.658187] wcte12xp: Span configured for ESF/B8ZS
[2667774.545134] wcte12xp 0000:01:08.0: PCI INT A disabled
[2667774.545943] Freed a Wildcard TE12xP.
[2667774.580541] dahdi: Telephony Interface Unloaded
[2667774.596094] dahdi: Telephony Interface Registered on major 196
[2667774.596099] dahdi: Version: 2.2.1
[2667774.608371] wcte12xp 0000:01:08.0: PCI INT A -> Link[LNKB] -> GSI 18 (level, low) -> IRQ 18
[2667782.359742] wcte12xp 0000:01:08.0: Booting VPMADT032
[2667792.523163] wcte12xp: VPM present and operational (Firmware version 120)
[2667792.523199] wcte12xp: Setting up global serial parameters for T1
[2667792.523822] wcte12xp: Found a Wildcard TE122
[2667792.601886] dahdi: Registered tone zone 0 (United States / North America)
[2667792.601904] wcte12xp: Span configured for ESF/B8ZS
root@lombaspbx:~#

My dahdi_hardware is:

root@lombaspbx:~# dahdi_hardware
pci:0000:01:08.0 wcte12xp+ d161:8001 Wildcard TE122

My Dahdi Scan is:

root@lombaspbx:~# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TE122 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Wildcard TE122 (VPMADT032)
location=PCI Bus 01 Slot 09
basechan=1
totchans=24
irq=18
type=digital-T1
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI
framing_opts=ESF,D4
coding=B8ZS
framing=ESF

Thanks for all…

On a some what related note, you will want to load the wcte12xp driver with the latency option so that it doesn’t reset several times.

modprobe wcte12xp latency=12

[quote=“angler”][quote=“jlramos”]
[2093575.058434] wcte12xp 0000:01:08.0: Missed interrupt. Increasing latency to 9 ms in order to compensate.
[/quote]

On a some what related note, you will want to load the wcte12xp driver with the latency option so that it doesn’t reset several times.

modprobe wcte12xp latency=12 [/quote]

Hi, I’ve changed my Dahdi Version to Dahdi 2.3.0+2.3.0 and Now I’m waiting for my customer feedback… Any Other Suggestions? if my problem still happen?

[quote=“jlramos”]
Hi, I’ve changed my Dahdi Version to Dahdi 2.3.0+2.3.0 and Now I’m waiting for my customer feedback… Any Other Suggestions? if my problem still happen?[/quote]

Contact Digium technical support if echo still occurs.

[quote=“angler”][quote=“jlramos”]
Hi, I’ve changed my Dahdi Version to Dahdi 2.3.0+2.3.0 and Now I’m waiting for my customer feedback… Any Other Suggestions? if my problem still happen?[/quote]

Contact Digium technical support if echo still occurs.[/quote]

I’m looking forward for it, Thanks for your support :smile:

[quote=“jlramos”][quote=“angler”][quote=“jlramos”]
Hi, I’ve changed my Dahdi Version to Dahdi 2.3.0+2.3.0 and Now I’m waiting for my customer feedback… Any Other Suggestions? if my problem still happen?[/quote]

Contact Digium technical support if echo still occurs.[/quote]

I’m looking forward for it, Thanks for your support :smile:…[/quote]

:frowning:, I still have an Echo Calls :frowning: