# How can I remove echo sounds of the calls?

**URL:** <https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436>\
**Category:** Asterisk Support\
**Created:** [February 6, 2018, 12:56pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436 "2018-02-06T12:56:18Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmoraes](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lmoraes](https://community.asterisk.org/u/lmoraes)\
**Post date:** [February 6, 2018, 12:56pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/1 "2018-02-06T12:56:19Z")

</div>

How can I remove echo sounds of the calls?

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [February 6, 2018, 12:57pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/2 "2018-02-06T12:57:32Z")

</div>

What type of calls are you doing? SIP to SIP? Do you have a telephony card?

---

<div class="post-metadata">

**Author:** ![lmoraes](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lmoraes](https://community.asterisk.org/u/lmoraes)\
**Post date:** [February 6, 2018, 12:58pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/3 "2018-02-06T12:58:07Z")

</div>

> [@jcolp](#):
>
> What type of calls are you doing? SIP to SIP? Do you have a telephony card?

I detected in SIP to SIP calls.

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [February 6, 2018, 1:00pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/4 "2018-02-06T13:00:15Z")

</div>

Fix the SIP device that is poorly echo cancelled.

Note that using loudspeaking phones can make echo cancellation very difficult for the phone.

---

<div class="post-metadata">

**Author:** ![lmoraes](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lmoraes](https://community.asterisk.org/u/lmoraes)\
**Post date:** [February 6, 2018, 1:02pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/5 "2018-02-06T13:02:21Z")

</div>

> [@david551](#):
>
> Fix the SIP device that is poorly echo cancelled.
> 
> Note that using loudspeaking phones can make echo cancellation very difficult for the phone.

But have any parameter that I can put to set it?

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [February 6, 2018, 1:07pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/6 "2018-02-06T13:07:59Z")

</div>

Phones and gateways generally don’t allow configuration of their echo cancellation. If it it faulty you will need to change the firmware, which may also require changing the hardware. In any case, this is something that has to be configured on the faulty device.

The general rule is that echo cancellation is done at the boundary between the analogue or circuit switched part of the system and the packet switched part. For SIP, that is within the SIP device itself.

Asterisk only gets involved in echo cancellation when it provides the transition, i.e. when using DAHDI.

---

<div class="post-metadata">

**Author:** ![Jim1975](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@Jim1975](https://community.asterisk.org/u/Jim1975)\
**Post date:** [February 7, 2018, 8:15am UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/7 "2018-02-07T08:15:05Z")

</div>

If the above options do not work for you, you may try PBXMate. This software is doing a centralized noise reduction and echo cancellation. It is integrated as a Sip Proxy or Sip Trunk.

---

<div class="post-metadata">

**Author:** ![lmoraes](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lmoraes](https://community.asterisk.org/u/lmoraes)\
**Post date:** [February 7, 2018, 9:26am UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/8 "2018-02-07T09:26:47Z")

</div>

This is a concurrent of Asterisk or a software to complement the quality of calls that use inside of Asterisk?

---

<div class="post-metadata">

**Author:** ![Jim1975](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@Jim1975](https://community.asterisk.org/u/Jim1975)\
**Post date:** [February 7, 2018, 9:32am UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/9 "2018-02-07T09:32:46Z")

</div>

It is not running inside Asterisk. It is installed in the network and connects to the the SIP phones as their Sip Proxy or alternatively as Sip Trunk to Asterisk.

---

<div class="post-metadata">

**Author:** ![lmoraes](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lmoraes](https://community.asterisk.org/u/lmoraes)\
**Post date:** [February 27, 2018, 7:20pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/10 "2018-02-27T19:20:47Z")

</div>

This software can help ?

> **[Echo Cancellation for Asterisk](https://www.digium.com/products/software/echo-cancellation-for-asterisk)**
>
> Digium's High Performance Echo Cancellation for Asterisk can help eliminate the most common types of echo heard on PSTN connections.

---

<div class="post-metadata">

**Author:** ![malcolmd](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/malcolmd/32/5_2.png) [@malcolmd](https://community.asterisk.org/u/malcolmd)\
**Post date:** [February 27, 2018, 8:59pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/11 "2018-02-27T20:59:25Z")

</div>

That’s for IP to PSTN only. It won’t do anything for SIP \> SIP. SIP \> SIP is the responsibility of the AEC built into the client, the phone.

---

<div class="post-metadata">

**Author:** ![lmoraes](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lmoraes](https://community.asterisk.org/u/lmoraes)\
**Post date:** [February 27, 2018, 9:04pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/12 "2018-02-27T21:04:29Z")

</div>

> [@malcolmd](#):
>
> That’s for IP to PSTN only. It won’t do anything for SIP \> SIP. SIP \> SIP is the responsibility of the AEC built into the client, the phone.

Yes, my problems happen when I call from SIP to PSTN.

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [February 27, 2018, 10:04pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/13 "2018-02-27T22:04:35Z")

</div>

You previously said you detected SIP to SIP. That conflicts with what you just said.

Do you really mean that you connect to an ITSP, using SIP, who then connects to the, circuit switched, PSTN. If that is the case, the ITSP has to fix the echo.

If you really didn’t mean SIP to SIP, above, you are going to get very confused because the answers assume that you meant what you wrote.

---

<div class="post-metadata">

**Author:** ![lmoraes](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lmoraes](https://community.asterisk.org/u/lmoraes)\
**Post date:** [February 28, 2018, 11:20am UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/14 "2018-02-28T11:20:18Z")

</div>

> [@david551](#):
>
> You previously said you detected SIP to SIP. That conflicts with what you just said.
> 
> Do you really mean that you connect to an ITSP, using SIP, who then connects to the, circuit switched, PSTN. If that is the case, the ITSP has to fix the echo.
> 
> If you really didn’t mean SIP to SIP, above, you are going to get very confused because the answers assume that you meant what you wrote.

david,  
I made a mistake when I answer SIP to SIP previously, sorry for it. I didn’t know what mean exactly it, and now I observe more the situation and the echo happens when I make a call from a SIP to a PSTN(mobile network), I already tried to complain for my provider but this situation doesn’t happen every time, use this software to solve this problem will help or no?

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [February 28, 2018, 11:30am UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/15 "2018-02-28T11:30:49Z")

</div>

What hardware are you using to connect to the PSTN?

Mobile networks should be doing their own echo cancellation, as the mobile network air interface has similar delay problems to those of VoIP and callers directly on a simple analogue phone will hear echoes, unless the mobile network removes them.

---

<div class="post-metadata">

**Author:** ![lmoraes](https://avatars.discourse-cdn.com/v4/letter/l/90ced4/32.png) [@lmoraes](https://community.asterisk.org/u/lmoraes)\
**Post date:** [February 28, 2018, 11:48am UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/16 "2018-02-28T11:48:11Z")

</div>

The echo was observed in a voip telephone of Grandstream model GXP1625

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [February 28, 2018, 12:06pm UTC](https://community.asterisk.org/t/how-can-i-remove-echo-sounds-of-the-calls/73436/17 "2018-02-28T12:06:47Z")

</div>

That answer relates to the wrong side of the call. Echo cancellation needs to be applied somewhere on the other side, and until we understand more about that, we can’t say whether that is up to Asterisk, PC hardware, external local hardware, the near service provider or the remote party’s service provider.
