• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 615
  • Last Modified:

Astersik random echo on calls

I'm relatively new to Asterisk/trixbx but I'm having issues on serveral servers that were installed recently with random echo on calls

The echo is intermittent and happens on external lines only. Each machine has either Sangoma A200 or A500 cards with no hardware cancellation built in.

I have downloaded and isntalled OSLEC echo cancellation software and it appears to have helped but echo is still intermittent.

I'm looking for directions where to look to troubleshoot or even how to begin this process as these echo calls are extremely random.

Regards

0
Choakem
Asked:
Choakem
  • 3
1 Solution
 
ChoakemAuthor Commented:
Update: I have run the command dahdi_cfg -vvv and found that the OSLEC software is not correctly configured on these troublesome machines.

Hre is the process used - It may help others - If i FOund out why the OSLEC only installed on half the machines with the exact saem base image and hardware I will post the explanation here.
If anyone else knows or can contribute then you are most welcome.

Michael

5.2.      Procedure Step

5.2.1.      Install Kernel Source and GCC Compliers
Putty into Asterisk server
#> yum install kernel-devel
#> yum install gcc.i386

5.2.2.      Download DAHDI Sources
         First find the version of Dahdi by running the command:

#> dahdi_cfg -vvv
         DAHDI Tools Version - 2.3.0
         DAHDI Version: 2.3.0.1
         Echo Canceller(s):
         Configuration
         
         Once we have identified the version – 2.3.0.1 in this case – Browse to
         http://downloads.digium.com/pub/telephony/dahdi-linux/releases/

Now you will notice there will be two versions insure you note down the Dahdi version not the Dahdi-tools version. Then go to http://downloads.digium.com/pub/telephony/dahdi-linux/releases/ and search for your version of Dahdi there. The file name should be in the format "dahdi-linux-<version>.tar.gz". Once you find the version then run the command

#> cd /usr/src/

and then run "wget <<URL of Dahdi-linux>>", so for this version it would be the following command.

        #> wget http://downloads.digium.com/pub/telephony/dahdi-linux/releases/dahdi-linux-2.3.0.1.tar.gz 

You would need to compile the dahdi source in order to install the wanpipe driver:

1. Extract the dahdi-linux-<version>.tar.gz file, by running the command:
        #> tar xvfz dahdi-linux-2.3.0.1.tar.gz
2. Run:
         #> cd dahdi-linux-2.3.0.1
    and then once in the directory run
        #> ./configure; make

5.2.3.      Install OSLEC
In order to install OSLEC, you must do the following:
1) Run the following commands to shutdown Asterisk, Dahdi, and Wanrouter:
        #> asterisk -rx "stop when convenient"
        #> wanrouter stop all
        #> service dahdi stop

2) Run each of the commands in order:
       #> cd /usr/src
       #> cp -fr /usr/src/dahdi-linux-2.3.0.1 /usr/src/dahdi
       #> wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2
       #> tar xjf linux-2.6.28.tar.bz2
       #> mkdir /usr/src/dahdi/drivers/staging
       #> cp -fR /usr/src/linux-2.6.28/drivers/staging/echo /usr/src/dahdi/drivers/staging
       #> sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi/drivers/dahdi/Kbuild
       #> sed -i "s|#obj-m += ../staging/echo/|obj-m += ../staging/echo/|" /usr/src/dahdi/drivers/dahdi/Kbuild
       #> echo 'obj-m += echo.o' > /usr/src/dahdi/drivers/staging/echo/Kbuild
       #> cd /usr/src/dahdi/
       #> make
       #> make install

Go into /etc/dahdi/system.conf  (they may appear more then once for the number of devices installed on the system):
     Change "echocanceller=mg2,1" to "echocanceller=OSLEC,1"
Reboot Machine


5.2.4.      Verify OSLEC
Verify OSLEC is present by running the following:

     #> wanrouter start

    Dahdi Method:
      #> dahdi_cfg -vvv
      DAHDI Tools Version - 2.2.0
      DAHDI Version: 2.2.0
      Echo Canceller(s): OSLEC
      Configuration

0
 
ChoakemAuthor Commented:
HMM I have discovered that the A500 cards do ot use dahdi and all software cancellation software is useless when it comes to these BRI cards.

From what I can gather I have no optin but to return the A500 cards and purchase the same cards with Echo hardware built in!

GRRRRRRR
0
 
ChoakemAuthor Commented:
Wasnt really a question in the end but simply information. I purchased hardware cancellation instead and it worked.
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now