SIP over VPN - One Way Audio (Incoming only)

I’m new to Asterisk but have come a long way in a short time. I’m using Asterisk 13.29.2.

I’ve set it up and have it working perfectly with standard internet connection. I am now trying to place calls from the same PC (X-Lite) through my VPN and only have one way audio (incoming).

I have added the following lines to sip.conf trying to get it working, but the problem remains the same:

Blockquote
[general]
context=incoming
externip=89.X.X.X ; VPN External IP Address
localnet=10.X.X.X/255.255.255.0 ; VPN Private IP Address
localnet=192.X.X.X/255.255.255.0 ; My Private IP Address
nat=yes

Any advice would be much appreciated.

Well, managed to get it working on my own. Many iterations…missing some hair but happy camper now. Corrected by adding/modifying below to sip.conf under general:

Blockquote
directmedia=no
nat=force_rport, comedia

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.