richardli Report post Posted 06/06/2005 01:50 PM 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
SupportTeam Report post Posted 06/06/2005 08:04 PM 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