本文介绍 Yeastar P 系列 IPPBX 中的数据库表。
agent_misscall_unread 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| unique_id |
系统内部标志位。 |
| agent_id |
系统内部标志位。 |
| queue_num |
队列号码。 |
| agent_num |
坐席分机号码。 |
| is_read |
未接来电记录是否已读。 |
call_note 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| group_id |
系统内部标志位。 |
| agent_id |
系统内部标志位。 |
| create_time |
系统内部标志位。 |
| registration_time |
系统内部标志位。 |
| agent_name |
坐席姓名。 |
| remark |
备注。 |
call_note_disposition_code 数据表
| 字段 |
说明 |
| disposition_code_id |
系统内部标志位。 |
| call_note_id |
系统内部标志位。 |
cdr 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| datetime |
日期和时间。 |
| timestamp |
系统内部标志位。 |
| uid |
系统内部标志位。 |
| clid |
系统内部标志位。 |
| src |
主叫号码。 |
| srcname |
主叫名称。 |
| srcaddr |
系统内部标志位。 |
| 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 |
系统内部标志位。 |
| amount |
通话费用。 |
| rate_id |
系统内部标志位。 |
| displayonext |
系统内部标志位。 |
| dstexten |
系统内部标志位。 |
| callflow |
系统内部标志位。 |
| callflownumber |
系统内部标志位。 |
| holdduration |
通话保持时间。 |
| press_timeout |
按键输入超时次数。 |
| press_invalid |
输入无效按键的次数。 |
| press |
按键信息。 |
| groupid |
系统内部标志位。 |
| reasonpartyg |
系统内部标志位。 |
| reasonpartyh |
系统内部标志位。 |
| reasonpartyi |
系统内部标志位。 |
| process_ext |
更改处理结果的操作者分机。 |
| process_time |
操作者更改处理结果的时间。 |
| ivrdst |
系统内部标志位。 |
| linkedid |
系统内部标志位。 |
| attended_requestor |
系统内部标志位。 |
| is_auto_fill_0 |
系统内部标志位。 |
| contactname |
系统内部标志位。 |
| contacttype |
系统内部标志位。 |
| campaign_id |
系统内部标志位。 |
| target_id |
系统内部标志位。 |
| task_id |
系统内部标志位。 |
| target_source |
系统内部标志位。 |
| number_encryption_object |
系统内部标志位。 |
| cdrid |
系统内部标志位。 |
| enb_call_note |
系统内部标志位。 |
| record_custom_code |
系统内部标志位。 |
| auto_sync_process_result |
重复来电处理结果的自动同步状态。 |
| shakenattestation |
系统内部标志位。 |
cdr_basic 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| tenant_id |
系统内部标志位。 |
| uid |
系统内部标志位。 |
| timestamp |
系统内部标志位。 |
| datetime |
日期和时间。 |
| src |
主叫号码。 |
| srcname |
主叫名称。 |
| dst |
被叫号码。 |
| dstname |
被叫名称。 |
| second_dst |
第二个通话阶段的被叫号码。 |
| second_dstname |
第二个通话阶段的被叫名称。 |
| last_dst |
最后一个通话阶段的被叫号码。 |
| last_dstname |
最后一个通话阶段的被叫名称。 |
| disposition |
通话状态。 |
| call_duration |
通话时长。 |
| routing_duration |
通话开始到被接听的时间。 |
| ivr_duration |
在 IVR 中的通话时长。 |
| callflow_duration |
在通话流程中的通话时长。 |
| wait_duration |
通话开始到被接听的时间。 |
| handling_duration |
通话被接听到结束的时间,包括保持时间和话务处理时间。 |
| talk_duration |
通话被应答到通话结束的时间。 |
| hold_duration |
通话保持的时间。 |
| wrap_duration |
坐席在完成服务后处理通话相关事务的时间。 |
| call_type |
通讯类型。 |
| call_note |
系统内部标志位。 |
| queues |
系统内部标志位。 |
| ringgroups |
系统内部标志位。 |
| ivrs |
系统内部标志位。 |
| callflows |
系统内部标志位。 |
| campaigns |
系统内部标志位。 |
| disconnect_by |
结束通话的通话方。 |
| segments |
通话阶段数量。 |
| has_recording |
该通话是否有关联录音。 |
| srcnameprefix |
系统内部标志位。 |
| dstnameprefix |
系统内部标志位。 |
| second_calltype |
第二个通话阶段的通话类型。 |
| second_dstnameprefix |
系统内部标志位。 |
| last_calltype |
最后一个通话阶段的通话类型。 |
| last_dstnameprefix |
系统内部标志位。 |
| last_callflow |
最后一个通话阶段的通话功能名称。 |
| last_callflownumber |
最后一个通话阶段的通话功能号码。 |
| enb_timeline |
是否启用时间线。 |
| first_contact_name |
第一个通话阶段的联系人名称。 |
| first_contact_type |
第一个通话阶段的联系人类型。 |
| wrapup_ts |
系统内部标志位。 |
cdr_cleaned 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| tenant_id |
系统内部标志位。 |
| uid |
系统内部标志位。 |
| cdrid |
系统内部标志位。 |
| another_uid |
系统内部标志位。 |
| group_cdrid |
系统内部标志位。 |
| rate_id |
系统内部标志位。 |
| is_group |
系统内部标志位。 |
| group_id |
系统内部标志位。 |
| flag |
系统内部标志位。 |
| timestamp |
系统内部标志位。 |
| start_ts |
系统内部标志位。 |
| datetime |
日期和时间。 |
| src |
主叫号码。 |
| dst |
被叫号码。 |
| dstexten |
系统内部标志位。 |
| srctrunk |
来源中继。 |
| dsttrunk |
目标中继。 |
| didnumber |
DID 号码。 |
| dodnumber |
DOD 号码。 |
| call_flow |
通话功能名称。 |
| call_flow_number |
通话功能号码。 |
| call_type |
通讯类型。 |
| disposition |
通话状态。 |
| answered |
通话是否已被接听。 |
| missed |
通话是否为未接来电。 |
| abandoned |
通话是否被主叫放弃。 |
| no_answer |
通话是否无人接听。 |
| busy |
通话是否遇忙。 |
| failed |
通话是否失败。 |
| vm |
通话是否转入语音留言。 |
| duration |
通话总时长。 |
| talk_duration |
通话被应答到通话结束的时间。 |
| ring_duration |
通话开始到通话被应答的时间。 |
| answered_ring_duration |
已接听通话从通话开始到被应答的时间。 |
| hold_duration |
通话保持的时间。 |
| wrapup_duration |
坐席在完成服务后处理通话相关事务的时间。 |
| press_key |
按键信息。 |
| concurrent |
最大通话并发数。 |
| amount |
通话费用。 |
| satisfaction |
满意度评分。 |
| transfer_dest |
通话转接目的地。 |
| is_qcb |
是否为队列回拨通话。 |
| qcb_status |
队列回拨状态。 |
| qcb_failed_reason |
队列回拨失败原因。 |
| opr_duration |
IVR 操作时间。 |
| member_answerd_count |
坐席接听的队列来电数量。 |
| member_hold_duration |
坐席保持队列通话的时间。 |
| qcb_time |
坐席回拨的时间。 |
| qcb_number |
请求回拨的号码。 |
| srcname |
主叫名称。 |
| dstname |
被叫名称。 |
| dstnameprefix |
系统内部标志位。 |
| member_answered_number |
接听来电的内部用户号码。 |
| is_display |
系统内部标志位。 |
| member_answered_name |
接听来电的成员名称。 |
| member_answered_count |
成员接听的来电数量。 |
| source_src |
第一个通话阶段的主叫号码。
|
| source_srcname |
第一个通话阶段的主叫名称。 |
| member_answer_ringduration |
已接听通话从通话开始到被应答的时间。 |
| member_polling_attemps |
尝试联系坐席的次数。 |
| join_announcement_duration |
加入队列时提示音的播放时长。 |
cdr_clip 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| tenant_id |
系统内部标志位。 |
| uid |
系统内部标志位。 |
| clid |
系统内部标志位。 |
| uniqueid |
系统内部标志位。 |
| linkedid |
系统内部标志位。 |
| cdrid |
系统内部标志位。 |
| datetime |
日期和时间。 |
| timestamp |
系统内部标志位。 |
| src |
主叫号码。 |
| srcname |
主叫名称。 |
| srcnameprefix |
系统内部标志位。 |
| dst |
被叫号码。 |
| dstname |
被叫名称。 |
| dstnameprefix |
系统内部标志位。 |
| channel |
系统内部标志位。 |
| dstchannel |
系统内部标志位。 |
| srctrunk |
来源中继。 |
| dsttrunk |
目标中继。 |
| duration |
通话总时长。 |
| ringduration |
通话响铃时长。 |
| talkduration |
通话应答时长。 |
| holdduration |
通话保持时间。 |
| wrapduration |
坐席在完成服务后处理通话相关事务的时间。 |
| disposition |
通话状态。 |
| calltype |
通话类型。 |
| didnumber |
DID 号码。 |
| dodnumber |
DOD 号码。 |
| recordfile |
录音文件的名称。 |
| recordpath |
录音文件的路径。 |
| amount |
通话费用。 |
| rate_id |
系统内部标志位。 |
| accountcode |
PIN 码。 |
| callflow |
系统内部标志位。 |
| callflownumber |
系统内部标志位。 |
| groupid |
系统内部标志位。 |
| enb_call_note |
系统内部标志位。 |
| scenario |
系统内部标志位。 |
| scenario_primary_id |
系统内部标志位。 |
| scenario_secondary_id |
系统内部标志位。 |
| displayonweb |
系统内部标志位。 |
| displayonext |
系统内部标志位。 |
| concurrencys |
当前通话并发数。 |
| number_encryption_object |
系统内部标志位。 |
| srcaddr |
系统内部标志位。 |
| srcchanurl |
系统内部标志位。 |
| dstchanurl |
系统内部标志位。 |
| videocall |
系统内部标志位。 |
| rascall |
系统内部标志位。 |
| tryvideocall |
系统内部标志位。 |
| src_del_cdr |
系统内部标志位。 |
| dst_del_cdr |
系统内部标志位。 |
| src_del_recording |
系统内部标志位。 |
| dst_del_recording |
系统内部标志位。 |
| finish_call |
系统内部标志位。 |
| transactionid |
系统内部标志位。 |
| dcontext |
系统内部标志位。 |
| shakenattestation |
系统内部标志位。 |
| shakenrejectreason |
系统内部标志位。 |
| start_ts |
系统内部标志位。 |
| join_announcement_duration |
加入队列时提示音的播放时长。 |
cdr_extend 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| tenant_id |
系统内部标志位。 |
| uid |
系统内部标志位。 |
| cdrid |
系统内部标志位。 |
| another_uid |
系统内部标志位。 |
| timestamp |
系统内部标志位。 |
| is_auto_fill_0 |
系统内部标志位。 |
| contactname |
系统内部标志位。 |
| contacttype |
系统内部标志位。 |
| record_custom_code |
系统内部标志位。 |
| dstexten |
系统内部标志位。 |
cdr_process 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| uid |
系统内部标志位。 |
| tenant_id |
系统内部标志位。 |
| cdrid |
系统内部标志位。 |
| linkedid |
系统内部标志位。 |
| timestamp |
系统内部标志位。 |
| queue |
队列号码。 |
| process_result |
队列通话的处理结果。 |
| process_ext |
更改处理结果的操作者分机。 |
| process_time |
操作者更改处理结果的时间。 |
| auto_sync_process_result |
重复来电处理结果的自动同步状态。 |
cdr_timeline 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| tenant_id |
系统内部标志位。 |
| uid |
系统内部标志位。 |
| cdrid |
系统内部标志位。 |
| event_time |
日期和时间。 |
| timestamp |
系统内部标志位。 |
| event_type |
通话事件类型。 |
| event_name |
通话事件名称。 |
| event_content |
通话事件详情。 |
dyncrm_phone_call 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| cdrid |
系统内部标志位。 |
| crm_id |
系统内部标志位。 |
| act_id |
系统内部标志位。 |
| create_time |
系统内部标志位。 |
personal_misscall_count 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| ext_num |
分机号码。 |
| unread_count |
未读的未接来电数量。 |
queue_log 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| callid |
系统内部标志位。 |
| queueid |
系统内部标志位。 |
| time |
系统内部标志位。 |
| timestamp |
系统内部标志位。 |
| queuename |
系统内部标志位。 |
| agent |
系统内部标志位。 |
| event |
系统内部标志位。 |
| data1 |
系统内部标志位。 |
| data2 |
系统内部标志位。 |
| data3 |
系统内部标志位。 |
| data4 |
系统内部标志位。 |
| data5 |
系统内部标志位。 |
| data6 |
系统内部标志位。 |
queue_miss_call 数据表
| 字段 |
说明 |
| dcontext |
系统内部标志位。 |
| id |
系统内部标志位。 |
| uniqueid |
系统内部标志位。 |
| caller_id |
系统内部标志位。 |
| linked_id |
系统内部标志位。 |
| cdr_id |
系统内部标志位。 |
| new_cdrid |
系统内部标志位。 |
| new_id |
系统内部标志位。 |
| timestamp |
系统内部标志位。 |
| src |
主叫号码。 |
| ext_num |
分机号码。 |
| dod_number |
DOD 号码。 |
| call_flow_number |
通话功能号码。 |
| number_encryption_object |
系统内部标志位。 |
| talk_duration |
通话被应答到通话结束的时间。 |
| call_type |
通讯类型。 |
| disposition |
通话状态。 |
| clid |
系统内部标志位。 |
| reason_partya |
系统内部标志位。 |
| ring_duration |
通话开始到通话被应答的时间。 |
| is_read |
未接来电记录是否已读。 |
| process_ext |
更改处理结果的操作者分机。 |
| process_time |
操作者更改处理结果的时间。 |
| process_result |
队列通话的处理结果。 |
| auto_sync_process_result |
重复来电处理结果的自动同步状态。 |
transcription_meta 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| call_id |
系统内部标志位。 |
| ext_id |
系统内部标志位。 |
| created_at |
系统内部标志位。 |
| used |
是否使用过转录功能。 |
| language |
转录语言。 |
transcription_record 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| call_id |
系统内部标志位。 |
| timestamp |
系统内部标志位。 |
| created_at |
系统内部标志位。 |
| duration |
系统内部标志位。 |
| type |
系统内部标志位。 |
| source_number |
转写来源号码。 |
| content |
转写内容。 |
transcription_summary 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| call_id |
系统内部标志位。 |
| ext_id |
系统内部标志位。 |
| created_at |
系统内部标志位。 |
| updated_at |
系统内部标志位。 |
| summary |
AI 生成的通话总结。 |
transcription_visibility 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| transcription_record_id |
系统内部标志位。 |
| visible_ext_id |
系统内部标志位。 |
| visible |
系统内部标志位。 |
| call_id |
系统内部标志位。 |
trunk_concurrent 数据表
| 字段 |
说明 |
| id |
系统内部标志位。 |
| timestamp |
系统内部标志位。 |
| datetime |
日期和时间。 |
| trunk |
中继名称。 |
| call_type |
通讯类型。 |
| concurrent |
最大通话并发数。 |