QUESTION IncrediblePBX on Pi3 & NAT

BeeryGaz

New Member
Joined
Jul 7, 2018
Messages
4
Reaction score
0
Incredible PBX 13.0.192.19
Rasberry PI 3
Installed form image incrediblepbx13.13-raspbian8.zip

I appear to be having a NAT-related issue.

I have two internal extensions configured, and they work fine.
I have a SIP trunk provider and have configured the trunk with my credentials

Inbound calls ring the extension according to the inbound rule, but the call terminates as soon as the call is answered.

According to my SIP provider, outbound calls present the internal IP of my IPBX in the SIP headers rather than the external IP, despite
Settings/Asterisk SIP Settings/Chan SIP Settings/NAT = Yes
Settings/Asterisk SIP Settings/Chan SIP Settings/IP Configuration=Static IP

My Incredible PBX has a private IP, behind a Unifi USG router with a static public IP
SIP ALG (COnTrack in Unifi parlance) = Disabled
UDP Ports 5060/5061 & 10000-50000 forwarded to the PBX private IP

I thought it might be the firewall. There seems to be no Travellin Man 3 'secure-iptables' on my image, so I installed per the tutorial, but the scripts seem to be designed for Centos not Rasbian (referencing /etc/sysconfig). I also disabled iptables and that still didn't help.

I also don't see any entries regarding NAT in the /etc/asterisk/sip_general_custom.conf file - shouldn't they be in there?


 

BeeryGaz

New Member
Joined
Jul 7, 2018
Messages
4
Reaction score
0
To possibly answer my own question:

I found the following three lines in my sip_general_custom.conf file
icesupport=yes
stunaddr=stun.counterpath.net
srvlookup=yes

No idea why they were there. I removed them and everything seems to be working.
 

Members online

Forum statistics

Threads
25,782
Messages
167,509
Members
19,203
Latest member
frapu
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top