On Wed, 2009-01-28 at 11:28 -0500, Paul Mossman wrote:
> Hi all,
> 
> I'm trying to get the Polycom DST generated profile parameters synched
> up with the new "Device Time Zone" screen settings, but I'm not sure
> how.
> 
> The existing PolycomPhoneDefaults.java makes use of a DeviceTimeZone
> class.  I assumed that DeviceTimeZone was the interface to the
> "Device Time Zone" selections, but that does not seem to be the
> case.  
> 
> The DeviceTimeZone methods do not return values from the Device Time
> Zone screen, for example: 
>    - getUseDaylight() returns false, regardless of the DTZ screen's
> "Enable DST" value. 
>    - getStartDayOfWeek() returns 0, regardless of the DTZ screen's
> "DST Start" day-of-week value. 
>    - getOffset() returns 0, regardless of the DTZ screen's "GMT
> Offset" and "DST Offset" values.
> 
> How should I be accessing the Device Time Zone screen values from
> PolycomPhoneDefaults.java?  
> 

Take a look at TimeSettingsPage.  There are some calls to AdminContext
here for setting the system timezone.  However, there is more code in
the ui class that should probably be moved to AdminContext.  Then you'd
be able to access the data you need from there

Kevin


_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to