VBScript
Voicemail Pro Installation and Maintenance Guide
Page 237
IP Office
15-601063 Issue 15b (31 May 2006)
FullFilename Method
The FullFilename method is used to translate the shortcut filename to the equivalent fully qualified
pathname for the file.
Voice.FullFilename(
file As String
) As String
Parameters
file - This contains the name of the file to be translated:
[GREETINGS]\greeting
The file is relative to the greetings directory.
[ACCOUNTS]\mailbox\message
The file is relative to the accounts directory.
[CAMPAIGNS]\campaign\message
The file is relative to the campaigns directory.
If the fully qualified path is specified (drive:\path\file) then the full specified path
name is used otherwise the file is relative to the specified locale within the WAVS
directory.
Return Value
The equivalent fully qualified path name for the specified file.
GetCallingParty Method
The GetCallingParty method is used to obtain the $CLI session variable.
Voice.GetCallingParty(
[dlgid As Long = 0]
) As String
Parameters
dlgid - The connection ID as passed in to the script.
Return Value
The value of the $CLI session variable associated with the specified voicemail session.
GetDTMF Method
The GetDTMF method is used to return user
’
s DTMF input.
Voice.GetDTMF(
[digits As Long = 1],
[timeout As Long = 30],
[dlgid As Long = 0]
) As String
Parameters
digits - The maximum number of DTMF digits to capture.
timeout - The maximum time to wait for DTMF input.
dlgid - The connection ID as passed in to the script.
Return Value
The DTMF keys that were pressed.