08-17-2016, 05:31 AM
I am working on auto-provisioning some T21P E2 phones and having trouble with DST and DHCP time.
When DHCP time is enabled, the automatic DST offset is not working. When I disable DHCP time, the DST offset it applied.
I've configured the general provision file to retrieve timezone information from DHCP option 2, this will allow phones in different time zones to get their timezone from their local DHCP server. But I also need the phones to realize if DST is in effect or not.
Here is the entry in the general config file - y000000000052.cfg:
local_time.dhcp_time = 1
local_time.summer_time = 2
My DHCP server has these options:
Option 2 = -18000 seconds (Time Offset)
Option 42 = 10.x.x.x (my local NTP server)
I could update the DHCP option 2, but then I would have to manually change it each time DST changes. This is unreasonable due to the number of locations and time it would take to update all DHCP servers.
Another option is to hardcode the timezone for each extension, but I was hoping to avoid this and have the phones get their timezone from the DHCP server. The phone extensions can move, but the DHCP servers will not.
When DHCP time is enabled, the automatic DST offset is not working. When I disable DHCP time, the DST offset it applied.
I've configured the general provision file to retrieve timezone information from DHCP option 2, this will allow phones in different time zones to get their timezone from their local DHCP server. But I also need the phones to realize if DST is in effect or not.
Here is the entry in the general config file - y000000000052.cfg:
local_time.dhcp_time = 1
local_time.summer_time = 2
My DHCP server has these options:
Option 2 = -18000 seconds (Time Offset)
Option 42 = 10.x.x.x (my local NTP server)
I could update the DHCP option 2, but then I would have to manually change it each time DST changes. This is unreasonable due to the number of locations and time it would take to update all DHCP servers.
Another option is to hardcode the timezone for each extension, but I was hoping to avoid this and have the phones get their timezone from the DHCP server. The phone extensions can move, but the DHCP servers will not.