Voicemail Pro Page 324
15-601063 Issue 20l (03 March 2009)IP Office
8.1.2.18 GetPositionInQueue Method
The GetPositionInQueue method is used to obtain the $QPOS session variable.
Voice. GetPositionInQueue (
[dlgid As Long = 0]
) As String
·Parameters
·dlgid - The connection ID as passed in to the script.
·Return Value
The value of the $QPOS session variable associated with the specified voicemail session.
8.1.2.19 GetRegister Method
The GetRegister method is used to retrieve a string stored in one of the session sixteen data variables. ($CP0
to $CP15).
Voice.GetRegister(
regnum As Long,
[dlgid As Long = 0]
) As String
·Parameters
·regnum - Data register to use for storage (0-15).
·dlgid - The connection ID as passed in to the script.
·Return Value
The data stored within the specified register.
8.1.2.20 GetResult Method
The GetResult method is used to obtain the $RES session variable.
Voice.GetResult(
[dlgid As Long = 0]
) As String
·Parameters
·dlgid - The connection ID as passed in to the script.
·Return Value
The value of the $RES session variable associated with the specified voicemail session.