Setting up FusionPBX with Public IP

Status
Not open for further replies.

bluepoet

Member
Feb 24, 2022
43
0
6
53
I have FusionPBX up and running with a local IP address. We are now ready to move it to a public IP address. Trying to find documentation on it but I may just be typing in something wrong. What is the best way to do this or some good documentation to go to?
 

bluepoet

Member
Feb 24, 2022
43
0
6
53
I have been going through the docs you showed in the link. The biggest issue now is getting our phones to provision. I think I got all the settings correct however the phones are not provisioning. Probably a setting wrong somewhere.

Current Setup is WAN-FusionPBX-Firewall- Network/Phones

If reading correctly I need to go into the SIP Profiles and set ext-rtp-ip to autonat:(Public IP Address) along with ext-sip-ip to the same. Tried that but that did not change the phone from provisioning correctly.
 

Bifur

Member
Sep 13, 2020
122
9
18
I don't recall having to change that. Do you have a valid SSL cert installed? I don't believe those settings would make a difference for autoprovisioning but it could for actual calls themselves.
 

bluepoet

Member
Feb 24, 2022
43
0
6
53
No SSL Cert - could be the firewall they are using here as well. Its a PFSense firewall.
 

Bifur

Member
Sep 13, 2020
122
9
18
I believe you are going to need a SSL certificate since provising uses https. It's easy to setup following the let's encrypt section
 

bcmike

Active Member
Jun 7, 2018
337
58
28
54
I have been going through the docs you showed in the link. The biggest issue now is getting our phones to provision. I think I got all the settings correct however the phones are not provisioning. Probably a setting wrong somewhere.

Current Setup is WAN-FusionPBX-Firewall- Network/Phones

If reading correctly I need to go into the SIP Profiles and set ext-rtp-ip to autonat:(Public IP Address) along with ext-sip-ip to the same. Tried that but that did not change the phone from provisioning correctly.
Go to Advanced => Defualt Settings, scroll down to provisioning. Find the http_auth settings and make sure they are all correct. Then on the command line of your pbx type the following:

ngrep -d ens18 port 80 -W byline (where ens18 is your adapter name, it could be eth1, etc)

Then try to provision one of your phones via http (https is encrypted so you cant see what's going on) . You should see output. If you don't see output then you have a network problem somewhere, ie your phones can't get to your machine. You may also see unauthorized in the output which indicates an auth problem.
 
  • Like
Reactions: Bifur

bluepoet

Member
Feb 24, 2022
43
0
6
53
Go to Advanced => Defualt Settings, scroll down to provisioning. Find the http_auth settings and make sure they are all correct. Then on the command line of your pbx type the following:

ngrep -d ens18 port 80 -W byline (where ens18 is your adapter name, it could be eth1, etc)

Then try to provision one of your phones via http (https is encrypted so you cant see what's going on) . You should see output. If you don't see output then you have a network problem somewhere, ie your phones can't get to your machine. You may also see unauthorized in the output which indicates an auth problem.
I tried to do the ngrep command but that doesn't work with the server we are using. We are using an Ubuntu server.
 

bluepoet

Member
Feb 24, 2022
43
0
6
53
Go to Advanced => Defualt Settings, scroll down to provisioning. Find the http_auth settings and make sure they are all correct. Then on the command line of your pbx type the following:

ngrep -d ens18 port 80 -W byline (where ens18 is your adapter name, it could be eth1, etc)

Then try to provision one of your phones via http (https is encrypted so you cant see what's going on) . You should see output. If you don't see output then you have a network problem somewhere, ie your phones can't get to your machine. You may also see unauthorized in the output which indicates an auth problem.
BCM - ignore that - didn't have ngrep installed - I am a newb at all this - got that installed - running the command now - its just taking some time. I'll let people know what happens.

Thanks.
 

bluepoet

Member
Feb 24, 2022
43
0
6
53
BCM - I ran the command you suggested - I see the phone going to the server to get the config file and it says that it accepts it */* - which is what I am guessing what that means. I am wondering if I dont have the correct path for the cfg.xml file that it is looking for and thus is my issue. Let me search the server to see if I can find out where that file is actually located to see if that is my issue.

Currently I can assign a phone manually to the SIP - it will register and pass information to the PBX but the PBX does not send the information out. For example. I ring from extension 210 to 209, it says its dialing but 209 never rings and eventually it goes to the voice mail box.
 
Status
Not open for further replies.