Voicemail Pro Examples: Using VB Script

7.1.2.41 SetResult Method

This method is used to set the $RES session variable.

 

Method

Voice.SetResult(result, [dlgid])

 

Parameters

result (String)

 

 

 

The new value for the $RES variable.

 

 

dlgid (Long. Default = 0)

 

 

 

The connection for the voicemail session.

 

 

 

 

Return Value

This method does not return a value.

7.1.2.42 SetSavedResult Method

This method can be used to set the value of the $SAV variable.

 

Method

Voice.SetSavedResult(result, dlgid)

 

Parameters

result (String)

 

 

 

The new value for the $SAV variable.

 

 

dlgid (Long. Default = 0)

 

 

 

The connection for the voicemail session.

 

 

 

 

Return Value

This method does not return a value.

7.1.2.43 SetUserVariable Method

This method can be used to set the value of a user variable.

 

Method

voice.SetUserVariable(variable, value)

 

Parameters

variable (String)

 

 

 

The variable name.

 

 

value (String)

 

 

 

The value to assign to the variable.

 

 

 

 

Return Value

This method does not return a value.

7.1.2.44 SetVariable Method

This method is used to set the $VAR session variable.

 

Method

Voice.SetVariable(value, dlgid)

 

Parameters

value (String)

 

 

 

The new value for the $VAR variable.

 

 

dlgid (Long. Default = 0)

 

 

 

The connection for the voicemail session.

 

 

 

 

Return Value

This method does not return a value.

Voicemail Pro Installation and Maintenance

Page 363

IP Office Release 6

15-601063 Issue 22e (16 May 2010)

Page 363
Image 363
Avaya 6 manual SetResult Method, SetSavedResult Method, SetUserVariable Method, SetVariable Method