Tom Waterman Posted February 3, 2009 Report Posted February 3, 2009 A couple of days ago I deployed 65 phones in my company. All but 2 are snome M3. All of the lines were set and I set a time server in each of the bases as well as upgraded the firmware. Yesterday I came in and tried to work on auto provisioning (big mistake) and all of a sudden as soon as I rebooted a phone it would wipe out the first extension and provision it with a new one from the pbx. Don't even ask me how that happened. I believfe everything is good now but In the base of the M3 I still have the wrong time server. I have cleared it out and saved it a hundred times but each time I reboot the phone this pool.ntp.org is in there and all of the times are incorrect. I have checked our own time server on the network and it is correct. Any help would be great. We need to roll these out tomorrow. Tom Quote
pbx support Posted February 3, 2009 Report Posted February 3, 2009 A couple of days ago I deployed 65 phones in my company. All but 2 are snome M3. All of the lines were set and I set a time server in each of the bases as well as upgraded the firmware. Yesterday I came in and tried to work on auto provisioning (big mistake) and all of a sudden as soon as I rebooted a phone it would wipe out the first extension and provision it with a new one from the pbx. Don't even ask me how that happened. I believfe everything is good now but In the base of the M3 I still have the wrong time server. I have cleared it out and saved it a hundred times but each time I reboot the phone this pool.ntp.org is in there and all of the times are incorrect. I have checked our own time server on the network and it is correct. Any help would be great. We need to roll these out tomorrow. Tom There is a setting called "ntp_host" in the Global Configuration File, which is by default set to "pool.ntp.org". May be you can change this to your time server. Quote
Tom Waterman Posted February 3, 2009 Author Report Posted February 3, 2009 There is a setting called "ntp_host" in the Global Configuration File, which is by default set to "pool.ntp.org". May be you can change this to your time server. Is this global configurration file on the phone or in the PBX? I have been changeing the file on the phone under the advanced tab is a time server section. If it is on the PBX how do I find it? Quote
pbx support Posted February 3, 2009 Report Posted February 3, 2009 Is this global configurration file on the phone or in the PBX? I have been changeing the file on the phone under the advanced tab is a time server section. If it is on the PBX how do I find it? This is on the PBX. You can change this value by typing http://<pbx ip address>/reg_status.htm?save=save&ntp_host=<your time server> on the browser. More on the global settings in in http://wiki.pbxnsip.com/index.php/Global_Configuration_File You probably have to reboot the phone after the change. Quote
Tom Waterman Posted February 3, 2009 Author Report Posted February 3, 2009 Is this global configurration file on the phone or in the PBX? I have been changeing the file on the phone under the advanced tab is a time server section. If it is on the PBX how do I find it? I have found it and edited it. I'll report back. Quote
Tom Waterman Posted February 3, 2009 Author Report Posted February 3, 2009 I have found it and edited it. I'll report back. No dice. I have found the section edited it and I am still an hour off. My time is 1:02pm and the phones say 2:02pm. I have daylight savings time enabled on the pbx but something is still wrong. Quote
Vodia PBX Posted February 3, 2009 Report Posted February 3, 2009 No dice. I have found the section edited it and I am still an hour off. My time is 1:02pm and the phones say 2:02pm. I have daylight savings time enabled on the pbx but something is still wrong. Maybe just take the below file and modify the time section (call it snom_m3.cfg). That should fix your problem for the moment (create and put it into the html directory). //-----------Network Settings------------ %SIP_RPORT_ENABLE%:1 // A way around NAT %SIP_STUN_ENABLE%:0 // 0-disable, 1-enable stun services %NETWORK_STUN_SERVER%: "stun.com" // insert name of STUN Server here %SIP_STUN_BINDTIME_GUARD%:80 %SIP_STUN_BINDTIME_DETERMINE%:0 %SIP_STUN_KEEP_ALIVE_TIME%:90 %SIP_RTP_PRIORITY%:{global tos_rtp} %NETWORK_VLAN_ID%:{parameter NETWORK_VLAN_ID} %NETWORK_VLAN_USER_PRIORITY%:{parameter NETWORK_VLAN_USER_PRIORITY} %VOIP_SETTINGS_PIN_CODE%:{parameter VOIP_SETTINGS_PIN_CODE} //------------Network Time--------------- %NETWORK_SNTP_SERVER%:"{tz ntp-adr}" // insert a local NTP Server here %NETWORK_SNTP_SERVER_UPDATE_TIME%:0xFF //SNTP Update in seconds %GMT_TIME_ZONE%:{tz gmt-hour 13} %DST_ENABLE%:{tz dst-enable} %DST_FIXED_DAY_ENABLE%:{tz dst-fixed} %DST_START_MONTH%:{tz dst-start-month} %DST_START_DATE%:{tz dst-start-day0} %DST_START_TIME%:{tz dst-start-hour} %DST_START_DAY_OF_WEEK%:{tz dst-start-wday} %DST_START_WDAY_LAST_IN_MONTH%:{tz dst-start-last} %DST_STOP_MONTH%:{tz dst-stop-month} %DST_STOP_DATE%:{tz dst-stop-day0} %DST_STOP_TIME%:{tz dst-stop-hour} %DST_STOP_DAY_OF_WEEK%:{tz dst-stop-wday} %DST_STOP_WDAY_LAST_IN_MONTH%:{tz dst-stop-last} //--------Provisioning Server------------ %NETWORK_FWU_SERVER%: "provisioning.snom.com" // Firmware update server IP or FQDN %FWU_TFTP_SERVER_PATH%:"/m3/firmware/" //subdir to find Firmware updates %VOIP_LOG_AUTO_UPLOAD%:0 //0-no uploading, 1-upload bootlog only,2-upload everything {loop-start 0 8} // ------------ SIP Server --------------- %SRV_{lc}_SIP_UA_DATA_DOMAIN%:"{domain}" %SRV_{lc}_SIP_URI_DOMAIN_CONFIG%:0 %SRV_{lc}_SIP_UA_DATA_SERVER_PORT%:{sip-udp-port} %SRV_{lc}_SIP_UA_DATA_PROXY_PORT%:{sip-udp-port} %SRV_{lc}_SIP_UA_DATA_SERVER_TYPE%:0 %SRV_{lc}_SIP_UA_DATA_SERVER_IS_LOCAL%:1 %SRV_{lc}_SIP_UA_DATA_REREG_TIME%:600 %SRV_{lc}_SIP_UA_DATA_PROXY_ADDR%:"{ip-adr}" %SRV_{lc}_DTMF_SIGNALLING%:2 %SRV_{lc}_SIP_UA_CODEC_PRIORITY%:0, 1, 2, 4, 255 // ------------- Registration ------------------- %SUBSCR_{lc}_SIP_UA_DATA_SIP_NAME%:"{account}" %SUBSCR_{lc}_UA_DATA_DISP_NAME%:"{display-name}" %SUBSCR_{lc}_SIP_UA_DATA_SIP_NAME_ALIAS%:"{account}" %SUBSCR_{lc}_SIP_UA_DATA_VOICE_MAILBOX_NAME%:"{account}" %SUBSCR_{lc}_SIP_UA_DATA_VOICE_MAILBOX_NUMBER%:"{account}" %SUBSCR_{lc}_UA_DATA_AUTH_NAME%:"{account}" %SUBSCR_{lc}_UA_DATA_AUTH_PASS%:"{password}" {loop-end} // ----------Emergency Primary Line---------------- END_OF_FILE Quote
Tom Waterman Posted February 4, 2009 Author Report Posted February 4, 2009 Maybe just take the below file and modify the time section (call it snom_m3.cfg). That should fix your problem for the moment (create and put it into the html directory). //-----------Network Settings------------ %SIP_RPORT_ENABLE%:1 // A way around NAT %SIP_STUN_ENABLE%:0 // 0-disable, 1-enable stun services %NETWORK_STUN_SERVER%: "stun.com" // insert name of STUN Server here %SIP_STUN_BINDTIME_GUARD%:80 %SIP_STUN_BINDTIME_DETERMINE%:0 %SIP_STUN_KEEP_ALIVE_TIME%:90 %SIP_RTP_PRIORITY%:{global tos_rtp} %NETWORK_VLAN_ID%:{parameter NETWORK_VLAN_ID} %NETWORK_VLAN_USER_PRIORITY%:{parameter NETWORK_VLAN_USER_PRIORITY} %VOIP_SETTINGS_PIN_CODE%:{parameter VOIP_SETTINGS_PIN_CODE} //------------Network Time--------------- %NETWORK_SNTP_SERVER%:"{tz ntp-adr}" // insert a local NTP Server here %NETWORK_SNTP_SERVER_UPDATE_TIME%:0xFF //SNTP Update in seconds %GMT_TIME_ZONE%:{tz gmt-hour 13} %DST_ENABLE%:{tz dst-enable} %DST_FIXED_DAY_ENABLE%:{tz dst-fixed} %DST_START_MONTH%:{tz dst-start-month} %DST_START_DATE%:{tz dst-start-day0} %DST_START_TIME%:{tz dst-start-hour} %DST_START_DAY_OF_WEEK%:{tz dst-start-wday} %DST_START_WDAY_LAST_IN_MONTH%:{tz dst-start-last} %DST_STOP_MONTH%:{tz dst-stop-month} %DST_STOP_DATE%:{tz dst-stop-day0} %DST_STOP_TIME%:{tz dst-stop-hour} %DST_STOP_DAY_OF_WEEK%:{tz dst-stop-wday} %DST_STOP_WDAY_LAST_IN_MONTH%:{tz dst-stop-last} //--------Provisioning Server------------ %NETWORK_FWU_SERVER%: "provisioning.snom.com" // Firmware update server IP or FQDN %FWU_TFTP_SERVER_PATH%:"/m3/firmware/" //subdir to find Firmware updates %VOIP_LOG_AUTO_UPLOAD%:0 //0-no uploading, 1-upload bootlog only,2-upload everything {loop-start 0 8} // ------------ SIP Server --------------- %SRV_{lc}_SIP_UA_DATA_DOMAIN%:"{domain}" %SRV_{lc}_SIP_URI_DOMAIN_CONFIG%:0 %SRV_{lc}_SIP_UA_DATA_SERVER_PORT%:{sip-udp-port} %SRV_{lc}_SIP_UA_DATA_PROXY_PORT%:{sip-udp-port} %SRV_{lc}_SIP_UA_DATA_SERVER_TYPE%:0 %SRV_{lc}_SIP_UA_DATA_SERVER_IS_LOCAL%:1 %SRV_{lc}_SIP_UA_DATA_REREG_TIME%:600 %SRV_{lc}_SIP_UA_DATA_PROXY_ADDR%:"{ip-adr}" %SRV_{lc}_DTMF_SIGNALLING%:2 %SRV_{lc}_SIP_UA_CODEC_PRIORITY%:0, 1, 2, 4, 255 // ------------- Registration ------------------- %SUBSCR_{lc}_SIP_UA_DATA_SIP_NAME%:"{account}" %SUBSCR_{lc}_UA_DATA_DISP_NAME%:"{display-name}" %SUBSCR_{lc}_SIP_UA_DATA_SIP_NAME_ALIAS%:"{account}" %SUBSCR_{lc}_SIP_UA_DATA_VOICE_MAILBOX_NAME%:"{account}" %SUBSCR_{lc}_SIP_UA_DATA_VOICE_MAILBOX_NUMBER%:"{account}" %SUBSCR_{lc}_UA_DATA_AUTH_NAME%:"{account}" %SUBSCR_{lc}_UA_DATA_AUTH_PASS%:"{password}" {loop-end} // ----------Emergency Primary Line---------------- END_OF_FILE Yeah I tried this as well and it did not work. It keep setting my time zone to -4:30 and I need -5:00 and it messes with Daylight savings time even when I tur it all off. I am at the end of my rope. Quote
Vodia PBX Posted February 5, 2009 Report Posted February 5, 2009 %GMT_TIME_ZONE%:{tz gmt-hour 13} Try changing the "13" to "12". Maybe that was the problem. Quote
Tom Waterman Posted April 14, 2009 Author Report Posted April 14, 2009 Try changing the "13" to "12". Maybe that was the problem. This was fixed with the new release of pbxnsip. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.