I am a bit of a newbie to this and I am having a hell of a time configuring the trixbox I inherited so that it works with Voxbone.
I have a trixbox on a local IP. Static NAT is used to direct SIP and RTP traffic through to the trixbox from Voxbone.
The sip connection works but the address that the trixbox sends is the local IP rather than the public IP.
I have tried setting up the NAT in the SIP_NAT.conf file but it makes no difference (have both reloaded and restarted trixbox to make sure my conf changes were noticed.
Ideally I would just like to use a FQDN that resolves to the local IP on our internal DNS and the public IP on external DNS... I have set that bit up but don't know where in the config to change it so that Trixbox sends that rather than the interface address.
Any help greatly appreciated.
U 22.214.171.124:5060 -> 126.96.36.199:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 188.8.131.52:5060;branch=z9hG4bK71874db358b234c12fb78b4e92f04850;received=184.108.40.206.
From: "003228080035" ;tag=7856.
CSeq: 102 INVITE.
User-Agent: Asterisk PBX.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
o=root 24043 24043 IN IP4 192.168.14.1.
c=IN IP4 192.168.14.1.
m=audio 13012 RTP/AVP 0 101.
a=silenceSupp:off - - - -.
For reference the sip_nat.conf file looks like this:
externip = 220.127.116.11
fromdomain = bluearc.com
localnet = 192.168.14.0/255.255.255.0
I have trawled the forums and googled this to death and all the forums results tell me to do it exactly how I am but it's not working so I must be missing something.