I’m trailing Sangoma Connect mobile app. It won’t register over my WLAN.
It never registers successfully. I’ve seen times when it registered over cellular network, but even that is spotty. I attribute this to my crappy tower signal. So, it might mean I have a network issue or setting misconfigured.
Additionally,
What ports does it require to open on the WAN facing firewall?
It only seemed to work over cellular line after I added these IPs on my WAN facing firewall:
Thank you Lorne. I followed it last night, but registration doesn’t work at the end over LAN.
It even registered mobile device in the module. I could use it over the cell line only.
My PBX setup is pretty basic.
However, mobile device is usually seats on the different VLAN from PBX. But both VLAN’s are fully accessible and I can ping ether direction OK.
Sangoma Connect is provisioned to register only to a single FQDN (or IP) which can be set by the PBX administrator. Support for dual registration (i.e LAN/WAN or or auto failover) must be accomplished using DNS.
Have you configured Connect using an FQDN and do you have local DNS setup so LAN devices will resolve to the LAN ip of the pbx?
This is not a PBX setting. Connect mobile would need to be configured with an FQDN that resolves to the public IP of the PBX for the push services, and resolves to the LAN ip of the PBX for local registrations. Otherwise an FQDN that only resolves to the public IP of the PBX will work assuming you configure your router appropriately and that the service doesn’t have an issue with the hairpin.
Need to have the port for SIP, check in your Asterisk SIP Settings page what is your PJSIP UDP port (or TCP if that is what Connect is using, in Settings tab). On top of that, need the RTP port range, usually 10000-20000/UDP.
As I understand it, you would need to configure the router to accept your public address even when it arrives from the LAN side, and to still NAT it, in that case, and return it to the LAN.
Instead of ‘hair-pinning ’ DNS at your router, you can add that "FQDN’ to /etc/hosts because linux will consult that source before going to the innertubes.
FreePBX is a set of software running under linux, your FQDN is your FullyQualifiedDomainName, DDNS will Fully Resolve that for remote connections, within your LAN you don’t need to ‘go ask’ because you already know where your PBX is
If you ping a DNS query to YOUR.FQDN.com it will return the external address of your Server, if you resolve with /etc/hosts it will returm 127.0.0.1, which as far as Linux is concerned, is essentially the same destination.
Thanks Dicko, still confused on terms. I have LAN DNS record that points to FreePBX box.
Also, when I go to System Admin I see its hostname, I also have DDNS within FreePBX as well - not same one as I mentioned early.
So, which one do I use?
And lastly, 127.0.0.1 my.fqdn.com is it same place I see under System Admin - DNS?
I have an admin VLAN where I usually seat with PC, laptop and smart-phone. Now, PBX is physically on its own VLAN just for that purpose. So I can put http://fpbx/admin/ in browser and login, it’s only LAN.
I got commercial System Admin that has DNS thing, it has server list in it.