Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBSript to speak Caller-ID 2

Status
Not open for further replies.

testinads2005

Technical User
Aug 16, 2006
26
US
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
***********************************************************
 
Yes, thanks for sharing the code.
If you don't have a VB Scripting license and/or a text2speech license you can always use a generig action and put SCLI asa wav file.. It will speak the callers CLI in numbers like zero, one, two, three and so on.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top