ktruk Report post Posted 09/13/2005 08:09 PM 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
ktruk Report post Posted 09/13/2005 09:39 PM 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
SupportTeam Report post Posted 09/14/2005 07:54 AM $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
ktruk Report post Posted 09/14/2005 09:50 AM 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