VoiceGuide IVR Software Main Page
Jump to content

Dialer Rv - How To Use Rvs?

Recommended Posts

Hi

 

I Write an ASP page to insert and update OutDialQue.mdb.

I put This statement iv RV field : [test]{121121}[test2]{110110}

In the Script I try to Use These tow RVs But HoW?

In My VBS Run Module I Use These Eample (from VG Help):

 

 

Example 1

 

Running from an external application

 

set vg = CreateObject("VoiceGuide.CommandLink")

'see how long the call on line who's LineID is 6 has been going on for:

sReturnValue = vg.RvGet($RV_LINEID, "$RV_test")

set vg = Nothing

MsgBox sReturnValue

 

 

Example 2

 

Running from VoiceGuide's VB Script module

 

set vg = CreateObject("VoiceGuide.CommandLink")

'see how long the call on current line has been going on for:

sReturnValue = vg.RvGet($RV_LINEID, "RV_test")

set vg = Nothing

MsgBox sReturnValue

 

 

In Example 1 befor "RV" we see "$" but in example 2 not?

 

How Can i ge and Use Dialer RVs in my script?

Share this post


Link to post

If you are using VoiceGuie v7 then please try:

 

sReturnValue = vg.RvGet($RV_LINEID, "test")

 

And this should work in all v5/v6 and v7 :

 

sReturnValue = vg.RvGet($RV_LINEID, "RV[test]")

 

but it's simplest to just use:

 

$RV[test]

 

in the script directly, like this:

 

sReturnValue = "$RV[test]"

 

Which version of VoiceGuide are you using?

 

BTW. MsgBox will not work from VoiceGuide v7. For debugging/tracing VBScripts in VoiceGuide v7 use Admin_TraceLogAdd : http://www.voiceguide.com/vghelp/source/ht...tracelogadd.htm

Share this post


Link to post

Thank You.

Solved.

I use Vg 5.

Wth Your Older Pacth for Analog Dialogic.

I Use Dialog/4.

again Thanks.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×