7.1.1.3 LastAccessedMsg Property

The LastAccessedMsg property returns the name of the last recorded message. If the IP Office TUI is used then this will also contain the name of the last played message.

Owning object: vmprov5.voicescript

String:

Set: This property is read-only.

Get: A string object containing the fully qualified name of the last played or recorded message. For example: String = Voice.LastAccessedMsg

7.1.1.4 Locale Property

The Locale property gets and sets the $LOC voicemail call variable.

Owning object: vmprov5.voicescript

String:

Set: A string object that contains the new value for the $LOC variable. For example: Voice.Locale = String

Get: A string object containing the current value for $ LOC. For example: String = Voice.Locale

Example

Sub Main (dlgid) dim registration

Set Voice = CreateObject("vmprov5.voicescript") registration = Voice.Register(dlgid)

if registration Then 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

end if End Sub

Voicemail Pro Installation and Maintenance

Page 346

IP Office Release 6

15-601063 Issue 22e (16 May 2010)

Page 346
Image 346
Avaya 6 manual LastAccessedMsg Property, Locale Property