VoiceGuide IVR Software Main Page
Jump to content

Com Interface Question

Recommended Posts

You mean like a COM function which would 'inject' a DTMF tone as if the caller had pressed it? Or something else?

 

What application would you use this function for?

Share this post


Link to post

More like a way to trap the DTMF tones that a caller presses (trap on an incoming event). It's for an active x dll that VoiceGuide will call through a vbscript

Share this post


Link to post

You can use the COM function:

 

Events_ListenStart(iLineId)

 

and all line events (including DTMF tone keypresses) for specified Line will be sent to your program.

 

But this will not really work within VBScript as VBScript cannot accept events...

 

Why don’t you just use the "Get Number" VoiceGuide module to accept caller input?

 

BTW event handler has this header:

LineEvent(iLineId as Integer, sEventType as String, lData as Long, sData as String)

Share this post


Link to post

There is no full list available at this time.

The contents of sData should be self explanatory in most cases.

Events with numbers in range 8000-9000 are internal VoiceGuide state machine transition events.

Share this post


Link to post

In VG for Dialogic the event handler has this header:

 

LineEvent(iLineId as Long, sEventType as String, lData as Long, sData as String)

 

in VG for TAPI the event handler has this header:

 

LineEvent(iLineId as Integer, sEventType as String, lData as Long, sData as String)

 

iLineId is Integer on one version and a Long in the other...!

Make sure you define the event handler correctly else your program will not compile!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×