I’m doing a small installation of six hardware IP phones (Cisco) in two offices communicating to one Asterisk server in the main office. I have set up the phones in the second office to point to out external IP of my Asterisk box in the main office, the phones inside the main office just pointed to the local IP of the Asterisk box.
I have yet to set up the firewall/NAT/port forwarding that the Asterisk box is sat behind. Of course all of the local phones in the main office registered with the Asterisk server as they are on the same network and no firewall stopping them from doing so. But in the second office one of the phones managed to register with my Asterisk server!?!?! Yet the others did not. Remember I have not set up either of the firewalls, currently both disabled port forwarding. All of the phones have a similar configuration, all register fine if on the local network.
- How does SIP work with firewalls, NAT and the internet?
- Is there any difference between SIP host and proxy?
- Why can my phone work out the box registering to a SIP provider, yet Asterisk needs ports to be forwarded?
- If the firewall is closed can only one client use SIP (register to a server)?
- Is it true that clients (e.g. desk phone, mobile) can be sat behind a nat/firewall with port forwarding not on and manage to connect?
Hopefully you can understand why I’m confused.