Locale Property; Name Property; Newmsgs Property - Avaya IP Office Voicemail Pro Installation And Maintenance Manual

Hide thumbs Also See for IP Office Voicemail Pro:
Table of Contents

Advertisement

Locale Property

The Locale property gets and sets the $LOC voicemail system variable.
Owning object: vmprov5.voicescript
String:
Set: A string object that contains the new value for the $LOC variable. For example:
Get: A string object containing the current value for $ LOC. For example:
Example
Sub Main (dlgid)
dim registration
Set Voice = CreateObject("vmprov5.voicescript")
registration = Voice.Register(dlgid)
if registration Then
end if
End Sub

Name Property

The Name property returns the name of the mailbox associated with the voicemail session used for
VBScript interaction with Voicemail (equivalent to $NAM system variable).
Owning object: vmprov5.voicescript
String:
Set: This property is read-only.
Get: A String object containing the name of the associated voice mailbox. for example:

NewMsgs Property

The NewMsgs property returns the number of new messages contained within the session mailbox.
Owning object: vmprov5.voicescript
String:
Set: This property is read-only.
Get: The number of new messages within the mailbox. For example:
Voicemail Pro Installation and Maintenance Guide
IP Office
Voice.Locale = String
String = Voice.Locale
dim locale
DO SOME PROCESSING.
locale = Voice.Locale
Rem NOW SET LOCALE TO FRENCH
Voice.Locale = "fr"
DO SOME PROCESSING.
Rem NOW SET LOCALE BACK TO WHAT IT WAS
Voice.Locale = locale
String = Voice.Name
Number = Voice.NewMsgs
15-601063 Issue 15b (31 May 2006)
VBScript
Page 233

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents