VoiceGuide IVR Software Main Page
Jump to content

Problems With Stopping Moh

Recommended Posts

We have new problem as shown in vg log file.

Call after unsuccessful connection should stop playing MoH and start playing other prompt.

We use

 

set vg = CreateObject("vgServices.CommandLink")
vg.Play_Stop $RV_LINEID
vg.Run_ResultReturn $RV_LINEID, "success"
set vg = Nothing

 

But VG shows problems with VBscript execution as shown in attached log file and not playing next prompt (silent).

vg_engine.zip

Share this post


Link to post

Trace shows that the error occurred in the Microsoft's ClearScript module:

113023.620  35  46  16 ERROR RunScript_ClearScriptV8_ScriptEngineException
ERROR ErrorDetails:
ERROR Message: Exception of type 'Microsoft.ClearScript.ScriptEngineException' was thrown.
ERROR Source: ClearScript
ERROR StackTrace:    at Microsoft.ClearScript.ScriptEngine.ThrowScriptError(IScriptEngineException scriptError)
   at Microsoft.ClearScript.Windows.WindowsScriptEngine.ThrowScriptError(Exception exception)
   at Microsoft.ClearScript.Windows.WindowsScriptEngine.<>c__DisplayClass14.<ScriptInvoke>b__13()
   at Microsoft.ClearScript.ScriptEngine.ScriptInvoke(Action action)
   at Microsoft.ClearScript.Windows.WindowsScriptEngine.ScriptInvoke(Action action)
   at Microsoft.ClearScript.Windows.WindowsScriptEngine.Execute(String documentName, String code, Boolean evaluate, Boolean discard)
   at (Object , String )
   at ..(Object oParam)

Newest version of VoiceGuide uses a newer version of the ClearScript engine, so we would first recommend moving to latest version of VoiceGuide.

 

Alternatively the system can be set to use the Windows Scripting Host to execute the VBScripts.

This can be set by adding this entry to [moduleRunScript] section of VG.INI :

 

Engine=WSH

 

 

Share this post


Link to post

in ini file is section:


[VBScript]
UseSafeSubset=1
ShellHandler=wscript

 

sav this section and add

 

[moduleRunScript]

Engine=WSH

 

 

OR delete previous section and left only second setting?

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
×