VoiceGuide IVR Software Main Page
Jump to content

Call Duration

Recommended Posts

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

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

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
×