VoiceGuide IVR Software Main Page
Jump to content

Issues Using Using Variables In Paths Of Evaluation Module

Recommended Posts

I am trying to call a subscript from a evaluation module and using RV variables in the call and return statement it is not working due to some reason the script is not returing to the correct module

 

here is a log

 

 

1 event ScriptEventCode *, code=42, state=1100

195450.88 1 LsPlayMsg *,*

195450.89 1 play PlaySoundStop ok

195450.91 1 rv add [Welcome]{*}

195450.91 1 fn RunModule start

195450.92 1 tw DialogicEvent 134,TDX_CST,42,0,0,DE_DIGITS,,

195450.92 1 event ScriptEventCode TDX_CST, code=134, state=6001

195450.94 1 tw PlayEnd 1 46625

195450.94 1 play end id=46625, (current ID)

195450.95 1 event ScriptEventCode EV_PLAY_FINISHED, code=8001, state=6001

195450.95 1 tw DialogicEvent 129,TDX_PLAY,46625,0,0,,,

195450.97 1 event ScriptEventCode TDX_PLAY, code=129, state=6001

195450.97 1 timer clear

195450.98 1 state [startMessageRec] Evaluate [$RV_PreviousModule]

195450.98 1 rv replace start: [$RV_PreviousModule]

195451.00 1 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[$RV_STARTTIME]{7/3/2006 7:54:42 PM}[$RV_DEVICEID]{1}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{D:\VoiceScripts\}[$RV_CIDNUMBER]{}[GetLang]{1}[Welcome]{*}

195451.00 1 rv replace end: [Welcome]

195451.02 1 eval[Welcome]

195451.02 1 rvns add [startMessageRec_Input]{Welcome}

195451.03 1 rvns add [startMessageRec]{Welcome}

195451.03 1 rvns add [WAVFILE]{Welcome}

195451.05 1 Eval Expr result:[Welcome] stored in $RV[WAVFILE]

195451.05 1 rv replace start: [on {true} gosub [D:\VoiceScripts\RecMessage.vgs|AskRecord] return [ $RV_PreviousModule ]

on {false} gosub [D:\VoiceScripts\RecMessage.vgs|AskRecord] return [ $RV_PreviousModule ]

on {timeout 0} gosub [D:\VoiceScripts\RecMessage.vgs|AskRecord] return [ $RV_PreviousModule ]

]

I dont see a rv replace end here

195451.06 1 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[$RV_STARTTIME]{7/3/2006 7:54:42 PM}[$RV_DEVICEID]{1}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{D:\VoiceScripts\}[$RV_CIDNUMBER]{}[GetLang]{1}[Welcome]{*}[startMessageRec_Input]{Welcome}[sta

tMessageRec]{Welcome}[WAVFILE]{Welcome}

195451.08 1 path {Welcome} not found

195451.08 1 stack idx=1

195451.09 1 rv add [scriptStart_Time]{7/3/2006 7:54:51 PM}

195451.09 1 rv add [scriptStart_CalledFrom_Script]{D:\VoiceScripts\Shamel.vgs}

195451.11 1 rv add [scriptStart_CalledFrom_Module]{StartMessageRec}

195451.11 1 FindFullPathToScript_VgsOrVgp start [D:\VoiceScripts\RecMessage.vgs]

195451.13 1 FindFullPathToScript_VgsOrVgp 1

195451.13 0 LoadedVgs_Find D:\VoiceScripts\RecMessage.vgs at idx=1

195451.14 1 rvns add [scriptsPath]{D:\VoiceScripts\}

195451.14 1 fn RunModule start

195451.16 1 timer clear

 

 

 

And here are the paths in the calling module

 

on {true} gosub [D:\VoiceScripts\RecMessage.vgs|AskRecord] return [ $RV_PreviousModule ]

on {false} gosub [D:\VoiceScripts\RecMessage.vgs|AskRecord] return [ $RV_PreviousModule ]

on {timeout 0} gosub [D:\VoiceScripts\RecMessage.vgs|AskRecord] return [ $RV_PreviousModule ]

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
×