-
1
- #1
testinads2005
Technical User
I created a script file to play the Caller-ID to a caller to help my techs identify telephone numbers while working in the field. To ID a number, the tech calls our Auto-Attendant and enters a code to pass to the VBScript module. Pretty cool.
In a VBScript Module:
***********************************************************
Sub Main (dlgid)
Set Voice = CreateObject("vmprov5.voicescript")
registration = Voice.Register(dlgid)
if registration Then
dim CallerID
dim key
CallerID = Voice.CallingParty
key = Voice.PlayDigits(CallerID)
end if
End Sub
***********************************************************
In a VBScript Module:
***********************************************************
Sub Main (dlgid)
Set Voice = CreateObject("vmprov5.voicescript")
registration = Voice.Register(dlgid)
if registration Then
dim CallerID
dim key
CallerID = Voice.CallingParty
key = Voice.PlayDigits(CallerID)
end if
End Sub
***********************************************************