Skip to content

Tables in the PBX Database

When you query your Cloud Voice phone system’s database directly, the data you read comes from the tables described here. This reference covers the tables that hold call detail records (CDRs), queue activity, call transcriptions, and other call-related data, and lists the fields in each one along with what they contain.

Tracks unread missed calls for queue agents.

FieldDescription
idReserved for internal use.
unique_idReserved for internal use.
agent_idReserved for internal use.
queue_numQueue number.
agent_numAgent’s extension number.
is_readWhether the missed-call record has been marked as read.

Stores notes that agents add to calls.

FieldDescription
idReserved for internal use.
group_idReserved for internal use.
agent_idReserved for internal use.
create_timeReserved for internal use.
registration_timeReserved for internal use.
agent_nameAgent’s name.
remarkFree-text note.

Links call notes to their disposition codes.

FieldDescription
disposition_code_idReserved for internal use.
call_note_idReserved for internal use.

The primary call detail record for each call leg.

FieldDescription
idReserved for internal use.
datetimeDate and time of the record.
timestampReserved for internal use.
uidReserved for internal use.
clidReserved for internal use.
srcCaller’s number.
srcnameCaller’s name.
srcaddrReserved for internal use.
dstCallee’s number.
dstnameCallee’s name.
dcontextReserved for internal use.
channelReserved for internal use.
dstchannelReserved for internal use.
srctrunkTrunk the call originated from.
dsttrunkTrunk the call was routed out on.
lastappReserved for internal use.
lastdataReserved for internal use.
durationTotal length of the call.
ringdurationHow long the call rang.
talkdurationHow long the parties were connected on the call.
dispositionOutcome of the call.
amaflagsReserved for internal use.
calltypeType of communication.
accountcodePIN (account) code used for the call.
uniqueidReserved for internal use.
didnumberDID number.
dodnumberDOD number.
recordfileFile name of the recording.
recordpathFull path to the recording, including the file name.
srcchanurlCaller’s SIP URI.
dstchanurlCallee’s SIP URI.
reasonpartyaReserved for internal use.
reasonpartybReserved for internal use.
reasonpartycReserved for internal use.
reasonpartydReserved for internal use.
reasonpartyeReserved for internal use.
reasonpartyfReserved for internal use.
displayonwebReserved for internal use.
src_del_cdrReserved for internal use.
dst_del_cdrReserved for internal use.
src_del_recordingReserved for internal use.
dst_del_recordingReserved for internal use.
srcnameprefixReserved for internal use.
dstnameprefixReserved for internal use.
misscall_isreadReserved for internal use.
in2outboundReserved for internal use.
concurrentcallsReserved for internal use.
videocallReserved for internal use.
rascallReserved for internal use.
tryvideocallReserved for internal use.
amountCost charged for the call.
rate_idReserved for internal use.
displayonextReserved for internal use.
dstextenReserved for internal use.
callflowReserved for internal use.
callflownumberReserved for internal use.
holddurationHow long the call was held.
press_timeoutHow many times the caller let the prompt time out without pressing a key.
press_invalidHow many times the caller pressed an invalid key.
pressKey the caller pressed.
groupidReserved for internal use.
reasonpartygReserved for internal use.
reasonpartyhReserved for internal use.
reasonpartyiReserved for internal use.
process_extExtension of the operator who set the processing result.
process_timeWhen the operator set the processing result.
ivrdstReserved for internal use.
linkedidReserved for internal use.
attended_requestorReserved for internal use.
is_auto_fill_0Reserved for internal use.
contactnameReserved for internal use.
contacttypeReserved for internal use.
campaign_idReserved for internal use.
target_idReserved for internal use.
task_idReserved for internal use.
target_sourceReserved for internal use.
number_encryption_objectReserved for internal use.
cdridReserved for internal use.
enb_call_noteReserved for internal use.
record_custom_codeReserved for internal use.
auto_sync_process_resultAuto-sync state for processing results across repeat calls.
shakenattestationReserved for internal use.

A condensed, per-call summary of call detail records used for reporting.

FieldDescription
idReserved for internal use.
tenant_idReserved for internal use.
uidReserved for internal use.
timestampReserved for internal use.
datetimeDate and time of the record.
srcCaller’s number.
srcnameCaller’s name.
dstCallee’s number.
dstnameCallee’s name.
second_dstCallee’s number on the second leg of the call.
second_dstnameCallee’s name on the second leg of the call.
last_dstCallee’s number on the final leg of the call.
last_dstnameCallee’s name on the final leg of the call.
dispositionOutcome of the call.
call_durationLength of the call.
routing_durationElapsed time from the call starting to being answered.
ivr_durationTime the call spent in the IVR.
callflow_durationTime the call spent in the call flow.
wait_durationElapsed time from the call starting to being answered.
handling_durationTime from answer to hang-up, including any hold and wrap-up time.
talk_durationTime from answer to hang-up.
hold_durationHow long the call was held.
wrap_durationTime the agent spent on post-call wrap-up.
call_typeType of communication.
call_noteReserved for internal use.
queuesReserved for internal use.
ringgroupsReserved for internal use.
ivrsReserved for internal use.
callflowsReserved for internal use.
campaignsReserved for internal use.
disconnect_byWhich party ended the call.
segmentsNumber of legs in the call.
has_recordingWhether the call has an associated recording.
srcnameprefixReserved for internal use.
dstnameprefixReserved for internal use.
second_calltypeCommunication type on the second leg of the call.
second_dstnameprefixReserved for internal use.
last_calltypeCommunication type on the final leg of the call.
last_dstnameprefixReserved for internal use.
last_callflowName of the call feature used on the final leg.
last_callflownumberNumber of the call feature used on the final leg.
enb_timelineWhether the call timeline is enabled.
first_contact_nameContact name on the first leg of the call.
first_contact_typeContact type on the first leg of the call.
wrapup_tsReserved for internal use.

A processed set of call detail records with derived metrics for analytics.

FieldDescription
idReserved for internal use.
tenant_idReserved for internal use.
uidReserved for internal use.
cdridReserved for internal use.
another_uidReserved for internal use.
group_cdridReserved for internal use.
rate_idReserved for internal use.
is_groupReserved for internal use.
group_idReserved for internal use.
flagReserved for internal use.
timestampReserved for internal use.
start_tsReserved for internal use.
datetimeDate and time of the record.
srcCaller’s number.
dstCallee’s number.
dstextenReserved for internal use.
srctrunkTrunk the call originated from.
dsttrunkTrunk the call was routed out on.
didnumberDID number.
dodnumberDOD number.
call_flowName of the call feature involved.
call_flow_numberNumber of the call feature involved.
call_typeType of communication.
dispositionOutcome of the call.
answeredWhether the call was answered.
missedWhether the call was missed.
abandonedWhether the caller hung up before being answered.
no_answerWhether the call went unanswered.
busyWhether the call returned busy.
failedWhether the call failed.
vmWhether the call was sent to voicemail.
durationTotal length of the call.
talk_durationTime from answer to hang-up.
ring_durationElapsed time from the call starting to being answered.
answered_ring_durationFor answered calls, the time from the call starting to being answered.
hold_durationHow long the call was held.
wrapup_durationTime the agent spent on post-call wrap-up.
press_keyKey the caller pressed.
concurrentPeak number of simultaneous calls.
amountCost charged for the call.
satisfactionScore returned by the satisfaction survey.
transfer_destDestination the call was transferred to.
is_qcbWhether the call is a queue callback.
qcb_statusStatus of the callback.
qcb_failed_reasonReason the queue callback failed.
opr_durationTime spent handling IVR input.
member_answerd_countNumber of queue calls answered by agents.
member_hold_durationTime agents kept queue calls on hold.
qcb_timeWhen the agent placed the callback.
qcb_numberNumber that requested the callback.
srcnameCaller’s name.
dstnameCallee’s name.
dstnameprefixReserved for internal use.
member_answered_numberExtension of the internal user who answered the call.
is_displayReserved for internal use.
member_answered_nameName of the member who answered the call.
member_answered_countNumber of calls answered by members.
source_srcCaller’s number on the first leg of the call.
source_srcnameCaller’s name on the first leg of the call.
shakenSTIR/SHAKEN attestation level.
member_answer_ringdurationFor answered calls, the time from the call starting to being answered.
member_polling_attempsNumber of attempts made to reach an agent.
join_announcement_durationLength of the join announcement.

Per-leg call detail records retained for call clips and recordings.

FieldDescription
idReserved for internal use.
tenant_idReserved for internal use.
uidReserved for internal use.
clidReserved for internal use.
uniqueidReserved for internal use.
linkedidReserved for internal use.
cdridReserved for internal use.
datetimeDate and time of the record.
timestampReserved for internal use.
srcCaller’s number.
srcnameCaller’s name.
srcnameprefixReserved for internal use.
dstCallee’s number.
dstnameCallee’s name.
dstnameprefixReserved for internal use.
channelReserved for internal use.
dstchannelReserved for internal use.
srctrunkTrunk the call originated from.
dsttrunkTrunk the call was routed out on.
durationTotal length of the call.
ringdurationHow long the call rang.
talkdurationHow long the parties were connected on the call.
holddurationHow long the call was held.
wrapdurationTime the agent spent on post-call wrap-up.
dispositionOutcome of the call.
calltypeType of communication.
didnumberDID number.
dodnumberDOD number.
recordfileFile name of the recording.
recordpathFull path to the recording, including the file name.
amountCost charged for the call.
rate_idReserved for internal use.
accountcodePIN (account) code used for the call.
callflowReserved for internal use.
callflownumberReserved for internal use.
groupidReserved for internal use.
enb_call_noteReserved for internal use.
scenarioReserved for internal use.
scenario_primary_idReserved for internal use.
scenario_secondary_idReserved for internal use.
displayonwebReserved for internal use.
displayonextReserved for internal use.
concurrencysCurrent number of simultaneous calls.
number_encryption_objectReserved for internal use.
srcaddrReserved for internal use.
srcchanurlReserved for internal use.
dstchanurlReserved for internal use.
videocallReserved for internal use.
rascallReserved for internal use.
tryvideocallReserved for internal use.
src_del_cdrReserved for internal use.
dst_del_cdrReserved for internal use.
src_del_recordingReserved for internal use.
dst_del_recordingReserved for internal use.
finish_callReserved for internal use.
transactionidReserved for internal use.
dcontextReserved for internal use.
shakenattestationReserved for internal use.
shakenrejectreasonReserved for internal use.
start_tsReserved for internal use.
join_announcement_durationLength of the join announcement.

Holds extended attributes that supplement a call detail record.

FieldDescription
idReserved for internal use.
tenant_idReserved for internal use.
uidReserved for internal use.
cdridReserved for internal use.
another_uidReserved for internal use.
timestampReserved for internal use.
is_auto_fill_0Reserved for internal use.
contactnameReserved for internal use.
contacttypeReserved for internal use.
record_custom_codeReserved for internal use.
dstextenReserved for internal use.

Records how queue calls were processed and by whom.

FieldDescription
idReserved for internal use.
uidReserved for internal use.
tenant_idReserved for internal use.
cdridReserved for internal use.
linkedidReserved for internal use.
timestampReserved for internal use.
queueQueue number.
process_resultProcessing result recorded for the queue call.
process_extExtension of the operator who set the processing result.
process_timeWhen the operator set the processing result.
auto_sync_process_resultAuto-sync state for processing results across repeat calls.

Stores the sequence of events that make up a call’s timeline.

FieldDescription
idReserved for internal use.
tenant_idReserved for internal use.
uidReserved for internal use.
cdridReserved for internal use.
event_timeDate and time of the record.
timestampReserved for internal use.
event_typeType of call event.
event_nameName of the call event.
event_contentDetails of the call event.

Maps calls to activities logged in a connected CRM.

FieldDescription
idReserved for internal use.
cdridReserved for internal use.
crm_idReserved for internal use.
act_idReserved for internal use.
create_timeReserved for internal use.

Tracks each extension’s count of unread missed calls.

FieldDescription
idReserved for internal use.
ext_numExtension number.
unread_countCount of unread missed calls.

Low-level event log for queue activity.

FieldDescription
idReserved for internal use.
callidReserved for internal use.
queueidReserved for internal use.
timeReserved for internal use.
timestampReserved for internal use.
queuenameReserved for internal use.
agentReserved for internal use.
eventReserved for internal use.
data1Reserved for internal use.
data2Reserved for internal use.
data3Reserved for internal use.
data4Reserved for internal use.
data5Reserved for internal use.
data6Reserved for internal use.

Records missed calls that came through queues.

FieldDescription
idReserved for internal use.
uniqueidReserved for internal use.
caller_idReserved for internal use.
linked_idReserved for internal use.
cdr_idReserved for internal use.
new_cdridReserved for internal use.
new_idReserved for internal use.
timestampReserved for internal use.
srcCaller’s number.
ext_numExtension number.
dod_numberDOD number.
call_flow_numberNumber of the call feature involved.
number_encryption_objectReserved for internal use.
talk_durationTime from answer to hang-up.
call_typeType of communication.
dispositionOutcome of the call.
dcontextReserved for internal use.
clidReserved for internal use.
reason_partyaReserved for internal use.
ring_durationElapsed time from the call starting to being answered.
is_readWhether the missed-call record has been marked as read.
process_extExtension of the operator who set the processing result.
process_timeWhen the operator set the processing result.
process_resultProcessing result recorded for the queue call.
auto_sync_process_resultAuto-sync state for processing results across repeat calls.

Metadata for call transcriptions.

FieldDescription
idReserved for internal use.
call_idReserved for internal use.
ext_idReserved for internal use.
created_atReserved for internal use.
usedWhether the transcription has been used.
languageLanguage of the transcription.

Stores the transcribed content of calls.

FieldDescription
idReserved for internal use.
call_idReserved for internal use.
timestampReserved for internal use.
created_atReserved for internal use.
durationReserved for internal use.
typeReserved for internal use.
source_numberSource number the transcription is for.
contentText of the transcription.

Stores AI-generated summaries of transcribed calls.

FieldDescription
idReserved for internal use.
call_idReserved for internal use.
ext_idReserved for internal use.
created_atReserved for internal use.
updated_atReserved for internal use.
summaryAI-generated summary of the call.

Controls which extensions can view a transcription.

FieldDescription
idReserved for internal use.
transcription_record_idReserved for internal use.
visible_ext_idReserved for internal use.
visibleReserved for internal use.
call_idReserved for internal use.

Records peak concurrent-call counts per trunk.

FieldDescription
idReserved for internal use.
timestampReserved for internal use.
datetimeDate and time of the record.
trunkName of the trunk.
call_typeType of communication.
concurrentPeak number of simultaneous calls on the trunk.