first about my setup, running centos 6.2, asterisk 126.96.36.199, freepbx 188.8.131.52.
I have a modem/router with NAT enabled. Asterisk and my extension from which I make the call are on the same local network, behind the modem/router.
I have forwarded ports 10000-20000 to asterisk and configured asterisk accordingly.
My external IP is 184.108.40.206. Asterisk and freepbx are on 192.168.2.199, my extension I make the calls from is ‘903’ and is on 192.168.2.202.
I have configured my extension and connected it. Also I have setup sip trunks and configured outbound rules etc.
This all works fine. When I receive calls, all works great, I have two way audio without any trouble.
When I make an outbound call, the incoming audio works without flaws, however my outgoing audio drops after a minute or so. So first the other person can hear me then not. On some calls the outgoing audio starts working again after a bit, but then drops again.
In freepbx in the ‘asterisk sip settings’ I’m not sure how to set the NAT settings properly. Currently:
NAT: yes (but have also tried ‘no’, ‘never’, and ‘route’ whilst keeping same settings below with same audio problems results as described above)
IP Configuration: Static IP
External IP: 220.127.116.11
Local Networks: 192.168.2.0/255.255.255.0
Would this be correct?
I have run ‘sip set debug on’ and ‘rtp set debug on’ to see what happens during the call, the output is here:
Would appreciate any help. Thank you in advance!