VoiceGuide IVR Software Main Page
Jump to content

Shutdown Vg

Recommended Posts

Hi,

 

We are trying to schedule restart the system daily. However, the VG might be busy and working. Is there any way we can detect that VG has dropped all lines and is free to shutdown?

 

Checking CallQDB is not correct as the DB will be empty after connected. However, the script might be long.

 

Anyway to check in order not to break any line?

 

Thanks

 

Richard

Share this post


Link to post

You can call the RvGet COM function from an external script/program, querying each of the lines for this RV:

 

$RV[CallEndTime]

 

If you get some value for this RV then this means there is right now no call on this line, and the value will be the time the last call on that line ended.

 

see: http://www.voiceguide.com/vghelp/html/com_RvGet.htm

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
×