VoiceGuide IVR Software Main Page
Jump to content

Calling Vg Functions Like Rvget_all Hangs

Recommended Posts

 

 

Hello Team support,

 

 

I am trying to call a vbscript file external that is when an event NO Answer is raised but it hangs. I tried logging it to a text file but nothing, it cannot pass through that line..

 

im doing like this....

 

 

set vg = CreateObject("vgServices.CommandLink")

sReturnValue1 = vg.RvGet_All(1)

 

and I believe it cannot even pass through creating the VG object, it hangs at that point, so it will never get into rvget_all

 

what should I do? what has gone wrong?

 

theres no syntax error in the vbscript , its specifed in the NOANSWER xml tag

 

 

Thanks a lot

 

 

 

 

 

Share this post


Link to post

Could you please post a copy of VoiceGuide's Trace Logs which capture the problem, this will allow us to see what happened

 

Trace files will are created in VG's \log\ subdirectory.

 

Please post the traces.

 

When posting traces/scripts please .ZIP them up and post them as attachments.

Share this post


Link to post

 

 

Hello Support Team,

 

 

Attached are the logs and a very simple vbscript, I just deleted all the unnecessary codes, the script just tries to create a VG object then following that logs a textmessage into a file to see if it passes through that

problem is it never logged anything.

 

0227_ktTel.zip

 

Thanks a lot for your help

Share this post


Link to post

Traces show that C:\nobodyap.vbs and C:\retriesnobodyap.vbs are ran at end of second call. I assume that the .RvGet_All calls are from those scripts.

 

We do not have source code for these scripts but please note that recommended use is: .RvGet_All($RV_LINEID), not .RvGet_All(1)

The $RV_LINEID will be replaced with appropriate LineId to ensure information form the corresponding line is retrieved.

 

Also at startup there are some errors visible:

 

170504.743 11 ERROR v7.0.3343.31893 (Wed 25/02/2009 17:43:06.27) thread_sockStatusLink_DoListen : Only one usage of each socket address (protocol/network address/port) is normally permitted

 

170506.915 5 ERROR v7.0.3343.31893 (Wed 25/02/2009 17:43:06.27) vgServices_InitAccess : There is already a listener on IP endpoint 0.0.0.0:7132.

 

170506.915 5 InitRemoting call

170506.915 5 InitRemoting start. in-code config. port=7139, name=vgServices, connect string=http://localhost:7139/vgIvrRemoting/vgServices

170506.915 5 note: use this http connect string in any web browser to obtain WSDL for this remoting service: http://localhost:7139/vgIvrRemoting/vgServices?WSDL

 

170506.930 5 0 ERROR v7.0.3343.31893 (Wed 25/02/2009 17:43:06.27) InitRemoting new HttpChannel(7139) : Only one usage of each socket address (protocol/network address/port) is normally permitted

 

If you see these errors that suggests that the last time VoiceGuide was ran it was not shutdown properly for some reason and you will still probably see a vgIvrService.exe listed in the task list - with that process still using the port connections that are ultimately used by the RvGet_All and other COM functions. If you are seeing such problems then you should first look into how these problems occur and resolve that first. You should not be seeing the software get into such a state on properly setup system.

 

Another explanation is that some other application on your system is using ports 7131, 7132 and 7139

 

 

 

 

171231.443 6 3 run StartRun_VbScriptOrExeEtc [C:\nobodyap.vbs], source=OnNotAnswered

171231.443 6 3 current objVbsOrExeProcess=System.Diagnostics.Process (cscript)

171231.443 6 3 current objVbsOrExeProcess details : id=5820, handle=11384, hasExited=True, startTime=27/02/2009 5:10:31 PM, exitTime=27/02/2009 5:10:31 PM

171231.443 6 3 RunVBScriptFile [wscript][C:\Program Files\VoiceGuide\temp\vbs_3_OnNotAnswered_090227171231.vbs][] timeout=0 (vbsPath=C:\Program Files\VoiceGuide\temp), start (new Process)

171231.443 6 3 objVbsOrExeProcess.Start call

171231.474 6 3 RunVBScriptFile just started. Handle=11352, Id=2580, StartTime=27/02/2009 5:12:31 PM, HasExited=False

171231.490 6 3 VBScript started [C:\Program Files\VoiceGuide\temp\vbs_3_OnNotAnswered_090227171231.vbs], ProcessHandle=[11352], VbsOrExeProcess.WorkingSet=[643072]

171231.490 6 3 run ok [C:\Program Files\VoiceGuide\temp\vbs_3_OnNotAnswered_090227171231.vbs]

171231.490 6 3 dial DeleteFromOutDialQue ID=1

171231.490 6 3 run StartRun_VbScriptOrExeEtc [C:\retriesnobodyap.vbs], source=OnRetriesExhausted

171231.490 10 dial Db_Delete_Entry begin id=1 guid=4896c636-7257-4b25-bcf5-13252a4aea23

171231.490 6 3 current objVbsOrExeProcess=System.Diagnostics.Process (cscript)

171231.490 6 3 could not get info on previos process (objVbsOrExeProcess)

171231.490 6 3 RunVBScriptFile [wscript][C:\Program Files\VoiceGuide\temp\vbs_3_OnRetriesExhausted_090227171231.vbs][] timeout=0 (vbsPath=C:\Program Files\VoiceGuide\temp), start (new Process)

171231.490 6 3 objVbsOrExeProcess.Start call

171231.505 10 dial Db_Delete_Entry end id=1 guid=4896c636-7257-4b25-bcf5-13252a4aea23

171231.552 6 3 RunVBScriptFile just started. Handle=11328, Id=3632, StartTime=27/02/2009 5:12:31 PM, HasExited=False

171231.584 6 3 VBScript started [C:\Program Files\VoiceGuide\temp\vbs_3_OnRetriesExhausted_090227171231.vbs], ProcessHandle=[11328], VbsOrExeProcess.WorkingSet=[1261568]

171231.584 6 3 run ok [C:\Program Files\VoiceGuide\temp\vbs_3_OnRetriesExhausted_090227171231.vbs]

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
×