Voicemail Pro Installation and Maintenance Page 351
15-601063 Issue 22e (16 May 2010)IP Office Release 6
Voicemail Pro Examples: Using VB Script
7.1.2.3 FullFilename Method
This method is used to translate the shortcut filename to the equivalent fully qualified pathname for the file.
Method
Voice.FullFilename(file)
Parameters
·file (String)
This contains the name of the file to be translated. 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.
·[GREETING]\greeting
Plays out the greeting stored within the greetings directory. The .WAV extension is
automatically appended.
·[ACCOUNTS]\mailbox\message
Plays out the message stored within the specified mailbox. The .WAV extension is
automatically appended.
·[CAMPAIGN]\campaign\message
Plays out a campaign message stored within the specified campaign. The .WAV
extension is automatically appended.
Return Value
The equivalent fully qualified path name for the specified file. (String)
7.1.2.4 GetCallingParty Method
This method can be used to obtain the CLI from the current call.
Method
Voice.GetCallingParty([dlgid])
Parameters
·dlgid (Long. Default = 0)
The connection for the voicemail session.
Return Value
The CLI value associated with the specified voicemail session. (String)
7.1.2.5 GetDTMF Method
This method is used to return user’s DTMF input.
Method
Voice.GetDTMF([digits], [timeout], [dlgid])
Parameters
·digits (Long, Default = 1)
The maximum number of DTMF digits to capture.
·timeout (Long, Default = 30)
The maximum time to wait for DTMF input.
·dlgid (Long. Default = 0)
The connection for the voicemail session.
Return Value
The DTMF keys that were pressed. (String)
7.1.2.6 GetEstimatedAnswer Method
This method is used to obtain the $QTIM session variable.
Method
Voice.GetEstimatedAnswer([dlgid])
Parameters
·dlgid (Long. Default = 0)
The connection for the voicemail session.
Return Value
The value of the $QTIM session variable associated with the specified voicemail session. (String)