Voicemail Pro Examples: Using VB Script

7.1.1.5 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 call 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:

String = Voice.Name

7.1.1.6 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: Number = Voice.NewMsgs

7.1.1.7 OldMsgs Property

The OldMsgs property returns the number of old messages contained within the session mailbox.

Owning object: vmprov5.voicescript

String:

Set: This property is read-only.

Get: The number of old messages within the mailbox. For example: Number = Voice.OldMsgs

Voicemail Pro Installation and Maintenance

Page 347

IP Office Release 6

15-601063 Issue 22e (16 May 2010)

Page 347
Image 347
Avaya 6 manual Name Property, NewMsgs Property, OldMsgs Property