Voicemail Pro Page 334
15-601063 Issue 20l (03 March 2009)IP Office
8.1.2.37 SetResult Method
The SetResult method is used to set the $RES session variable.
Voice.SetResult(
result As String,
[dlgid As Long = 0]
)
·Parameters
·result - The new value for the $RES variable.
·dlgid - The connection ID as passed in to the script.
·Return Value
This method does not return a value.
8.1.2.38 SetSavedResult Method
The SetSavedResult method is used to set the $SAV session variable.
Voice.SetSavedResult(
result As String,
[dlgid As Long = 0]
)
·Parameters
·result - The new value for the $SAV variable.
·dlgid - The connection ID as passed in to the script.
·Return Value
This method does not return a value.
8.1.2.39 SetVariable Method
The SetVariable method is used to set the $VAR session variable.
Voice.SetVariable(
variable As String,
[dlgid As Long = 0]
)
·Parameters
·variable - The new value for the $VAR variable.
·dlgid - The connection ID as passed in to the script.
·Return Value
This method does not return a value.