×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

IP Office DST setting
24

IP Office DST setting

IP Office DST setting

2
(OP)
I'll admit to never looking at this at all becuase it always 'just worked', but we have noticed that the preprogrammed dates all come to an end this year, for evrybody in the world!!

After speaking with Avaya, it seems theses dates are pulled from a file in the manager folder called timezoneinfo.xml. This file includes dates for all times zones upto 2025, but the there are too manay entries in each list emaning the IPO only loads upto 2023.

This file hasn't been updated by Avaya ever, so with a brand new IP500 installation, your DST will end this year.

I'm waiting on Avaya to tell me if they are going to update the file with a future release of Manager so we can update all our customers easily. Lets see if they do or not!

Bw warned. All your IP500 customers will run of DST dates this year, unless you have set them yourself.

Jamie Green

Avaya Registered Specialist Engineer

RE: IP Office DST setting

Hi jamie77

if you change the timezone to any other but yours and then change it back it will load the dates until 2025

Joe
FHandw, ACSS, ACIS

If you give more information you will get better answers. If you only give bits and pieces then you will get the same back and maybe not fitting your problem.

RE: IP Office DST setting

Coming from the Nortel world, as my handle obviously states, I could never figure out why Avaya chose to handle DST changes in the manner in which they did. Nortel had this figured out 30 years ago with Norstar and Meridian 1. Advance the time by 1 hour at 02:00 on the first sunday of the 3rd month, and retard it by 1 hour at 02:00 on the first Sunday of the 11th month (I'm making these times up, but you get the idea). It this way the year is completely taken out of the equation. For those areas of Canada that don't follow DST changes at all the DST feature could simply be disabled with a DST Y/N toggle.

There is no reason why you need to have a specific entry for each year, because as we are now seeing, regardless of how many DST entries you add they will at some point expire.

Avaya should have been updating the timezoneinfo.xml file with each release of software, how hard would that be??? Or better yet, implement Nortel's way of DST changes. They bought the company and the tech, why aren't they using it???

RE: IP Office DST setting

(OP)

Quote:

if you change the timezone to any other but yours and then change it back it will load the dates until 2025

I found a post of yours from a few years back, and tried this, but it doesn't work. The file has upto 2025 in it, but has too many entries fro the IPO to load in, so we onlt get upto 2023.

Either way, they will expire soon.

What does work, is adjust the .xml file with new dates, then using manager to go in to update. You don't even need to select another time zone, just re-select your own from the list and will pull the file in from your local PC. As long as someone doesn't do the same with an out of date file!! lolz

Quote:

Avaya should have been updating the timezoneinfo.xml file with each release of software

It's like you've read the email I sent them yesterday!! smile

Jamie Green

Avaya Registered Specialist Engineer

RE: IP Office DST setting

Editing that XML file is possible, but time consuming as you still have to copy that file to your PC, look up the DST date changes for the next few years, manually edit that file, then copy the file back to the SC card.
If Avaya would just do the right thing for once and completely re-write how they handle DST that would be a big help.

RE: IP Office DST setting

Never looked at this too closely but I thought it was updated to a few years (5?) after the release date

RE: IP Office DST setting

I have an autoit script that edits the csv config export

You can then run the script then import the configuration.csv dates updated for next 5 years.

Will upload it tomorrow

RE: IP Office DST setting

Autoit script to set dates in ip office should hopefully go up to 2033 please sanity check the dates :)
Use at own risk.

open config with manager.
export config to Configuration.csv
run script on Configuration.csv
import Configuration.csv
save config



#include <File.au3>
#include <Array.au3>

_NEWDATES("26|3|2023|1|0|29|10|2023|2|0|01:00~31|3|2024|1|0|27|10|2024|2|0|01:00~30|3|2025|1|0|26|10|2025|2|0|01:00~29|3|2026|1|0|25|10|2026|2|0|01:00~28|3|2027|1|0|31|10|2027|2|0|01:00~26|3|2028|1|0|29|10|2028|2|0|01:00~25|3|2029|1|0|28|10|2029|2|0|01:00~31|3|2030|1|0|27|10|2030|2|0|01:00~30|3|2031|1|0|26|10|2031|2|0|01:00~28|3|2032|1|0|31|10|2032|2|0|01:00~27|3|2033|1|0|30|10|2033|2|0|01:00")
MsgBox(1, "DONE", "DONE")


Func _NEWDATES($sNewdates)
	Local $iRet = 0

	Local $sFile = FileOpenDialog("SELECT the Configuration.csv FILE", "", "CSV (*.csv)")
	If @error Then
		MsgBox($MB_SYSTEMMODAL, "", "No file(s) were selected.")
		FileChangeDir(@ScriptDir)
		exit
	Else
		FileChangeDir(@ScriptDir)
	EndIf
	local $aFile=""
	local $sData=""
	_FileReadToArray($sFile, $aFile)

	For $a = 1 To $aFile[0]
		if StringRegExp($aFile[$a],"BootP_Info_End") then
			$sData &=$aFile[$a+1]& @CRLF
			$sData &=$aFile[$a+2]& @CRLF
			$sData &=$aFile[$a+3]& @CRLF
			$sData &=$aFile[$a+4]
		endif
	next
	FileSetAttrib($sFile, "-R")
	Local $hFile = FileOpen($sFile, 2)
	$sData = StringRegExpReplace($sData, '\|,[2-3][0-9]\|.*\|01:00,', '|,' & $sNewdates & ',', 1)
	$iRet = @extended
	FileWrite($hFile, $sData)
	FileClose($hFile)
	Return $iRet
EndFunc   ;==>_NEWDATES
 

RE: IP Office DST setting

Thanks Daken

that gets blown away if you ever touch the time zone settings again.

@Jamie77

how did you manage to adjust the xml file?

I took only 3 dates out for 2014, 2015 and 2016 and it complains that it is corrupt

I took the bold and underlined part for the years in question out and get nothing but error messages as soon as I open a config.

<TimeZone><Name>(GMT-05:00) Eastern Time (US &amp; Canada)</Name>
<Locale>frc</Locale> <UTCOffset>18000</UTCOffset>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/12/2017 2:00:00 AM - 11/5/2017 2:00:00 AM</DSTPair>
</Entry>

<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/11/2018 2:00:00 AM - 11/4/2018 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/10/2019 2:00:00 AM - 11/3/2019 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/8/2020 2:00:00 AM - 11/1/2020 2:00:00 AM</DSTPair>
</Entry>

Joe
FHandw, ACSS, ACIS

If you give more information you will get better answers. If you only give bits and pieces then you will get the same back and maybe not fitting your problem.

RE: IP Office DST setting

I found that I accidentally erased the
<DSTEntries>

in front of the bold entry but putting it back still brings me the error message

Joe
FHandw, ACSS, ACIS

If you give more information you will get better answers. If you only give bits and pieces then you will get the same back and maybe not fitting your problem.

RE: IP Office DST setting

2
If you have another version of Manager, just copy the timezoneinfo.xml over to replace the corrupted one.

timezoneinfo.xml doesn't live on the SD card (that I can find), it seems to only be in Manager. Could experiment with keeping the same number of entries for the time zone, but modifying them to delete the old ones and add new ones in the same format.

Or, on a per system basis, in Manager, delete the older entries and add new entries until you fill up the available entries.

RE: IP Office DST setting

TTT I have made a copy before and reset it every time I make adjustments.

I just actually did leave the number of entries the same like you suggested and just moved them around but IPO sorted it by date anyways.
So I changed all the dates and went up to 2033 in the hopes I am still alive by then (just made my motorcycle license) and it worked smile

Joe
FHandw, ACSS, ACIS

If you give more information you will get better answers. If you only give bits and pieces then you will get the same back and maybe not fitting your problem.

RE: IP Office DST setting

Here the file if someone wants to have the file for the -05:00 timezone

I might do more over the weekend depending if I feel like it.

Joe
FHandw, ACSS, ACIS

If you give more information you will get better answers. If you only give bits and pieces then you will get the same back and maybe not fitting your problem.

RE: IP Office DST setting

Actually copy and pasting the dates is easy so here the file for US and Canada because our dates are different than the rest of the world

Joe
FHandw, ACSS, ACIS

If you give more information you will get better answers. If you only give bits and pieces then you will get the same back and maybe not fitting your problem.

RE: IP Office DST setting

Last update includes most European countries as well as Australia and New Zealand

The following time zones are not updated as they are all over the place and I just don't want to google all these dates for single entries in the list for stuff I will never use.

Azores
Beirut
Buenos Aires
Cape Verde
Greenland (I seem to remember they stay permanently on DST anyways now)
Jerusalem
Tehran

If you need to update them feel free to do it and then upload it here for others to enjoy

Joe
FHandw, ACSS, ACIS

If you give more information you will get better answers. If you only give bits and pieces then you will get the same back and maybe not fitting your problem.

RE: IP Office DST setting

@Westi, I pulled down your edited TimeZoneInfo.xml file (thank you for all of the work put into editing it) and replaced the one I found located at System - Primary - WebMgmtEE - Test - XML. I rebooted the IPO and launched Manager, but nothing has changed in the DST Offset dropdown. Obviously I did something wrong or missed a step. If you could let me know what that was I'd appreciate it.

RE: IP Office DST setting

Hello Nortel4Ever

I use the one for North America only because I may have buggered up my other one.

Try using the first one I posted.

then when you open a config and click on the time zone dropdown it should start with 2022

Joe
FHandw, ACSS, ACIS

https://www.millsidetc.com/

RE: IP Office DST setting

@Westi, I pulled down your second one because it included dates for the -07:00 time zone which is what I need.

RE: IP Office DST setting

I think the first one has those as well.
It should have all US and Canadian locale in that.

Joe
FHandw, ACSS, ACIS

https://www.millsidetc.com/

RE: IP Office DST setting

@Westi, this still is not working for me, could you email me at norm.b@completephones.com so that we can discuss off line?

RE: IP Office DST setting

Oh, nevermind I got it figured out.

RE: IP Office DST setting

I am glad, I was on the road and just came back into the office so missed your post until now.

Joe
FHandw, ACSS, ACIS

https://www.millsidetc.com/

RE: IP Office DST setting

7
Just going to post this cleaned up version of Westi's global TimeZoneInfo.xml file, there were a few missing tags etc.

To apply to an IPO500:
  • Upload this file to \SYSTEM\PRIMARY\WebMgmtEE\TEST\XML\ on the IPO500 SD Card (backup and replace the existing TimeZoneInfo.xml file already there)
  • Reboot the IPO500
  • Close and re-open Manager and log into the IPO500 after the reboot
  • The updated time zone data should now display under System > Time Zone, if it doesn't, select another random time zone and then back to your one, it should then update.
To apply to your local Manager to work on offline configs:
  • Close Manager if it is open
  • Copy this file to C:\Program Files (x86)\Avaya\IP Office Admin Suite\Manager\ (backup and replace the existing TimeZoneInfo.xml file already there)
  • Reopen Manager and open a config
  • The updated time zone data should now display under System > Time Zone, if it doesn't, select another random time zone and then back to your one, it should update.
Thank you Westi for doing the hard work for us pipe

Cheers,
BFG9K
Avaya IPO/ACCS Technician
Melbourne, Australia

RE: IP Office DST setting

2
You are the man

I did the initial work in a hurry and completely forgot to get back and fix it.
If you see pink it is from another star not a forest fire in the distance.

Joe
FHandw, ACSS, ACIS

RE: IP Office DST setting

...and again I have to wonder why Avaya couldn't have kept this updated with each software release. I guess because they were too busy fixing their screw-ups from every previous release...

RE: IP Office DST setting

I guess that Avaya has laid off the guy that was responsible for this years ago and they forgot to have a new person in charge of that.
The same with their certificates and the fact that they did not keep that up to date either.
Probably the same person, HAHAHA

Joe
FHandw, ACSS, ACIS

RE: IP Office DST setting

I've already given a star and would give another if I could. So not knocking, this is excellent work and thanks for sharing, but for a few locales a few warnings are needed:

  • Brazil: Stopped DST in 2019.
  • Eygpt: Started DST in 2023.
  • Morocco: Switched to permanent DST (UTC+1) in 2018.
  • Russia: Stopped DST in 2014.
  • Turkey: Switched to permanent DST (UTC+3) in 2016
Today is busy but if time allows Monday I'll try to post a corrected version for those odd locales.

...and then there's those pesky Americans, who've half-passed a law to stop DST, but only half! Strange people.

Stuck in a never ending cycle of file copying.

RE: IP Office DST setting

3
Okay, that took long than expected (finding both the time to do it and doing it).

Changes:
  • Made the file a bit more human readable (though sadly Manager doesn't like comments in the file).
  • Removed 2022 - it's happened.
  • Fixed the missing 2026 DSTOffset value for the nlb,frb,dan,fra,esp locales.
  • Removed all the DST settings for unsupported locales (would anyone ever see them?).
  • Removed the DST settings for Brazil and Mexico. They stopped DST in 2019 and 2022 respectively.
  • Added DST for Egypt (they started this year).
  • Moved Turkey and Morocco forward an hour. They have effectively switched to permanent DST since 2016 and 2018 respectively.
File link below:

RE: IP Office DST setting

Nice job sizbut, I already have replaced my North America only file with yours.
pink for you.

Joe
FHandw, ACSS, ACIS

https://www.millsidetc.com/

RE: IP Office DST setting

@sizbut,I'm wondering if there is a way you could monitize this DST file for yourself and sell it to Avaya for wider distribution.

RE: IP Office DST setting

I still have some contacts inside the ever shrinking development team, so to repay favours its heading that way anyway.

Stuck in a never ending cycle of file copying.

RE: IP Office DST setting

Guys, I've followed these steps (I think?) And put in the modified xml file but the drop down list hasn't changed.

Ive rebooted, closed config, opened config, to no avail.

Can someone point me to where I might be going wrong?

RE: IP Office DST setting

I only post to say what I did using what was said above in the hopes it makes it as simple as possible for someone else.

I used BFG9K's solution at first. I found that if I use that XML file and fixed my manager, I could connect to all my customers systems and simply re-choose the TZ and save it. My steps were:

1. With Manager closed, copy the excellent TZ file from BFG9K into c:\blah\Avaya\blah\manager\ to replace the original.
2. Connect to the PBX using Manager
3. On the system tab, drop down the list of TZs and choose the correct one (even if it's already highlight, you have to CLICK IT). You will see the DST ranges update from 2014 to 2022.
4. Save.

I simply repeated 2-4 for all the systems.

I had one customer where their phones on SE were using the wrong DST. I finally realized it was the location settings. I did the same thing for the location for that customers TZ/DST settings on one of the locations. That seemed to fix all of the other locations. (Probably because it uploaded the new XML file).

Hope that helps someone. AND THANK YOU EVERYONE who contributed to this very useful thread.

FYI, I chose to try and simplify based on this Avaya solution, but their XML sucks as it only adds 2 years. BFG9Ks is good through 2033:
https://support.avaya.com/ext/index?page=content&a...

RE: IP Office DST setting

Ok. I was just putting the modified xml onto the SD card. When I put the modified xml file into manager, I get the drop down as described. That's great.

I wonder: because my computer is one of many that may connect to the ip office, what happens when a computer with a manager program that doesn't have the modified xml installed changes some programming and saves it? Does it revert back because that config will have the old DST entries in it? I feel like it will.

What if we put that same modified xml in the proper spot on the sd card? Will that prevent it from reverting back?

I will have to test.

RE: IP Office DST setting

Well done for raising this, @Jamie77.

Thanks, Tim
Adelaide, Australia

RE: IP Office DST setting

Not sure what I'm doing wrong at my end. I've uploaded the new file and the new dates are all listed.

I attempt to change the clock forward/back settings to the correct year, select it and press OK, but it just reverts back to the first option on the list and the time doesn't move forward 1:00 (+9:30 to +10:30)

Any ideas?

Thanks, Tim
Adelaide, Australia

RE: IP Office DST setting

@tac84

That is normal, it isn't going by the first one on the list but it's going through the entire list... if that makes sense. Also why do you have different years in a single entry?

I would also go into system status and look to see if the time server is resolving.

RE: IP Office DST setting

I've saved the XML in the manager directory as well as updated it on the SD card. restarted the IPO and manager, yet I still can't get it to show me the new dates in the DST offset.

I've manually changed the time offset to -4 for now. but I really need to find the fix so I can get this working automatically.

I've attempted this with both my own XML file as well as one downloaded from above. I'm not physically at the location of the IPO, so manually grabbing the SD card to put the file there is not an option at this time. but at least you can still browse it on the manager. What am I doing wrong?

RE: IP Office DST setting

@Bolinious

Did you try swapping between time zones? You have to swap between time zones in IPO -> System for it to update from my experience.

Let me know if you still need help and maybe we can remote with each other

RE: IP Office DST setting

I never changed between time zones and back. just did the XML file (my own manual and the downloaded one above) to try and make the auto DST work.


I only have remote access and will only be able to try more after normal business hours. does the time zone change require a reboot or will that work like when I manually changed to -4 instead of the normal -5 DST setting?

RE: IP Office DST setting

@Bolinious

Nope, just need to swap time zones without merging and then it should update. Once it updates, merge. No reboot required for the Manager method (putting the xml in the Manager folder).

RE: IP Office DST setting

thank you. i'll try changing time zone outside of business hours and back.

RE: IP Office DST setting

agreed, definitely need to change to a different timezone, then go back to your preferred timezone to be able to see the new entries.

RE: IP Office DST setting

Thanks, @lleeNC for your reply.

Re the question why do I have different years in a single entry? - do you mean because it has it over 1/10/2023 to 7/4/2024? That's the daylight savings period here in Australia. October through to April.

Time server is resolving fine in System Status so not sure what is going on.

Thanks, Tim
Adelaide, Australia

RE: IP Office DST setting

2
@tac84
For me I have to always change the time zone to something else and then click OK and then go back (like lleeNC) before it takes the new schedule.
The file from BFG9K has the Adelaide entries in it so it should work. Not sure why yours is so stubborn.

Joe
FHandw, ACSS, ACIS

https://www.millsidetc.com/

RE: IP Office DST setting

Thanks Westi
Your file worked great for EDT US.

RE: IP Office DST setting

Thank you, everybody. This really helped us.

RE: IP Office DST setting

Thanks @Westi
I managed to get this working, however I had to upload @BFG9K's TimeZoneInfo.xml to the following places:

- \SYSTEM\PRIMARY\WebMgmtEE\TEST\XML\
- \SYSTEM\PRIMARY\WebManagement\TEST\XML\

Once I uploaded the file to both locations, rebooted the IPO and logged back in, everything corrected itself and started working.

Thanks again everyone for helping.

Thanks, Tim
Adelaide, Australia

RE: IP Office DST setting

The files I have downloaded do not work for PST in the US. I just tried to update a site in California and it showed blank when I clicked on PST for the time zone? Does anyone have one that works for the PST time zone?
Mike

RE: IP Office DST setting

I had a look into the xml file and it is there so it is your system being stubborn

<TimeZone><Name>(GMT-08:00) Pacific Time (US &amp; Canada)</Name>
<Locale>esm</Locale>
<UTCOffset>28800</UTCOffset>
<DSTEntries><Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/13/2022 2:00:00 AM - 11/6/2022 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/12/2023 2:00:00 AM - 11/5/2023 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/10/2024 2:00:00 AM - 11/3/2024 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/9/2025 2:00:00 AM - 11/2/2025 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/8/2026 2:00:00 AM - 11/1/2026 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/14/2027 2:00:00 AM - 11/7/2027 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/12/2028 2:00:00 AM - 11/5/2028 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/11/2029 2:00:00 AM - 11/4/2029 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/10/2030 2:00:00 AM - 11/3/2030 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/9/2031 2:00:00 AM - 11/2/2031 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/14/2032 2:00:00 AM - 11/7/2032 2:00:00 AM</DSTPair>
</Entry>
<Entry><DSTOffset>01:00:00</DSTOffset>
<DSTPair>3/13/2033 2:00:00 AM - 11/6/2033 2:00:00 AM</DSTPair>
</Entry>
</DSTEntries>
</TimeZone>

Joe
FHandw, ACSS, ACIS

https://www.millsidetc.com/

RE: IP Office DST setting

With Nortel analog lines it was always an efficient way to get the current date by capturing it from the caller ID on every call. Is it possible with a via to do this or is it possible to capture the current time and date from a PRI call they both include the time and date of the incoming caller ID time stamp?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close