Avaya 6 IP Phone User Manual


 
Voicemail Pro Installation and Maintenance Page 354
15-601063 Issue 22e (16 May 2010)IP Office Release 6
7.1.2.15 GetMessageStatus Method
This method can be used to obtain the state of the message within a mailbox.
Method
Voice.GetMessageStatus(mailbox, message)
Parameters
· mailbox (String)
The mailbox to which the message belongs.
· message
The message to query. The message name format should be [Accounts]\mailbox\message.
For example [Accounts]\Extn247\MSG00004.
Return Value
The state of the message within the mailbox - N for new, O for old, S for saved. (String)
7.1.2.16 GetName Method
This method is used to obtain the $NAM session variable.
Method
Voice.GetName([dlgid])
Parameters
· dlgid (Long. Default = 0)
The connection for the voicemail session.
Return Value
The value of the $NAM session variable associated with the specified voicemail session. (String)
7.1.2.17 GetNewMsgs Method
This method is used to obtain the number of new messages contained within the session’s mailbox.
Method
Voice.GetNewMsgs([dlgid])
Parameters
· dlgid (Long. Default = 0)
The connection for the voicemail session.
Return Value
The number of new messages contained within the session’s mailbox. (Long)
7.1.2.18 GetOldMsgs Method
This method is used to obtain the number of old messages contained within the session’s mailbox.
Method
Voice.GetOldMsgs([dlgid])
Parameters
· dlgid (Long. Default = 0)
The connection for the voicemail session.
Return Value
The number of old messages contained within the session’s mailbox. (Long)
7.1.2.19 GetPositionInQueue Method
This method is used to obtain the $QPOS session variable.
Method
Voice.GetPositionInQueue([dlgid])
Parameters
· dlgid (Long. Default = 0)
The connection for the voicemail session.
Return Value
The value of the $QPOS session variable associated with the specified voicemail session. (String)