Guest meiotic Report post Posted 04/12/2006 01:50 AM I have a system where a caller comes in on one lines, and then I do a monitored transfer on another line. How can I determine the duration of the individual calls? Thanks! Paul Share this post Link to post
SupportTeam Report post Posted 04/12/2006 02:10 AM The length of call could be measured using the $RV_CALLLENGTH variable. The value of $RV_CALLLENGTH should be saved after call connects and then you can check the length of call at any time by seeing what is the current $RV_CALLLENGTH value less the saved 'start of call' value saved at beginning of call. You can set the start of call time using an Evaluate Expression module and saving the value in another RV (use a Success path from the Call Transfer module to go to the Evaluate Expression module). To limit length of call its easiest to just use a Play module which has "none" specified as the sound file to play (so it does not actually play anything) but use a timeout path from that module and set the timeout path to the call's max allowed length. (use a Success path from the Call Transfer module to go to the Play module). Share this post Link to post