VoiceGuide IVR Software Main Page
Jump to content

System Rvs / Result Variables

Recommended Posts

Hi, I wonder if there are any system RVs which are available, but not visible/published/documented which could be used to help program flow?

 

I just wondered if there was something like "$RV_PreviousModule" (which is documented, but doesn't work across a gosub call, ie: gives itself if its the first module in a subscript called via gosub)...?

 

Something like:

$RV_CallingScript

$RV_CallingModule

$RV_CalledScript

$RV_CalledModule

 

Or if there is a var/RV which is set true when in hangup mode or similar?

 

Clearly, these values are available "behind the scenes" - but it would be very helpful if some of these values could be made available programatically, ideally as RVs.

 

(Yes, I am still trying to get my hangup scripts working. Knowing which script called a gosub could solve some issues easily for me).

 

Thanks - Tim.

 

PS: Any help appreciated - I really am getting desparate.

Share this post


Link to post

Sometimes, you can't see the wood for the trees !! I think I have found a working solution by carefully inspecting the debug log for the information I was looking for.

Share this post


Link to post

$RV[scriptEnd_Time]

$RV[scriptEnd_Goto_Script]

$RV[scriptEnd_Goto_Module]

$RV[scriptStart_Time]

$RV[scriptStart_CalledFrom_Script]

$RV[scriptStart_CalledFrom_Module]

Share this post


Link to post

Yep, figured those out and tried em - worked fine. Didn't want to "publish" my findings as you may have prefered to keep them under wraps.

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
×