VoiceGuide IVR Software Main Page
Jump to content

Send Pager Message Block

Recommended Posts

How do I use the 'send pager message' block in a script as a callout function? I want to be able to activeate this block if an alarm occcurs in a monitoring syste.

 

Mike.

Share this post


Link to post

When the module is executed it will just insert an entry in the OutDialQue.mdb database in VG's \data\ subdirectory, and then VG Dialer will place the call and deliver the pager message.

 

You can of course insert the entry into the OutDialQue.mdb yourself, and as soon as the entry is placed there VG Dialer will make the call. you need to use "DIAL_PAGER_NUMERIC" for the sScript and sAnswerMachineMsg fields.

 

You can use VG's Dialer_OutDialQueAdd COM function to do the insert as well - here is an example of the VB Script to run:

set vg = CreateObject("VoiceGuide.CommandLink")

vg.Dialer_OutDialQueAdd "0,5551234", 0, 0, 0, "", "", "123456789", "DIAL_PAGER_NUMERIC", "DIAL_PAGER_NUMERIC", "", 0, 2, 5, ""

set vg = Nothing

 

Where "123456789" is the pager message and "0,5551234" is the telephone number to dial.

 

Just place the quoted script into a file with a suffix of ".vbs" and then to run the VB Script run this command:

 

Wscript myname.vbs

 

The VB Script will then be ran...

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
×