Just as quick disclaimer, i am completely new to FreePBX.
I am trying to configure a remote phone to connect into a central office.
I have setup the phone (grandstream gxp2000) with the central office’s external IP in both the proxy and sip server setting.
The router at the central office (Draytek) is configured to nat:
3478,4569,5004-5089,10000-20000
through to the phone server. Which is an SME server running FreePBX.
I’m pretty confident that the extension is setup right, the phone is setup right and NAT is all setup. I am not confident at all that the server is setup correctly to recieve from an external IP.
Basically guys, thats all the information, i cannot get this phone to register for the life of me and my boss is pressing me on this.
You may have the ports forwarded via NAT settings on the Draytek but do you actually have the firewall rules on the Draytek to allow the ports though?
Also do you have the PBX set (in SIP Settings) for NAT? You need to have the server set for NAT with the Internal networks defined and the external address of the firewall defined as well (on the PBX that is).
Also the extensions should also be set to NAT=yes.
The draytek is definitely setup right, we work with them regularly, and i have had a colleague look at it to make sure i wasn’t going insane.
In terms of having the server set for NAT. I have all internal networks defined, and i have the external IP for the central office there. Do i need to put the external IP of the remote office anywhere?
the extension is set to NAT=yes.
Thanks for getting back to me Lee, i appreciate the help. (more would be nice!)
Check Hostname in your Extensions Settings within FreePBX corresponding extension. Furthermore, check if you can Ping extension from Asterisk and vice versa…
If you can Ping both server and client from each other, try to put client ip phone’s IP in ‘Host’ field under Device Options within FreePBX, for that particular Extension. This may enable you direct calls even without registration, but honestly speaking, it doesn’t seem to be a registration issue. It’s your network.
Thanks for your help so far. It just hangs when pinging the external IP of the remote office. i assume that means i cant. Internally it can ping its default gateway fine.