Guest alok@siplnet.com Report post Posted 05/11/2005 01:01 PM 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
SupportTeam Report post Posted 05/11/2005 01:06 PM You can jump to other script using the goto or gosub paths. See: http://www.voiceguide.com/vghelp/html/Paths.htm Share this post Link to post
ktruk Report post Posted 05/11/2005 05:01 PM 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
SupportTeam Report post Posted 05/11/2005 10:58 PM 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