Solved

Astersik random echo on calls

Posted on 2010-11-23
3
601 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
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, f…
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…

623 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