VoiceGuide IVR Software Main Page
Jump to content

Rv_get Help

Recommended Posts

I'm using VG 5.2.3018

 

I'm using the Outdial_New.xml file to initiate dialing. I purposefully set the AnswerTimeout to very short for testing. Here are the contents of the file.

 

<OutDialEntry>

<PhoneNumber>9132270335</PhoneNumber>

<OnAnswer>C:\Program Files\VoiceGuide\Scripts\XT Monitoring System\xt.vgs</OnAnswer>

<LineSelection>5</LineSelection>

<CallRetries>0</CallRetries>

<AnswerTimeout>10</AnswerTimeout>

<OnNotConnected>C:\Program Files\VoiceGuide\testing.vbs</OnNotConnected>

</OutDialEntry>

 

 

 

 

Here are the contents of my VBS script (testing.vbs)

 

' set vg to the calling VoiceGuide object

set vg = CreateObject("VoiceGuide.CommandLink")

 

CurrentNumber = vg.RvGet (5, "$RV_CALLEDNUMBER")

msgbox(CurrentNumber)

 

 

 

For some reason it's not getting the correct number returned. My message box is empty. What might be the problem? Any help is greatly appreciated!

 

 

 

Here is my log file

 

104900.32 0 Loading from C:\Program Files\VoiceGuide\data\OutDial_New.xml

104900.32 0 dial callque insert tel:9132270335 scr:C:\Program Files\VoiceGuide\Scripts\XT Monitoring System\xt.vgs time:506021049 esc:none

104900.33 0 dial DialListParseInputXML no <PhoneNumber>

104900.33 0 Loaded 1 entries.

104901.33 5 dial [55,9132270335,506021049,0,2359,MoTuWeThFrSaSu,,5,,0,,C:\Program Files\VoiceGuide\Scripts\XT Monitoring System\xt.vgs,C:\Program Files\VoiceGuide\Scripts\XT Monitoring System\xt.vgs,none,10,0,5,C:\Program Files\VoiceGuide\testing.vbs,none]

104901.35 0 dial callque update id=55 next call time 0506021054

104901.35 0 dial callque DB update returned

104901.36 5 dial found entry: tel[9132270335] ann[] vgs[C:\Program Files\VoiceGuide\Scripts\XT Monitoring System\xt.vgs] am[C:\Program Files\VoiceGuide\Scripts\XT Monitoring System\xt.vgs]

104901.36 5 Dialing: 9132270335

104901.36 5 MakeCall => 66061

104901.38 5 timer set 10 EV_TIMEOUT_MAKECALL_NORESPONSE

104901.38 5 TapiCbTrigSet 66061 7002

104901.39 0 dial start any summary:|5:dial=0|6:idx=0|

104902.11 5 tapi Reply (LineEvReply) ok 66061 0

104902.11 5 TapiCbTrigClear

104902.16 5 linedevstate 2048 0 0

104902.18 5 callstate DIALTONE 66319 0 0

104902.19 5 callstate DIALING 66319 0 0

104902.19 5 callstate PROCEEDING 66319 0 0

104902.19 5 callinfo CALLEDID

104902.21 5 callinfo REASON

104902.21 5 Lev_CallerID [913-227-0318,,9132270335]

104902.21 5 rv add [DNIS]{9132270335}

104902.22 5 callinfo ORIGIN

104912.29 5 timer fired EV_TIMEOUT_MAKECALL_NORESPONSE

104912.29 5 ScriptEventCode 9020 iLineState=5200

104912.29 5 LsWaitAfterDialingOut EV_TIMEOUT_MAKECALL_NORESPONSE

104912.30 0 dial callque delete id=55

104912.30 5 AddRVns [OutDial_Result]{Uncontactable_NoAnswer}

104912.30 5 timer clear

104912.32 5 eng run vbscript [C:\Program Files\VoiceGuide\testing.vbs]

104912.36 5 dial no escalation info

104912.36 5 rv add [Hangup Time]{6/2/2005 10:49:12 AM}

104912.38 5 Hanging up call... [EV_TIMEOUT_MAKECALL_NORESPONSE]

104912.38 5 RecSoundStop ok

104912.38 5 PlaySoundStop err=0

104912.39 5 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP

104912.41 5 Waiting for a call...

104912.41 5 fnHangupCall end

104912.46 5 cl RvGet $RV_CALLEDNUMBER

104912.46 5 rv replace start: [$RV_CALLEDNUMBER]

104912.47 5 rv ns none[OutDial_RetriesLeft]{0}[DNIS]{9132270335}[OutDial_Result]{Uncontactable_NoA

swer}[Hangup Time]{6/2/2005 10:49:12 AM}

104912.47 5 rv replace end: []

104912.49 5 linedevstate 2048 0 0

104912.50 5 callstate IDLE 66319 0 0

104912.50 5 WorkingMode@Idle=

104912.52 5 timer clear

104912.52 5 LineState(iLineId).iVgsIdx = 0

104912.54 5 timer set 1 EV_TIMEOUT_TIMETOREINITLINE

104912.54 5 tapi Reply (LineEvReply) ok 65738 0

104913.54 5 timer fired EV_TIMEOUT_TIMETOREINITLINE

104913.54 5 ScriptEventCode 9008 iLineState=900

104913.54 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

104913.55 5 ReinitTelephony due to IDLE

104913.57 5 tapic lineDeallocateCall(MainCall:66319) 0

104913.72 5 lineOpen(5)=>

104913.72 5 Waiting for a call...

104913.74 5 LineHandle=66025

104913.74 5 timer set 10 EV_TIMEOUT_ATERIDLE_ALLOWOUT

104914.43 0 dial start any summary:|5:rdy=0|6:idx=0|

104915.43 0 dial start any summary:|5:rdy=0|6:idx=0|

104916.43 0 dial start any summary:|5:rdy=0|6:idx=0|

104917.43 0 dial start any summary:|5:rdy=0|6:idx=0|

104918.44 0 dial start any summary:|5:rdy=0|6:idx=0|

104919.44 0 dial start any summary:|5:rdy=0|6:idx=0|

104920.44 0 dial start any summary:|5:rdy=0|6:idx=0|

104921.44 0 dial start any summary:|5:rdy=0|6:idx=0|

104922.44 0 dial start any summary:|5:rdy=0|6:idx=0|

104923.44 0 dial start any summary:|5:rdy=0|6:idx=0|

104924.44 0 dial start any summary:|5:rdy=0|6:idx=0|

104924.69 5 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

104924.69 5 ScriptEventCode 9013 iLineState=900

Share this post


Link to post

$RV_CALLEDNUMBER is only set which the call is active - and trace shows testing.vbs was ran after outgoing call timed out...

 

Try using "$RV[DNIS]" or "RV[DNIS]"

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
×