Solved

Astersik random echo on calls

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Active Directory DirSync to Office 365 4 42
How many cable modems can be connected at a single location? 6 86
dialer.exe 4 58
voice vlan on meraki using 3CX 3 59
Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
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…

895 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

13 Experts available now in Live!

Get 1:1 Help Now