SMDR(Station Message Detail Recording)

SMDR(Station Message Detail Recording)

The acronym SMDR, in telecommunications terms, is generally recognized as Station Message Detail Recording. The term is often used interchangeably with CDR or call detail recording. It is a means of capturing detail information about communication traffic, incoming and outgoing, for voice and data switches, routers, servers or other communication devices. The data contains particular information about every telephone call including date, time, duration, digits dialed, caller ID and trunk line. The "raw" information is generally interpreted and translated into a database for real time or scheduled processing and reporting.

There are many PBX, IP PBX and other communication servers that can provide SMDR. The methods of delivery are as varied as the manufacturers. The great majority of manufacturers still offer SMDR through a real time serial (RS 232) link. Some of the more modern and IP-based systems offer date stamped files pushed or pulled through file transfer protocol (FTP). Some vendors utilize a syslog to deliver SMDR data and others utilize proprietary protocols that require registration to their various partner programs.

All SMDR data contains valuable nuggets of information about each and every call. Most companies adopt a robust call accounting system to massage the data. The data mining applications vary for each company. Call accounting can be employed tor controlling misuse and abuse, monitoring network performance, bill reconcilliation, cost allocation and productivity enhancement.


以上 来自连接 http://smdr.ws/

说白了就是PBX中用来监视(防止乱用公司的电话私用聊天等)和记录通话信息的模块,方便计费等的日志信息.

SMDR 的信息比较简单,一般包括 direction type( incoming or outcoming), inside ext No, Trunk type(pstn or IP trunk ) , outside ext No., date, time, duration(seconds) 例如:


TypeExt.TrunkOutsideDateTimeDuration
Outgoing102pstn18761732705-16-20122:04:5330
Outgoing102pstn18761732705-16-20122:00:0612
Outgoing102pstn18761732705-16-20121:48:1310
Outgoing102pstn18761732705-16-20121:40:0036
Outgoing102ip110105-16-20120:58:236
Outgoing102ip110105-16-20120:57:315
Incoming102ip110105-16-20120:51:054


其实现原理也比较简单:

当Trunk的状态从 Callee's IDLE 变为 CONNECTED 的时候 开始计时; 当Trunk 的状态因为这通CALL被控制程序DISCONNECTED 或 话机ONHOOK .etc原因,从CONNECTED 变为 IDLE, 停止计时。当然在状态更变时记录如上面表格等informations,等等啦。就完成这张表格(or Recoder)。



       
       

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值