VoiceGuide IVR Software Main Page
Jump to content

Rv Not Being Sent To Vbs

Recommended Posts

Here is my XML followed by the event log.

In the log you will notice the following lines:

153214.76 5 RVreplace start: [C:\VG_Script\no_ans.vbs "$RV[investCode]" "$RV[OutDial_Result]" "$RV_CALLEDNUMBER" "$RV_LINEID" "$RV[Comments] " ]

153214.76 5 RVns [Agent](2166)[investCode](57286)[Comments]( ) [Phone2](8179242462)[OutDial_RetriesLeft]{0}[DNIS]{19724756676}[OutDial_Result]{

ncontactable_Busy}

153214.77 5 RVreplace end: [C:\VG_Script\no_ans.vbs "0" "Uncontactable_Busy" "19724756676" "5" "0 " ]

 

My question is why is "$RV[investCode]" being passed as "0" to the vbs when it is showing a value on the RVns?

 

<OutDialEntry>

<PhoneNumber>19724756676</PhoneNumber>

<CallTime>2/24/2004</CallTime>

<DayTimeStart>10</DayTimeStart>

<DaysCallAllowed>MoTuWeThFrSa</DaysCallAllowed>

<AnnounceMessage></AnnounceMessage>

<OnAnswer>c:\VB_Script\answer.vgs</OnAnswer>

<OnAnswerMachine>c:\VB_Script\ans_mach.vbs</OnAnswerMachine>

<AnswerTimeout>c:\VB_Script\no_ans.vgs</AnswerTimeout>

<CallRetries>0</CallRetries>

<RetryDelay>0</RetryDelay>

<RV>[Agent](2166)[investCode](57286)[Comments]( ) [Phone2](8179242462)</RV>

<OnNotConnected>C:\VG_Script\no_ans.vbs "$RV[investCode]" "$RV[OutDial_Result]"

 

"$RV_CALLEDNUMBER" "$RV_LINEID" "$RV[Comments] " </OnNotConnected>

</OutDialEntry>

 

 

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

153206.68 0 dial callque insert tel:19724756676 scr:c:\VB_Script\answer.vgs time:402240000 esc:none

153206.73 0 Loaded 1 entries.

153207.77 5 dial [10,19724756676,402240000,10,2359,MoTuWeThFrSa,,,,0,,c:\VB_Script\answer.vgs,c:\VB_Script\ans_mach.vbs,[Agent](2166)[investCode](57286)[Comments]( ) [Phone2](8179242462),60,0,0,C:\VG_Script\no_ans.vbs "$RV[investCode]" "$RV[OutDial_Result]" "$RV_CALLEDNUMBER" "$RV_LINEID" "$RV[Comments] " ,none]

153207.77 0 dial callque update id=10 next call time 0406171534

153207.77 0 dial callque DB update returned

153207.78 5 dial found entry: tel[19724756676] ann[] vgs[c:\VB_Script\answer.vgs] am[c:\VB_Script\ans_mach.vbs]

153207.78 5 Dialing: 19724756676

153207.78 5 MakeCall => 66376

153207.78 5 TimeoutSet 60 EV_TIMEOUT_MAKECALL_NORESPONSE

153207.78 5 TapiCbTrigSet 66376 7002

153208.54 5 tapi Reply (LineEvReply) ok 66376 0

153208.54 5 TapiCbTrigClear

153208.54 5 linedevstate 2048 0 0

153208.55 5 callstate DIALTONE 66120 0 0

153208.55 5 callstate DIALING 66120 0 0

153208.55 5 callstate PROCEEDING 66120 0 0

153208.56 5 callinfo CALLEDID

153208.56 5 callinfo REASON

153208.59 5 Lev_CallerID [0000,,19724756676]

153208.59 5 rv add [DNIS]{19724756676}

153208.59 5 callinfo ORIGIN

153214.73 5 callstate BUSY 66120 4 0

153214.73 0 dial callque delete id=10

153214.76 5 AddRVns [OutDial_Result]{Uncontactable_Busy}

153214.76 5 TimeoutClear

153214.76 5 RVreplace start: [C:\VG_Script\no_ans.vbs "$RV[investCode]" "$RV[OutDial_Result]" "$RV_CALLEDNUMBER" "$RV_LINEID" "$RV[Comments] " ]

153214.76 5 RVns [Agent](2166)[investCode](57286)[Comments]( ) [Phone2](8179242462)[OutDial_RetriesLeft]{0}[DNIS]{19724756676}[OutDial_Result]{

ncontactable_Busy}

153214.77 5 RVreplace end: [C:\VG_Script\no_ans.vbs "0" "Uncontactable_Busy" "19724756676" "5" "0 " ]

153214.77 5 eng run vbscript [C:\VG_Script\no_ans.vbs "0" "Uncontactable_Busy" "19724756676" "5" "0 "]

153214.84 5 dial no escalation info

153214.87 5 rv add [Hangup Time]{6/17/2004 3:32:14 PM}

153214.87 5 Hanging up call... [busy]

153214.87 5 RecSoundStop ok

153214.89 5 PlaySoundStop err=0

153214.89 5 TimeoutSet 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP

153214.91 5 Waiting for a call...

153214.91 5 fnHangupCall end

153214.96 5 linedevstate 2048 0 0

153214.96 5 callstate IDLE 66120 0 0

153214.96 5 WorkingMode@Idle=

153214.96 5 TimeoutClear

153214.98 5 LineState(iLineId).iVgsIdx = 0

153214.98 5 TimeoutSet 1 EV_TIMEOUT_TIMETOREINITLINE

153214.98 5 tapi Reply (LineEvReply) ok 66069 0

153215.93 5 Timer fired EV_TIMEOUT_TIMETOREINITLINE

153215.93 5 ScriptEventCode 9008 iLineState=900

153215.97 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

153215.98 5 ReinitTelephony due to IDLE

153215.99 5 tapic lineDeallocateCall(MainCall:66120) 0

153216.17 5 lineOpen(5)=>

153216.17 5 Waiting for a call...

153216.18 5 LineHandle=66137

153216.18 5 TimeoutSet 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT

153219.18 5 Timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

153219.18 5 ScriptEventCode 9013 iLineState=900

Share this post


Link to post

RVs in your XML file are specified incorrect. You should be using curly brackets instead of the parentheses. ie. This line:

 

<RV>[Agent](2166)[investCode](57286)[Comments]( ) [Phone2](8179242462)</RV>

 

should be:

 

<RV>[Agent]{2166}[investCode]{57286}[Comments]{}[Phone2]{8179242462}</RV>

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
×