问题描述
我想获得调用的持续时间,但不知道使用哪个变量
I want to get the duration of the call but confused which variable to use
${CDR(duration)} 或
${CDR(billsec)}
这里不清楚从什么时候开始 ${CDR(duration)} 记录时间
Here it is not clear from when ${CDR(duration)} records the time
那么我应该使用 ${CDR(duration)} 还是 ${CDR(billsec)} ?
推荐答案
假设电话进来 X 秒无人接听,然后接听,Y 秒后说话/播放内容并挂断.
Let say call come in and no answer for X second, after that answered, after that Y seconds speaks/play something and hang up.
所以持续时间将为 X + Y,而 billsec(计费时间)将为 Y.
So duration will be X + Y, while billsec(time to be billed) will be Y.
CDR(billsec) 是应答时间或计费时间,没有呼叫建立时间(拨号后延迟).
CDR(billsec) is answered time or time to be billed, without call setup time(post-dial delay).
这篇关于星号拨号计划中 ${CDR(duration)} 和 ${CDR(billsec)} 之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!