Solved

Astersik random echo on calls

Posted on 2010-11-23
3
558 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now