CSI Report post Posted 09/11/2007 12:07 PM Since upgrading from v6 to v7.0.2, I am having a problem with my initial script which assigns a unique ID to the call in the very first module. The module always seems to end with a "String cannot be of zero length" error in the log file. I have tried changing the module, but I have yet to find any setting which works. Here is the log file: 075657.574 8 1 state [Assign CallID] Evaluate [b$RV_YY$RV_MM$RV_DD$RV_HH$RV_NN$RV_SS$RV_DEVICEID] 075657.605 8 1 rv replace start: [b$RV_YY$RV_MM$RV_DD$RV_HH$RV_NN$RV_SS$RV_DEVICEID] 075657.605 8 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\}[scriptPath]{c:\script\switchboard\}[scriptsPath]{c:\script\switchboard\}[$RV_STARTTIME]{9/11/2007 7:56:57 AM}[$RV_DEVICEID]{1}[DlgcVoice]{dxxxB1C1}[DlgcNetwork]{dxxxB1C1}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{c:\script\switchboard\}[$RV_CIDNUMBER]{} 075657.605 8 1 rv replace end: [b0709110756571] 075657.605 8 1 ERROR 7.0.2788.33800 RunModule : : String cannot be of zero length. Parameter name: oldValue at System.String.Replace(String oldValue, String newValue) at ..(Int32 iLineId, Int32 iModuleIdx) 075657.605 8 1 rv add [Hangup Time]{9/11/2007 7:56:57 AM} 075657.605 8 1 state Hanging up call... [RunModule error] 075657.605 8 1 HangupCall_Common hCall=1 075657.621 8 1 play PlaySoundStop ok 075657.621 8 1 timer set 1 EV_TIMEOUT_DOLINEDROP 075657.621 8 1 fnHangupCall end The module is an evaluation module: Evaluate: B$RV_YY$RV_MM$RV_DD$RV_HH$RV_NN$RV_SS$RV_DEVICEID Assign to result variable: CallID Store results in log file: checked on {true} goto [DNIS Capture] on {false} goto [DNIS Capture] However, it never makes it to the next module (DNIS Capture) and simply hangs up the call. I have tried adjusting the script to not answer on start, and I have tried enclosing the evaluation in quotation marks, but that does not make a difference either. I use the "CallID" variable throughout the script to store various events related to the call. Share this post Link to post
SupportTeam Report post Posted 09/11/2007 01:50 PM Could you please download the latest v7 release and update to the newest version, and post the trace capturing the call from the beginning of the call.You will need to uninstall the currently installed version of VoiceGuide. (backup your config and scripts) then delete entire VG directory before installing the newly downloaded version. Share this post Link to post