Maciej Zasadzki ADVICOS Report post Posted 12/10/2025 01:48 PM Hello, we need to confirm whether the following mechanism is supported. A waiting call is placed in a Play module (MusicOnHold). When the active call ends, a separate termination script must send a command to that waiting channel to: exit the Play module, immediately enter the Transfer module. Question: What is the recommended method in current VoiceGuide to let one script trigger a Script_Goto (or equivalent) on another active channel? Years ago we were told this could be done via HTTP in version 7.6. What is the correct approach today? Share this post Link to post
SupportTeam Report post Posted 12/10/2025 11:17 PM Quote When the active call ends, a separate termination script must send a command to that waiting channel to: ... Yes, this can be done from a 'termination script' or any other monitoring type script the runs in background. A Script_Goto API call can be made from any process, and can be specified to execute on any channel. You just specify the 'Line ID' of the channel on which this Script_Goto is to be executed on. The 'termination script' that you are referring to is most likely either a VBScript/JavaScript or a VoiceGuide script that can use a 'Run VBScript/JavaScript' module in it - so you can invoke a Script_Goto from there using the basic call method that is intended top be used from VBScript/JavaScript - as per demo shown here: https://www.voiceguide.com/vghelp/source/html/com_script_goto.htm Share this post Link to post
Maciej Zasadzki ADVICOS Report post Posted 12/11/2025 10:17 AM Thank you for your previous explanation. I would like to confirm whether all three Script_Goto formats below are acceptable, depending on the scenario. Jump to another script, starting from its default module: vg.Script_Goto $RV_LINEID, "OtherScript.vgs", "", "" Jump to another script and a specific module inside it: vg.Script_Goto $RV_LINEID, "OtherScript.vgs|calltransfer", "", "" Jump to a specific module in the same script (when we know the channel is currently running this script): vg.Script_Goto $RV_LINEID, "|calltransfer", "", "" Are all three forms valid, and is the third one the recommended way when the target module is in the same script? Thank you for the clarification. Share this post Link to post
SupportTeam Report post Posted 12/11/2025 10:35 AM The below approach should work : Jump to another script, starting from its default module: vg.Script_Goto $RV_LINEID, "OtherScript.vgs", "", "" Jump to another script and a specific module inside it: vg.Script_Goto $RV_LINEID, "OtherScript.vgs", "calltransfer", "" Jump to a specific module in the same script (when we know the channel is currently running this script): vg.Script_Goto $RV_LINEID, "", "calltransfer", "" Note that $RV_LINEID placeholder will just be replaced by the Line ID of the line that is currently running the VBScript/JavaScript. If you want to issue the Script_Goto command to another line, then you need to specify the variable name that holds that other line's Line ID. Share this post Link to post
Maciej Zasadzki ADVICOS Report post Posted 12/11/2025 10:43 AM Thank you for the clarification. I realize now that the information was already described in the Script_Goto documentation, and I sent my question a bit too quickly without revisiting that section. Your explanation confirmed the correct syntax, and everything is clear now. Thanks again for the support. Share this post Link to post