Guest sanjayetsi Report post Posted 09/05/2006 05:05 PM HELLO, OUR ORIGINAL EMPLOYEE WHO SET UP THE VG SYSTEM HAS LEFT THE COMPANY. CAN YOU PLEASE GIVE ME A VB SCRIPT CODE TO HANG UP OUT GOING CALLS AFTER SAY 120 SECONDS HAVE PASSED? WE HAVE A SCRIPT WHICH HANGS UP WHEN A CERTAIN KEY IS PRESSED BUT WE WANT A CODE FOR HANGUP ON TIME ELAPSED? PLEASE GIVE A BRIEF IDEA ABOUT HOW TO USE THE CODE ALSO? THANKS Sanjay Share this post Link to post
SupportTeam Report post Posted 09/05/2006 11:07 PM To check how long the call is at any time during the script you just need to test the value of $RV_CALLLENGTH. (see: http://www.voiceguide.com/vghelp/html/ResultVariables.htm) Use an Evaluate Expression (See: http://www.voiceguide.com/vghelp/html/modEvalExpr.htm) module during the script to do the test and if value is greater then your limit then have script branch to a Hangup module. Share this post Link to post