The implementation of the text to speech conversion for the time of day is not limited to the 12 hour format. Thus, a kludge similar to the one implemented for the date order is not really possible. If I am not mistaken, the 12 hour time format is actually a result of the time stamp used for voice mail messages. If the time stamp is in the 24 hour format, the TTS code should convert it. Hmm - I should probably look at the code, shouldn't I. Okay, let's see...
Well - the TTS code does not look completely correct. The implementation could be easily updated to support the 24 hour format, but at this time it won't handle the conversion of time stamps correctly for times with the hour above 19. The code that writes time stamps into XML message descriptor files for voice mail messages would have to be changed at the same time to write the time stamps in the 24 hour format. In other words, to support the 24 hour format, two changes would be required in the sipXecs code. Misha "Andy Spitzer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Woof! > > On Mon, 01 Sep 2008 09:02:23 -0400, Nikolay Kondratyev <[EMAIL PROTECTED]> > wrote: > >> And I have a question: is there a way to make the voicemail system to >> use 24 >> hours time format? (currently it uses 12 hours time format). > > Not at this time. I'm working on a new VM system in Java that will allow > that...but its a few months away. > > There is currently a kludge in the existing VM system that if the (empty) > file "DATE_DMY" exist in the prompt path, then it speaks dates as DMY > instead of the default MDY. Adding an additional kludge of that nature > for 24 hour time shouldn't be difficult. > > See sipXvxml/src/prompt/osbprompt_tts.cpp OSBpromptTTS::OSBpromptTTS() > > --Woof! _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
