Solved

Astersik random echo on calls

Posted on 2010-11-23
3
579 Views
Last Modified: 2012-05-10
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
Comment
Question by:Choakem
  • 3
3 Comments
 
LVL 1

Accepted Solution

by:
Choakem earned 0 total points
ID: 34198284
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
 
LVL 1

Author Comment

by:Choakem
ID: 34256212
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
 
LVL 1

Author Closing Comment

by:Choakem
ID: 34401589
Wasnt really a question in the end but simply information. I purchased hardware cancellation instead and it worked.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Loading Dock - IP Phone (PBX) requires High Audible Level Ringer 3 57
Wi-Fi calling 8 78
voicemail issue - voip 16 25
ShoreTel PBX blocking incoming number 1 46
Every year the snow affects people and businesses. According to the Federation of Small Businesses (FSB), in 2009, UK businesses lost an estimated £1.2bn (http://news.bbc.co.uk/1/hi/business/7864804.stm) because of bad weather. This article was c…
I'm Dumb-phoned(ed) Last week, I noticed this message when adding events to my Google Calendar: On June 27th (2015), Google is removing SMS as a notification option for Google Calendar events.  Their assumption is that enough people have smart p…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question