[asterisk-users] Asterisk - can't hear other side. Or other side does not hear us

Antony Stone Antony.Stone at asterisk.open.source.it
Wed Feb 27 16:47:27 CST 2019


On Wednesday 27 February 2019 at 23:10:33, Ivan Demkovitch wrote:

> Hello,
> This is not technical post,

Hm, no?

> just looking for suggestions on what to check.I have asterisk for long time,

Which version?

> no updates, just maintain OS updates.  I use SPA504G phones.

Tell us about your network - where is Asterisk (inside your network, 
externally hosted on public IP address, other), where are your phones (inside 
one network (maybe the same as Asterisk is on), randomly distributed around 
the Internet, other), how do external callers manage to contact you?

> Very rarely and randomly when we pickup a phone - other side does not hear
> us. Call them back and all works. Now I have couple people I'm talking to
> and it seems like very call like this. Someone can't hear someone. Don't
> know where to start to troubleshoot and what to look for.

Short answer: NAT

Longer answer: Check the type of firewall / router / NAT device you have 
between Asterisk and the phones (most likely at the telephone end) and see 
whether it offers "SIP ALG" (Application Layer Gateway) - if it does, turn it 
*off*.

Also, check the sip.conf definitions you have for the phones which are affected 
by this, and make sure you have NAT set to one of yes, force_rport or comedia 
(you may hav eto experiment to see which works best in your environment).

Check https://www.voip-info.org/asterisk-sip-nat/ for some guidance.

https://www.voip-info.org/asterisk-sip-nat-solutions/ may also give you some 
further clues.

On the other hand, note that https://www.voip-info.org/asterisk-config-sipconf/ 
is woefully outdated (at least as far as NAT is concerned).


If none of that helps, I suggest doing a SIP packet trace at the server (and 
at the phone end if you can) and see what addresses are being passed between 
the two for RTP.  That should tell you why one end can't contact the other.


Regards,


Antony.

-- 
The gravitational attraction exerted by a single doctor at a distance of 6 
inches is roughly twice that of Jupiter at its closest point to the Earth.

                                                   Please reply to the list;
                                                         please *don't* CC me.



More information about the asterisk-users mailing list