Solved ON Prem install ALL PHONE have wrong different times.

Status
Not open for further replies.

PrismPC

Customer
Joined
Dec 24, 2021
Messages
7
Reaction score
3
Looking for some advice please.

ON PREM install (debian) Ver 20 update 5

In linux (root) time is correct
In 3cx Admin panel I see the time is correct
NPT in debian is running and time is correct.

Yet all YEALINK phones are off and they don't even match,

2 things I noticed

When I provisioned the phone , I then log into the phone and see what was changed.

When I go into Network / Basic (yealink gui) I see an OLD decommissioned DNS server which I don't know where in the system this is being taken from.

When I view the CONFIG file

#######################################################################################
## Time Settings ##
#######################################################################################

#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8.
#The default time zone name is China(Beijing).
#Refer to Yealink IP Phones User Guide for more available time zones and time zone names.
#local_time.time_zone = +8
#local_time.time_zone_name = China(Beijing)
local_time.time_zone =-5
local_time.time_zone_name = Canada(Montreal,Ottawa,Quebec)

#Configure the domain name or the IP address of the NTP server. The default value is cn.pool.ntp.org.
local_time.ntp_server1 = (WRONG IP)
local_time.ntp_server2 = (WRONG IP)


ALSO

NOTHING i put in there (NPT) will fix the time (in the yealink gui), THE ONLY WAY I CAN FIX the time is by MANUALLY setting this time in the YEALINK GUI for EACH phone

Does anyone have any advice?
 
To configure the time server on a 3CX v20 system:

  1. Go to the Admin Console > Advanced > Parameters.
  2. Search for the parameter TIME_NTP_SERVER.
  3. Set its value to pool.ntp.org and click OK.
  4. Restart the 3CX services to apply the changes.

Once done, factory reset one of the IP phones and provision it again. After provisioning, check the phone's settings to confirm that it is receiving the correct time from the updated NTP server.
 
You can also just configure DHCP option 4 (timeserver) on your DHCP server. Yealink phones will use this for getting the correct time
 
To configure the time server on a 3CX v20 system:

  1. Go to the Admin Console > Advanced > Parameters.
  2. Search for the parameter TIME_NTP_SERVER.
  3. Set its value to pool.ntp.org and click OK.
  4. Restart the 3CX services to apply the changes.

Once done, factory reset one of the IP phones and provision it again. After provisioning, check the phone's settings to confirm that it is receiving the correct time from the updated NTP server.

Hi Charles,


Thank you for your guidance.


I've followed your steps, but I'm still encountering issues with time synchronization on my Yealink T58 phone.


Current Configuration:

  • Device: Yealink T58
  • Network Settings (via touchscreen):
    • DHCP: Enabled
    • IP Address: [Local VLAN IP]
    • Subnet Mask: 255.255.255.0
    • Gateway: [Router IP]
    • DNS Servers: 8.8.8.8 and 8.8.4.4
  • Time and Date Settings:
    • Type: SNTP
    • Time Zone: Correctly set
    • NTP Server 1: [IP address of NTP server]
    • NTP Server 2: [Second IP address of NTP server]
    • These IPs were obtained from the 3CX server parameters you provided.
  • DHCP Time: Initially disabled; I enabled it, but it didn't resolve the issue.
  • Router Configuration: The VLAN is set to use the same NTP servers as above.3CXYealink+2support-cdn.yealink.com+2support.yealink.com+2

Issue:


After rebooting the phone, the date is correct, but the time resets to 00:00.3CX


Troubleshooting Attempts:


  • Tried enabling/disabling DHCP Time.
  • Reset the phone and reconfigured settings multiple times.
  • Changed the NTP server to the local 3CX server IP.
  • Accessed the web configuration of the T58 and set the time manually, which works, but isn't the desired solution.

I'm seeking further assistance to resolve this synchronization issue.


Best regards,
 
Please follow my instructions and add the NTP of pool.ntp.org in the 3CX system's parameters under the TIME_NTP_SERVER parameter, so the phone can directly request time from a good time source.
 
  • Like
Reactions: jed
Reset the T58 and reproving with the suggested "pool.ntp.org" in the parameters setting, and phone rebooted with the correct date and TIME 0:00

When logging into the PHONE GUI after it's provisions in the Time and Date settings I see "pool.ntp.org" as both the primary and 2ndary servers. I know it took the settings when provisioned.
 
You should now ensure that the phones are configured with a reliable DNS server capable of resolving pool.ntp.org, and that they can retrieve the time from this source by accessing UDP port 123 directly.
 
  • Like
Reactions: jed
You can also just configure DHCP option 4 (timeserver) on your DHCP server. Yealink phones will use this for getting the correct time
Don't you have to customize the template to do this?
 
Thanks!!! Found the issue. Firewall is blocking port 123 on the vlan.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet