VoiceGuide IVR Software Main Page
Jump to content

Run Another Vgs From One Vgs

Recommended Posts

Hello,

 

It has been good experience so far using vgs.

 

Please tell me if this is possible or not?

 

I want to divide my vgs file in smaller vgs files. I want to run depending upon user selection the appropriate vgs file.

 

Please let me know how to do this?

 

If this is possible then let me know result variables I have in hand from first vgs file how I will pass to calling vgs file.

 

Is there any limitation or restriction on this type of activity let me know that also please.

 

Regards

Alok Tibrewal

www.siplnet.com

Share this post


Link to post

All the variables are carried over into the called script and can be used like "global" variables for the duration of that call.

 

You need the enterprise version of VG to call sub-scripts.

 

You can "goto" subscripts or "gosub" subscripts.

 

They work fine except that hangup-scripts need to be defined for each script separately and if you use "$RV_AfterHangupRun" this is not global and gets cleared on entry and exit from subscripts.

Share this post


Link to post
if you use "$RV_AfterHangupRun" this is not global and gets cleared on entry and exit from subscripts.

Not cleared... Gets overwritten with the script's pre-defined "On Hangup Run this Script" setting... in Script Designed see the Edit"->"Script Properties" menu.

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
×