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
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. Voicemail
Introduction
Voicemail System Manager
Voicemail Menus
Message Lamps
6. Outbound Dialing
Loading Numbers to Call
Detect Call Answer
Predictive Dialers
External OutDialQue Source (v7)
External OutDialQue Source (v6)
7. Speech Recognition
Introduction
Grammars
Install LumenVox
8. Logs
Script Logs
Call Detail Records (CDRs)
9. 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
10. PBX Integration (CTI)
Inband Signaling
Ericsson MD110 Voicemail Interface
Legal Information
Copyright & Disclaimer

 
Home
VoiceGuide Online Help
Prev Page Next Page
 
 

RvGet

VoiceGuide COM Reference

Returns value of the specified Result Variable.

Syntax

sValue = object.RvGet(iLineId, sRv)

Part Description

object VoiceGuide object

iLineId Identification number of the line

sRv Result Variable who's value is to be returned. The leading dollar sign can be ommited. eg. in case of $RV[GetCardDetails] just the RV[GetCardDetails] can be specified, and in case of $RV_CALLLENGTH just the RV_CALLLENGTH can be specified.
Omiting the dollar sign is necessary if RvGet() is used from within VoiceGuide's VB Script Module, as the fully specified RVs will be replaced with their value before the script is ran.

sValue Value of the specified Result Variable. If this Result Variable is not currently defined on the line then an empty string is returned.

Remarks

Result Variables are reset at the beginning of a new call. Hence they are available for querying after the call has finished, but before a new call has begun on the same line.

RvGet() should only really be used from VoiceGuide's VB Script if that VB script polls for a value of a particular Result Variable in a loop. If the value of the Result Variable is not expected to change during the running of the script then the actual Result Variable should be used directly in the script as it normally would.

 

Example 1

Running from an external application

set vg = CreateObject("vgServices.CommandLink")
'see how long the call on line who's LineID is 6 has been going on for:
sReturnValue = vg.RvGet(6, "$RV_CALLLENGTH")

set vg = Nothing
MsgBox sReturnValue

 

Example 2

Running from VoiceGuide's VB Script module. note that the $ has been omitted in the $RV, as if it is included then the $RV will be replaces with it's actual value before the VBScript is ran.

set vg = CreateObject("vgServices.CommandLink")
'see how long the call on current line has been going on for:
sReturnValue = vg.RvGet($RV_LINEID, "RV_CALLLENGTH")

set vg = Nothing
MsgBox sReturnValue

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