VoiceGuide IVR Software Main Page
Jump to content

outbound call length

Recommended Posts

$RV_CALLLENGTH is the variable that can be used to retrieve the call length. It can be used on both inbound and outbound calls.

Share this post

Link to post

Sorry, my question is about length of transfered calls used in cdrout as Duration value.

Share this post

Link to post

It should be possible to retrieve $RV_CALLLENGTH for outgoing leg of the call.

There is an example demonstrating exactly that in the RvGet API documentation:


note that you use "RV_CALLLENGTH" (no $) and not "$RV_CALLLENGTH" (has $) for the second parameter in this function call:

vg.RvGet($RV[SecondLineId], "RV_CALLLENGTH")

because if you used "$RV_CALLLENGTH" the the $RV_CALLLENGTH would be replaced with a value of current line's call length before running the script.


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