Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

telm59 (Vendor)
11 Mar 07 11:54
Can anyone tell me how to change the dst rules for centigram-baypoint voicemail systems?
Helpful Member!  kwbMitel (TechnicalUser)
12 Mar 07 10:43
Mitel KBA - 07-5108-00041



Nupoint Messenger release 10.x and later. (Patch Pending.)
Nupoint Messenger 10.x and later uses the MSL 7.0 which is based on Red Hat Linux which already has the support for the new DST observance dates of the second Sunday in March and ends on the first Sunday in November that are coming into effect this Spring. A patch will be available before End of February to correct issues with certain timezones. To check or set the timezone, log into the server manager and select the Date and Time menu in the Configuration menu.

Nupoint Messenger release 9.x
This release was run on the MSL 6.1 release which does not support the new DST dates. The system will continue to follow the old dates for automatic DST adjustment and will need to manually set to revert it to the correct time. The suggested action by Mitel is to upgrade any Nupoint 9.0 systems to the latest release, which is currently 10.0 UR2, to once again be able to take advantage of automatic DST time changes on the correct dates

Nupoint Messenger release 6.x to 8.x.
NOTE: - This section ONLY applies to Nupoint releases that run on the QNX operating system. i.e. release 6.x to 8.x.
The Nupoint Messenger product has supported automatic daylight savings time changes since the 6.x release. The algorithm that controls this is part of the QNX operating system used in Nupoint releases from 6.x to 8.x. These releases used the S-O-Y menu that allowed the system to be set up for different time zones but does not allow any changes to be made from the old DST dates of first Sunday in April to last Sunday in October. The following section of this bulletin will describe in detail how the timezone file in these systems may be manually edited to work with the new DST observed dates of the second Sunday in March and ends on the first Sunday in November.

Manually modifying the TZ rule in 6.x to 8.x Nupoint systems.

6.x to 8.x systems run on the QNX operating systems. The timezone is set using the S-O-Y menu and selecting the correct timezone for your region e.g. EST, PST etc. The selected rule would then follow the preprogrammed automatic DST time adjustments on first Sunday in April until the last Sunday in October. To change this default setting that is set via the S-O-Y menu you will need to edit the timezone file that controls the rule.

The timezone rule is contained in the /usr/vm/config/timezone file and for the Eastern Standard Time (EST) will look like this:-

Eastern
export TZ=EST05EDT04,M4.1.0/2,M10.5.0/2

The explanation of this rule is as follows:-

EST05EDT04 indicates that we observe DST and are using the EST time zone which is 5 hours behind UTC (UTC = Coordinated Universal Time (modern Greenwich -GMT- reference time.) ) but changes to 4 hours behind UTC in the summer.

M4 indicates we switch to DST in Month 4 (April)

1.0 means the first (1) Sunday (0) in April

/2 means we switch at 2am

M10 indicates we switch back from DST in month 10 (October)

5.0 means the 5th (or last) Sunday (0) in October

/2 means we switch at 2am.

To modify this rule for the new DST observance times of the second Sunday in March and ends on the first Sunday in November it will look like this:

Eastern
export TZ=EST05EDT04,M3.2.0/2,M11.1.0/2
| | | | | |
March = M3------------ | | | | |
Second Sunday = 2.0------ | | | |
2am = 2--------------------- | | |
November = M11----------------- | |
First Sunday = 1.0----------------- |
2am = 2-------------------------------

How to use vi editor to modify the timezone file in QNX

To edit the timezone file perform the following steps. (Note all qnx commands are case sensitive)
1) Type Q at the main menu and respond with a Y at the Go to QNX? [y/N] prompt.
2) Type the command cd /usr/vm/config to change directory.
3) Type the command chmod a+w timezone
4) Type the command TERM=vt100. (remember qnx is case sensitive !)
5) Type the command vi timezone To open the timezone file using the vi editor.

The vi editor is a primitive editor and it is not the intent of this bulletin to teach all the vi commands. It is important to know that there are two modes to this editor, command mode and edit mode. When you start the editor up you are in command mode. If you are familiar with vi then go ahead and edit the file so that it will follow the new DST observance by using the example above as a guide. If you are not familiar with vi then follow the next steps to add a new line in edit mode and to delete the current line in command mode and then save the new file and exit

1) Press the I key to enter insert or edit mode.
2) Move the cursor to the end of the first line and press the ENTER key
3) Type in the new TZ rule (the existing one will be right below it for you to use as a guide)
4) Press ENTER when finished with the new line.

Your file should look like this:-

# Eastern
export TZ=EST05EDT04,M3.2.0/2,M11.1.0/2
|| (flashing cursor here)
export TZ=EST05EDT04,M4.1.0/2,M10.5.0/2
~
~
~
5) Press the ESC key once to switch back to command mode
6) Press dd (double D) to delete the empty line the cursor is currently on.
7) Press dd again to delete the next line which is the original file content.
8) Press : (the colon key) followed by wq to write and quit the editor
9) Type the command cat timezone to see the result of your work.
10) Shutdown and reboot the system for the new file to take effect.

The system will now follow the new timezone rule. This new rule will remain in effect until you either change it using the S-O-Y timezone menu or edit it again with different values. If you use the S-O-Y menu to set the timezone it will revert the file back to the old DST rule of first Sunday in April until the last Sunday in October.

*******************************************************
The secret to success is knowing who to blame for your failures.

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!

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