PBX 数据库中的 cdr 表
本文介绍 Yeastar P 系列 IPPBX数据库中的 cdr 表。
| 字段 | 描述 |
|---|---|
| id | 系统内部标志位 |
| datetime | 通话发生的时间,采用1000-01-01 00:00:00 的时间格式 |
| timestamp | 系统内部标志位 |
| uid | 系统内部标志位 |
| clid | 系统内部标志位 |
| src | 主叫号码 |
| srcname | 主叫名称 |
| srcaddr | 主叫的 SIP 地址 |
| dst | 被叫号码 |
| dstname | 被叫名称 |
| dcontext | 系统内部标志位 |
| channel | 系统内部标志位 |
| dstchannel | 系统内部标志位 |
| srctrunk | 来源中继 |
| dsttrunk | 目标中继 |
| lastapp | 系统内部标志位 |
| lastdata | 系统内部标志位 |
| duration | 通话总时长(单位:秒) |
| ringduration | 通话响铃时长(单位:秒) |
| talkduration | 通话应答时长(单位:秒) |
| disposition | 通话状态:
|
| amaflags | 系统内部标志位 |
| calltype | 通话类型:
|
| accountcode | PIN 码 |
| uniqueid | 系统内部标志位 |
| didnumber | DID 号码 |
| dodnumber | DOD 号码 |
| recordfile | 录音文件的名称 |
| recordpath | 录音文件的路径 |
| srcchanurl | 主叫的 SIP URI |
| dstchanurl | 被叫的 SIP URI |
| reasonpartya | 系统内部标志位 |
| reasonpartyb | 系统内部标志位 |
| reasonpartyc | 系统内部标志位 |
| reasonpartyd | 系统内部标志位 |
| reasonpartye | 系统内部标志位 |
| reasonpartyf | 系统内部标志位 |
| displayonweb | 系统内部标志位 |
| src_del_cdr | 系统内部标志位 |
| dst_del_cdr | 系统内部标志位 |
| src_del_recording | 系统内部标志位 |
| dst_del_recording | 系统内部标志位 |
| srcnameprefix | 系统内部标志位 |
| dstnameprefix | 系统内部标志位 |
| misscall_isread | 系统内部标志位 |
| in2outbound | 系统内部标志位 |
| concurrentcalls | 系统内部标志位 |
| videocall | 系统内部标志位 |
| rascall | 系统内部标志位 |
| tryvideocall | 系统内部标志位 |