[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wrong time with dhcp_time and DST auto - T21P E2
Author Message
deactavo Offline
Junior Member
**

Posts: 1
Joined: Aug 2016
Reputation: 0
Post: #1
Wrong time with dhcp_time and DST auto - T21P E2
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.
08-17-2016 05:31 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Kevin_Yealink Offline
Administrator
*******

Posts: 204
Joined: Jul 2016
Reputation: 2
Post: #2
RE: Wrong time with dhcp_time and DST auto - T21P E2
(08-17-2016 05:31 AM)deactavo Wrote:  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.

Dear,

This is Kevin from Yealink support team, nice to know you.

For your issue, you can just do a auto provision to set the DST time.
local_time.time_zone=
local_time.time_zone_name=
local_time.dhcp_time = 1
local_time.summer_time = 2

If you get the offset time of UTC, the time is correct but the phone don't know the location, so it will active the DST. So if you use auto p with the location, then i think it would can help. Please try and let me know if any update.

Due to the national holiday is upcoming, our office will be temporarily out of duty from Oct 1st to Oct 7th.

BR
Kevin
10-01-2016 12:20 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  ISRG Root X1 cert not recognized by phone during auto provision chrisduncansb 2 1,958 05-21-2024 01:23 PM
Last Post: rlaager
  Auto Provision Wall Paper Stopped Working TRP Tech 5 12,277 02-19-2024 12:02 AM
Last Post: jamesalan
Smile W73P dect phone not allowing to auto-provision as different extension Andi_Dee 0 3,007 10-12-2023 05:49 PM
Last Post: Andi_Dee
  How to disable Voicemail from .cfg in auto provisioning file? boniakowski 2 3,042 09-19-2023 12:03 AM
Last Post: boniakowski
  T21P E2 attended transfer caller id name in history gralech 3 10,396 08-19-2023 04:49 PM
Last Post: JeffreyFisher
  VPN Changes Do Not Get Auto-Provisioned joe1st 3 4,832 08-08-2023 12:35 AM
Last Post: cecilberge
Wink Auto Provsioning EOL products and devices that do dont have recent firmware releases GalacticSolutions 3 7,910 04-12-2023 05:32 PM
Last Post: aaronmedina
  Yealink T54W Auto Provision not working h.cmc 1 5,525 12-09-2022 08:31 PM
Last Post: complex1
  Need help auto provisioning a phone with Nextiva service. LittleDogTech 3 7,162 08-30-2022 06:28 PM
Last Post: complex1
  Auto provision username and password kbrownlees 7 25,782 08-23-2022 11:16 PM
Last Post: mbole

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication