invoso.com Report post Posted 02/01/2019 09:16 AM which variable include outbound call length? I found only $RV_CALLLENGTH. Share this post Link to post
SupportTeam Report post Posted 02/01/2019 09:35 AM $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
invoso.com Report post Posted 02/01/2019 09:42 AM Sorry, my question is about length of transfered calls used in cdrout as Duration value. Share this post Link to post
SupportTeam Report post Posted 02/01/2019 10:14 AM 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: https://www.voiceguide.com/vghelp/source/html/com_rvget.htm 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