Avaya 6 IP Phone User Manual


 
Voicemail Pro Installation and Maintenance Page 356
15-601063 Issue 22e (16 May 2010)IP Office Release 6
7.1.2.25 GetUserMailboxFromExtn Method
This method returns the mailbox associated with a specified extension number.
Method
voice.GetUserMailboxFromExtn(extension)
Parameters
· extension (String)
The extension number. A variable such as $CLI can be used with internal callers to identify
the user's own mailbox.
Return Value
The mailbox name. (String)
7.1.2.26 GetUserVariable Method
This method returns the current value of a specified user variable.
Method
voice.GetUserVariable(variable)
Parameters
· variable (String)
The user variable name.
Return Value
The current value of the user variable. (String)
7.1.2.27 GetVariable Method
This method is used to obtain the $VAR session variable.
Method
Voice.GetVariable([dlgid])
Parameters
· dlgid (Long. Default = 0)
The connection for the voicemail session.
Return Value
The value of the $VAR variable associated with the specified voicemail session. (String)
7.1.2.28 MessageCLI Method
This method is used to obtain the CLI of the caller that left a message within a mailbox.
Method
Voice.MessageCLI(mailbox, message)
Parameters
· mailbox (String)
The mailbox to which the message belongs.
· message
The message to query.
Return Value
The CLI of the caller that left the message. (String)
7.1.2.29 MessageDisplay Method
This method is used to obtain the display field associated with the message within a mailbox.
Method
Voice.MessageDisplay(mailbox, message)
Parameters
· mailbox (String)
The mailbox to which the message belongs.
· message
The message to query.
Return Value
The display string associated with the message. (String)