Contents

VoiceGuide Help
1. Introduction
Welcome To VoiceGuide
Which version to use
2. System Configuration
System Requirements
Installing v7.x - Dialogic
Installing v7.x - VoIP / HMP
Installing v6.x - Dialogic
Installing v5.x - Voice Modems
Installing v5.x - CAPI compatible cards
Installing v5.x - Dialogic
Installing v5.x - Dialogic Wave Drivers
Text To Speech
Call Transfers and Conferencing
ODBC Data Sources
End of Call Detection
Distinctive Ring Detection
Cisco Call Manager Configuration
T1/E1 ISDN Configuration
T1/E1 RobbedBit/CAS/R2 Configuration
VoIP Line Registration
Command Line Options
Registering VoiceGuide
Unique System Identifier
3. Script Design
Introduction
Graphical Design Environment
Module Types
Paths
Result Variables
Call Start
Call Finish
Multilanguage Systems
Protected Scripts
Sound files
Testing Scripts
4. Modules Reference
Play
Record
Get Numbers
Say Numbers
Transfer Call
Send Phone Message
Send Pager Message
Send Email
Database Query
Run Program
Time Switch
Evaluate Expression
Run VB Script
Send DDE Command
Hangup Call
5. Fax
Introduction
6. Voicemail
Introduction
Voicemail System Manager
Voicemail Menus
Message Lamps
7. Outbound Dialing
Loading Numbers to Call
Detect Call Answer
Outbound VoIP calls
Predictive Dialers
External Database Source (v7)
8. Speech Recognition
Introduction
Grammars
Install LumenVox
9. Logs
Script Logs
Call Detail Records (CDRs)
10. ActiveX / COM Interface
Admin_TraceLogAdd
Dialer_MakeCall
Dialer_OutDialQueAdd
Bridge_Connect
Bridge_Disconnect
Line_Hangup
Line_Pickup
Play_Start
Play_Stop
Record_Stop
Record_Start
Record_2Lines_Start
Run_ResultReturn
RvGet
RvGet_All
RvGet_AllXml
RvSet
RvSet_RvList
Script_Gosub
Script_Goto
Script_Return
Serial_Tx
Vm_Event
Vm_VmbConfig_Get
Vm_VmbConfig_Set
11. PBX Integration (CTI)
Inband Signaling
Ericsson MD110 Voicemail Interface
Legal Information
Copyright & Disclaimer

 
Home
VoiceGuide Online Help
Prev Page Next Page
 
 

Script_Gosub

VoiceGuide COM Reference

Call a VoiceGuide subscript, specifying the script filename and start module. Specify which script and module should be ran once the subscript returns.

Syntax

object.Script_Gosub iLineId, sDestScript, sDestModule, sRvList, sReturnScript, sReturnModule

Part

Description


object

VoiceGuide object


iLineId

Identification number of the line


sDestScript

The filename of the VoiceGuide script where the subscript is located. If the subscript is in the same VoiceGuide script as the calling module hen this entry can be left blank.


sDestModule

Name of the starting module.


sRvList

List of Result Variables and their values. Each RV-Value pair is in format [Name]{Value} a number of RV-Value pairs can be specified one after another.


sReturnScript

The filename of the VoiceGuide script where the system should return to after finishing the subscript. If the subscript is in the same VoiceGuide script as the calling module then this entry can be left blank.


sReturnModule

Name of the return module.


Remarks

If the module names are blank then the default starting modules in the script are used.

 

Example 1

set vg = CreateObject("vgServices.CommandLink")
'Gosub to a new scriopt and return to module VmMmMenuPlay in the current script
vg.Script_Gosub $RV_LINEID, "vmAdmin.vgs", "", "", "", ""
set vg = Nothing

 

Example 2

set vg = CreateObject("vgServices.CommandLink")
'Gosub to a new scriopt and return to module VmMmMenuPlay in the current script
vg.Script_Gosub $RV_LINEID, "vmAdmin.vgs", "VmAdminWelcMsgMenuPlay", "", "", "VmMmMenuPlay"
set vg = Nothing

 

Converted from CHM to HTML with chm2web Pro 2.84 (unicode)