Hello; I’m hoping someone could help me with my question. I have a VoIP adapter that I use for my phone line. I was working on an Asterisk server recently and it seems that there is a conflict between them. The way I have setup my Network is as the following:
DSL Line > VoIP Adapter > Switch --{asterisk and wiresless router
I’ve been trying to connect from my friends house without success. Is this because the VoIP adapter uses the same ports as the Asterisk server?
Voip Adapter IP: 192.168.254.1
Asterisk: 192.168.254.10
Any help will be greatly appreciated.
Note: I can only connect Local to the Asterisk server; I have open the ports in VoIP Adapter for Asterisk.
First of all, let’s clarify that an Asterisk PBX system has a support for NAT/Firewall. This means if an Asterisk PBX system is properly configured with a private IP Address and is connected to the Internet behind a NAT/Firewall router (preferably with a public IP Address), it can still function properly to process incoming/outgoing calls. In other words, a public IP Address is not a MUST for the device that hosts the Asterisk PBX system. For instance, I have a properly configured and functioning Asterisk PBX system hosted on a mediocre FON2100 device with a private IP Address (192.168.1.5) and it is connected to my main NAT/Firewall router that is assigned with a public IP Address by my ISP.
[quote=“mamut0o1”]DSL Line > VoIP Adapter > Switch --{asterisk and wiresless router
I’ve been trying to connect from my friends house without success. Is this because the VoIP adapter uses the same ports as the Asterisk server?
Voip Adapter IP: 192.168.254.1
Asterisk: 192.168.254.10[/quote]
Assuming your ISP assigns a real/public IP Address to your DSL modem and your DSL modem is configured with a NAT/Firewall options enabled, then your configuration above connects your Asterisk PBX system to the Internet with a double NAT/Firewall. You may want to configure your DSL Modem as a transparent switch so that your ISP will assign a public IP Address to the device (in this case your VoIP router) connected to your DSL modem. Then, either configure your VoIP router or Asterisk PBX system to use port other than 5060. In other words, if you configure your VoIP router to use port 5060, then your Asterisk MUST be configured with port other than 5060; otherwise, incoming traffices for your Asterisk PBX system on port 5060 will be defaulted to the VoIP router.
To make your life easier, I would recommend that you get a good NAT/Firewall router to replace your existing VoIP router as your main NAT/Firewall router. Then, parallely connect both the VoIP router and Asterisk PBX system behind the new NAT/Firewall main router.