VoiceGuide IVR Software Main Page
Jump to content

Run Module

Recommended Posts

After the caller has entered their phone number in a get numbers module called user_phone and they have entered their zip code number in a get numbers module called user_zip then you will be able to use the following two Result Variables in your script:

 

$RV[user_phone]

$RV[user_zip]

 

so if you specify your HTTP get statement like this:

 

http://localhost/script.php?phone=$RV[user_phone]&zip=$RV[user_zip]

 

Then VoiceGuide before running it will replace the Result Variables with the values entered by caller.

 

So if the caller has entered 0123456 in module user_phone and 8000 in module user_zip then the resulting HTTP get string after replacing the Result Variables will be:

 

http://localhost/script.php?phone=0123456&zip=8000

 

(How are you using the HHTP Get? are you using it within a Run VBScript module or somewhere else?)

Share this post


Link to post

There is an example of HTTP GET using VB Script in the VoiceGuide Help file - please see the section on "Run VB SCript" module.

 

This example is also used in a supplied Demo script - the one which retrieves the Dow Jones/Nasdaq/S&P500 indices from finance.yahoo.com and plays their current values back to the caller.

 

You can use these examples as a starting point...

 

What other approach were you considering to do the HTTP GET? you can probably start up iexplorer.exe using the Run Program module with the "http://localhost/script.php?phone=$RV[user_phone]&zip=$RV[user_zip]" as a parameter - but closing that window afterwards will be tricky...

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
×