...
Note | ||
---|---|---|
| ||
In this scenario DNS and DHCP should be configured properly BEFORE installing sipXecs. |
Scenario 1
Configure DNS
There are four DNS records that need to be configured for sipXecs to function properly. They are:
...
Code Block |
---|
_sip._tcp.xyzcompany.corp. IN SRV 1 0 5060 sipx.xyzcompany.corp. _sip._udp.xyzcompany.corp. IN SRV 1 0 5060 sipx.xyzcompany.corp. _sip._tcp.rr.sipx.xyzcompany.corp. IN SRV 1 0 5070 sipx.xyzcompany.corp. sipx.xyzcompany.corp. IN A 192.168.10.2 |
Configure DHCP
DHCP is used by phones and PC's alike in this scenario to get IP addresses as well as other information needed about the network to operate properly.
...
Code Block |
---|
subnet 192.168.10.0 netmask 255.255.255.0 { range 192.168.10.20 172.168.10.254; #IP Range default-lease-time 21600; max-lease-time 43200; option routers 192.168.10.1; # Default gateway option subnet-mask 255.255.255.0; # Subnet mask option domain-name "xyzcompany.corp"; #DNS Domain Name option domain-name-servers 192.168.10.10; #DNS Server IP option time-offset 18000; # Eastern Standard Time option tftp-server-name "sipx.xyzcompany.corp"; #phone provisioning option ntp-servers 192.168.10.10; #get time from file server } |
Testing
It is important to test your configuration and verify that it is operating as it should before you install your sipXecs system. Refer to the testing section above.
...
Once DNS and DHCP are working properly you are ready to install your sipXecs system.
Remote Users
Assuming now that your sipXecs system is up and running correctly, the next challenge with DNS is configuring it so that remote users can connect to your PBX. If those users are connecting via a VPN tunnel or wide area network, simply configure DNS on the far end to have the same DNS records and DHCP records we setup above.
...
One last step needs to be completed. sipXecs allows for domain name aliases (System Menu -> Domains). Add a domain alias for xyzcompany.com. An alias allows the sipXecs system to respond to requests made to domains other than the domain it is setup with. It thus should be possible to setup your mobile users differently than your fixed position hard phone users and do a translation of xyzcompany.com to xyzcompany.corp.
Dynamic DNS
Wondering what about the case where the external IP address may change like with a Cable Modem or DSL connection? Usually the only way you will be able to deal with SRV records is by owning your own domain. Drop $20 a year with a hosting provider like GoDaddy.com or similar (just make sure they let you have SRV records) and get yourself a domain name.
...
Code Block |
---|
_sip._udp.xyzcompany.com 86400 IN SRV 10 100 5060 xyzpbx.dyndns.net _sip._tcp.xyzcompany.com 86400 IN SRV 10 100 5060 xyzpbx.dyndns.net |
Advanced DNS configuration
In addition to the above scenario an advanced location/subnet based DNS lookup system can be deployed using BIND Views. More information can be found here: Location based DNS views for sipXecs using BIND