星号拨号计划中的$ {CDR(duration)}和$ {CDR(billsec)}之间的差异 [英] difference between ${CDR(duration)} and ${CDR(billsec)} in asterisk dialplan

查看:85
本文介绍了星号拨号计划中的$ {CDR(duration)}和$ {CDR(billsec)}之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获取通话的持续时间,但困惑使用哪个变量

I want to get the duration of the call but confused which variable to use

$ {CDR(duration)}

$ {CDR(billsec)}

此处目前尚不清楚$ {CDR( (持续时间)}记录时间

Here it is not clear from when ${CDR(duration)} records the time

那我应该使用$ {CDR(duration)}或$ {CDR(billsec)}吗?

推荐答案

打进来的电话,在X秒钟后无人接听,在接听之后,在Y秒内说出/播放了一些东西并挂断了电话.

Call come in, after that not answer X second, after that answered, after that Y sec speak/play something and hangup.

因此持续时间将为X + Y,而billsec(要计费的时间)将为Y.

So duration will be X+Y, while billsec(time to be billed) will be Y.

这篇关于星号拨号计划中的$ {CDR(duration)}和$ {CDR(billsec)}之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆