Multi Network Interface and Connection to gateway

Status
Not open for further replies.

mos

New Member
Sep 15, 2019
22
0
1
25
Hi, dears,
I have to install a VOIP server, I like FreeSWITCH it looks so powerful, I found fusion PBX they did a great job making FreeSWITCH so much easy to configure, but I have few question I really appreciate if you could support me to answer those question,

My installation looks like this:

SIP USERS <----------> [ 172.20.20.100 ] <- |FPBX| -> [ 172.16.16.100 ] <----------> GATEWAY

The FPBX has 3 interfaces:
1- 192.168.44.x (Management and Internet access)
2- 172.20.20.x (Internal SIP users)
3- 172.16.16.x ( Connected to the gateway for outbound calls)

Questions are:

1- Do I need to create 2 domain, (172.20.20.100, 172.16.16.100) ?

2- In the Internal SIP profile, I should use which IP for external SIP IP in SIP profile configuration?

3- The default installation of FPBX is using management IP and by default, it will create that domain (192.168.44.100), shall I remove it ?

4- The default value of ${{local_v4_ip}} variable will be management IP, which then it is referred in the FPBX SIP profile settings then the local SIP users they cannot register since they don't have access to that network, shall I change the ${{local_v4_ip}} in the Variable setting or what ?

5- Can I change the external SIP port to something else or let both internal and external listening on 5060 ?

6- In the adding gateway form, there are 2 fields what should I add, 1- From Domain ? 2- Context ? , 3- I am adding the gateway IP and its port inside Proxy field, is that correct ?

7- Can I delete or Disable Internal v6 and external v6 profiles since I am not going to use them ?

8- In my setup, the calls from internal to external should be okay in terms of callee_number, what about internal to external, does FPBX will pass the callee_id_number correctly to the external gateway correctly by default or should I do some configuration for that ?



Thanks for answering.
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
Hi, I will answer your questions to the best of my knowledge, I'm sure others will correct me if I'm wrong...

1. No, just a domain that the SIP extensions will register against. By default the domain is just a name that happens to look like an IP address. Many people use an FQDN as the domain name.

2. In the internal SIP profile use the IP that points to the subnet where the SIP users are located, (the external SIP profile will use the IP that points to the subnet of your gateway provider).

3. No need to remove the default domain, you can use it for your admin login.

4. Management is done via the web interface, this is controlled by the Nginx configuration and has nothing to do with SIP profiles. By default, Nginx listens on all IP addresses. You can change this behavior by editing the listen parameter in /etc/nginx/sites-available/fusionpbx. Remember that fusion also uses the http/https protocol for phone provisioning.

5. Yes. By default the internal SIP profile listens on port 5060 and the external profile listens on port 5080. You can change these but they both cannot be the same (if the IP adresses are the same). If you do change ports, remember to alter the firewall settings in /etc/iptables/rules.v4.

6. From Domain is normally the domain name of the SIP trunk provider. Context is normally set to public.

7. Yes, just set them to enabled = false in Advanced->SIP profiles.

8. Yes, you can set the outbound caller id on a per extension basis.

I hope that helps.
 
Status
Not open for further replies.