Hi,
I m new to Asterisk. My team have setup the 15.6.1 version on a CentOS 7 VM with real IP.
We have created two extensions. We are using Bria software for the extensions as SIP phone.
But the problem is when calls come in it rings. We can receive the calls.
But there is no voice on either side.
I have checked the speaker/mic settings and all are working fine.
I found that it could be a problem for NAT which is taken care by the VM provider.
Any idea what else might be causing the issue?
Typically, one-way audio (or not audio) is indicative of either a NAT firewall configuration issue, or a mismatch in codecs. You would be wise to look at SIP traces for the calls to try to identify which codecs are being negotiated and which IP addresses are being advertised in the SDP messages, etc.
Thanks everyone. The problem was resolved by adding the followings:
[general]
nat=force_rport,comedia
externip=xxx.yyy.zzz.vvv
localnet=192.168.0.0/255.255.0.0 ; RFC 1918 addresses
localnet=10.0.0.0/255.0.0.0 ; Also RFC1918
localnet=172.16.0.0/12 ; Another RFC1918 with CIDR notation
localnet=169.254.0.0/255.255.0.0 ; Zero conf local network