VoiceGuide IVR Software Main Page
Jump to content

Verify Entered Number In Get Numbers Module

Recommended Posts

Hi There,

 

When I using VBS to Verify Entered Number, How can I return "verify_passed" back to VoiceGuide by using TXT file?

 

The license we have is Professional license, which means we can't use COM like "vg.Run_ResultReturn $RV_LINEID, sResult"

 

All of our other VBS Modules are using text files to return variables or FAIL, however, it seems Verify Entered Number in Get Numbers Module doesn't looking for value stored in text files.

 

Best regards,

Sasha

 

 

Log:

 

133603.67 9 eng copy of verification script ran: vbs_9_2_0825133603.vbs

133603.70 9 Run Script waiting. iRunWait=1 (shellid=2712, process=1804)

133603.70 9 timer set 1 EV_TIMEOUT_CHECKONSTATE

133604.72 9 timer fired EV_TIMEOUT_CHECKONSTATE

133604.72 9 ScriptEventCode 9007 iLineState=1301

133604.72 9 LsGetNbrsRxDigits EV_TIMEOUT_CHECKONSTATE

133604.72 9 task completed (shellid=2712, process=1804)

133604.72 9 eng verify task did not return any data. This is an immediate failure.

 

VBS Script for return passed:

If GAwks < 30 And GAdys < 7 Then

strResVar = "verify_passed"

Else

strResVar = "verify_failed"

End If

 

iRet = WriteResultFile(strResVar)

 

function WriteResultFile(strResult)

const ForReading=1, ForWriting=2, ForAppending=8

Dim fso, ts, filename

filename = "VGRUNRESULT_$RV_LINEID.TXT"

 

set fso = CreateObject("Scripting.FileSystemObject")

set ts = fso.OpenTextFile(filename, ForWriting, True)

ts.WriteLine(strResult)

ts.Close

WriteResultFile = 0

end function

Share this post


Link to post
Verify Entered Number in Get Numbers Module doesn't looking for value stored in text files.

Correct. Only API calls can be used to return verify_passed/verify_failed from the Verify Entered Number script.

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
×