Disable software echo cancellation

hinzinho

Joined
Sep 18, 2009
Messages
461
Likes
0
Points
0
#1
I have purchased a Digium - Analog Echo Cancellation Module (1VPMADT032F) for my Digium TE121 card.

How can I disable the software echo cancellation in Elastix so I can install the hardware version? Which is better, the hardware module or the oslec software?
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
Properly installed, the hardware ec will be noticed and the software one disabled.
The hardware will work better than any form of software.
 

leiw3248

Joined
Apr 21, 2008
Messages
476
Likes
0
Points
0
#3
Hello

I never use hardware echo cancellation, is it auto install?

Thank !
 

mbit

Joined
Jul 4, 2007
Messages
466
Likes
0
Points
0
#4
Have you checked in your /var/log/boot.log that the module is actually loading?
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#5
leiw3248 said:
Hello

I never use hardware echo cancellation, is it auto install?

Thank !
Only if you have it, if so then largely yes.
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#6
mbit said:
Have you checked in your /var/log/boot.log that the module is actually loading?
???, in Elastix/Centos?, perhaps you mean /var/log/messages, (which is far less ephemeral and informational while loading drivers)
 

mbit

Joined
Jul 4, 2007
Messages
466
Likes
0
Points
0
#7
Yes it will be in one of the 2 log files.

Last time i installed one of the echo modules I looked through the log file and the echo module was not loading because there was a problem in the zaptel rpm. This may not be the case since it has gone to Dahdi but it would be worth checking.
 

hinzinho

Joined
Sep 18, 2009
Messages
461
Likes
0
Points
0
#8
I have installed hw echo cancellation module into my card and use Elastix "Hardware Detection" to rescan my hardware. From the var/log/messages log, the system detected the module. However, it still seems like the system is using the software echo cancellation (unless I am reading it wrong). How can I disable the software echo?


/var/log/messages
Code:
Jan  9 11:29:51 elastix kernel: DAHDI Dynamic Span support unloaded
Jan  9 11:29:51 elastix kernel: Unified AP4XX PCI Card Driver Cleanup
Jan  9 11:29:51 elastix kernel: usbcore: deregistering driver xpp_usb
Jan  9 11:29:51 elastix kernel: Freed a Wildcard
Jan  9 11:29:51 elastix kernel: ACPI: PCI interrupt for device 0000:06:08.0 disabled
Jan  9 11:29:51 elastix kernel: Freed a Wildcard TE12xP.
Jan  9 11:29:51 elastix kernel: PCI: Enabling device 0000:06:08.0 (0310 -> 0313)
Jan  9 11:29:51 elastix kernel: ACPI: PCI Interrupt 0000:06:08.0[A] -> GSI 16 (level, low) -> IRQ 169
Jan  9 11:30:08 elastix kernel: wcte12xp: VPM present and operational (Firmware version 117)
Jan  9 11:30:08 elastix kernel: wcte12xp: Setting up global serial parameters for T1
Jan  9 11:30:08 elastix kernel: wcte12xp: Found a Wildcard TE121
Jan  9 11:30:08 elastix kernel: ACPI: PCI Interrupt 0000:11:01.0[A] -> GSI 23 (level, low) -> IRQ 50
Jan  9 11:30:08 elastix kernel: Freshmaker version: 73
Jan  9 11:30:08 elastix kernel: Freshmaker passed register test
Jan  9 11:30:09 elastix kernel: Module 0: Installed -- AUTO FXS/DPO
Jan  9 11:30:09 elastix kernel: Module 1: Not installed
Jan  9 11:30:09 elastix kernel: Module 2: Not installed
Jan  9 11:30:09 elastix kernel: Module 3: Not installed
Jan  9 11:30:09 elastix kernel: Found a Wildcard TDM: Wildcard TDM400P REV I (1 modules)
Jan  9 11:30:09 elastix kernel: dahdi_transcode: Loaded.
Jan  9 11:30:09 elastix kernel: INFO-xpp: revision trunk-r6963 MAX_XPDS=64 (8*8)
Jan  9 11:30:09 elastix kernel: INFO-xpp: FEATURE: with BRISTUFF support
Jan  9 11:30:09 elastix kernel: INFO-xpp: FEATURE: with PROTOCOL_DEBUG
Jan  9 11:30:09 elastix kernel: INFO-xpp: FEATURE: with sync_tick() from DAHDI
Jan  9 11:30:09 elastix kernel: INFO-xpp_usb: revision trunk-r6963
Jan  9 11:30:09 elastix kernel: usbcore: registered new driver xpp_usb
Jan  9 11:30:09 elastix kernel: Unified AP4XX PCI Card Driver
Jan  9 11:30:09 elastix kernel: DAHDI Dynamic Span support LOADED
Jan  9 11:30:09 elastix kernel: wcte12xp: Span configured for ESF/B8ZS
Jan  9 11:30:09 elastix kernel: wcte12xp: Span configured for ESF/B8ZS
Jan  9 11:30:09 elastix kernel: wcte12xp: Setting yellow alarm
Jan  9 11:30:09 elastix kernel: wcte12xp: Span configured for ESF/B8ZS
Jan  9 11:30:10 elastix kernel: wcte12xp: Span configured for ESF/B8ZS
Jan  9 11:30:10 elastix kernel: All TDMoE multiframe span groups are active.
When I run the command dahdi restart, I see this:
Code:
[root@elastix log]# service dahdi restart
Unloading DAHDI hardware modules: ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module dahdi is in use by dahdi_echocan_oslec
error
Loading DAHDI hardware modules:
  wct4xxp:                                                 [  OK  ]
  wcte12xp:                                                [  OK  ]
  wct1xxp:                                                 [  OK  ]
  wcte11xp:                                                [  OK  ]
  wctdm24xxp:                                              [  OK  ]
  wcfxo:                                                   [  OK  ]
  wctdm:                                                   [  OK  ]
  wcb4xxp:                                                 [  OK  ]
  wctc4xxp:                                                [  OK  ]
  xpp_usb:                                                 [  OK  ]
  opvxa1200:                                               [  OK  ]
  ystdm8xx:                                                [  OK  ]
  ystdm16xx:                                               [  OK  ]
  ap400:                                                   [  OK  ]
  dahdi_dynamic_eth:                                       [  OK  ]
  dahdi_dynamic_ethmf:                                     [  OK  ]
  ax1600p:                                                 [  OK  ]
  rxt1:  DAHDI Tools Version - 2.2.0

DAHDI Version: 2.2.0.2
Echo Canceller(s): OSLEC
Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 15)
Channel 16: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 23)
Channel 24: D-channel (Default) (Echo Canceler: none) (Slaves: 24)
Channel 25: FXO Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 25)

25 channels to configure.

Changing signalling on channel 1 from Unused to Clear channel
Setting echocan for channel 1 to oslec
Changing signalling on channel 2 from Unused to Clear channel
Setting echocan for channel 2 to oslec
Changing signalling on channel 3 from Unused to Clear channel
Setting echocan for channel 3 to oslec
Changing signalling on channel 4 from Unused to Clear channel
Setting echocan for channel 4 to oslec
Changing signalling on channel 5 from Unused to Clear channel
Setting echocan for channel 5 to oslec
Changing signalling on channel 6 from Unused to Clear channel
Setting echocan for channel 6 to oslec
Changing signalling on channel 7 from Unused to Clear channel
Setting echocan for channel 7 to oslec
Changing signalling on channel 8 from Unused to Clear channel
Setting echocan for channel 8 to oslec
Changing signalling on channel 9 from Unused to Clear channel
Setting echocan for channel 9 to oslec
Changing signalling on channel 10 from Unused to Clear channel
Setting echocan for channel 10 to oslec
Changing signalling on channel 11 from Unused to Clear channel
Setting echocan for channel 11 to oslec
Changing signalling on channel 12 from Unused to Clear channel
Setting echocan for channel 12 to oslec
Changing signalling on channel 13 from Unused to Clear channel
Setting echocan for channel 13 to oslec
Changing signalling on channel 14 from Unused to Clear channel
Setting echocan for channel 14 to oslec
Changing signalling on channel 15 from Unused to Clear channel
Setting echocan for channel 15 to oslec
Changing signalling on channel 16 from Unused to Clear channel
Setting echocan for channel 16 to oslec
Changing signalling on channel 17 from Unused to Clear channel
Setting echocan for channel 17 to oslec
Changing signalling on channel 18 from Unused to Clear channel
Setting echocan for channel 18 to oslec
Changing signalling on channel 19 from Unused to Clear channel
Setting echocan for channel 19 to oslec
Changing signalling on channel 20 from Unused to Clear channel
Setting echocan for channel 20 to oslec
Changing signalling on channel 21 from Unused to Clear channel
Setting echocan for channel 21 to oslec
Changing signalling on channel 22 from Unused to Clear channel
Setting echocan for channel 22 to oslec
Changing signalling on channel 23 from Unused to Clear channel
Setting echocan for channel 23 to oslec
Changing signalling on channel 24 from Unused to HDLC with FCS check
Setting echocan for channel 24 to none
Changing signalling on channel 25 from Unused to FXO Kewlstart
Setting echocan for channel 25 to oslec
                                                           [  OK  ]
  r1t1:  DAHDI Tools Version - 2.2.0

DAHDI Version: 2.2.0.2
Echo Canceller(s): OSLEC
Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 15)
Channel 16: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 23)
Channel 24: D-channel (Default) (Echo Canceler: none) (Slaves: 24)
Channel 25: FXO Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 25)

25 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec
Setting echocan for channel 5 to oslec
Setting echocan for channel 6 to oslec
Setting echocan for channel 7 to oslec
Setting echocan for channel 8 to oslec
Setting echocan for channel 9 to oslec
Setting echocan for channel 10 to oslec
Setting echocan for channel 11 to oslec
Setting echocan for channel 12 to oslec
Setting echocan for channel 13 to oslec
Setting echocan for channel 14 to oslec
Setting echocan for channel 15 to oslec
Setting echocan for channel 16 to oslec
Setting echocan for channel 17 to oslec
Setting echocan for channel 18 to oslec
Setting echocan for channel 19 to oslec
Setting echocan for channel 20 to oslec
Setting echocan for channel 21 to oslec
Setting echocan for channel 22 to oslec
Setting echocan for channel 23 to oslec
Setting echocan for channel 24 to none
Setting echocan for channel 25 to oslec
                                                           [  OK  ]
  rcbfx:  DAHDI Tools Version - 2.2.0

DAHDI Version: 2.2.0.2
Echo Canceller(s): OSLEC
Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 15)
Channel 16: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 23)
Channel 24: D-channel (Default) (Echo Canceler: none) (Slaves: 24)
Channel 25: FXO Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 25)

25 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec
Setting echocan for channel 5 to oslec
Setting echocan for channel 6 to oslec
Setting echocan for channel 7 to oslec
Setting echocan for channel 8 to oslec
Setting echocan for channel 9 to oslec
Setting echocan for channel 10 to oslec
Setting echocan for channel 11 to oslec
Setting echocan for channel 12 to oslec
Setting echocan for channel 13 to oslec
Setting echocan for channel 14 to oslec
Setting echocan for channel 15 to oslec
Setting echocan for channel 16 to oslec
Setting echocan for channel 17 to oslec
Setting echocan for channel 18 to oslec
Setting echocan for channel 19 to oslec
Setting echocan for channel 20 to oslec
Setting echocan for channel 21 to oslec
Setting echocan for channel 22 to oslec
Setting echocan for channel 23 to oslec
Setting echocan for channel 24 to none
Setting echocan for channel 25 to oslec
                                                           [  OK  ]

Running dahdi_cfg:                                         [  OK  ]
[root@elastix log]#
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#9
I believe you will find that software EC will NOT be used if hardware EC is installed and available when a call is actually being made, but if you want to you can edit:

/etc/dahdi/system.conf

and comment out the appropriate lines, stop asterisk, reload dahdi and start asterisk again, watch the CLI to see whats happening in real-life, both before and after you make these changes.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top