cdr/COPM3/dialogs

Collection of CDR records for filling the CONNECTION_VOIP table to support SORM-3.

Contains only successful calls that ended in a conversation - one record with aggregated information per dialog.

Served by the callstore microservice. Populated if the 'cdr_enabled' and 'sorm3_enabled' options are set in the active microservice instance.

Storage type: history or transactionlog.

Table 1. Class fields
Field Type Description

begin_time

datetime

Conversation start time

end_time

datetime

Conversation end time

client_ipv4

string

Conversation initiator IP address

client_ip_port

integer

Conversation initiator port

protocol_code

integer

5060.

session_id

string

Call initiator Call-ID. If the call came from an external subscriber (through a provider), this is the external leg Call-ID (between ESG and the provider); otherwise it is the party A Call-ID on the B2B microservice.

duration

integer

Conversation duration in milliseconds

call_type_id

integer

Call type. Variants:

  • 1 - internal

  • 2 - incoming

  • 3 - outgoing

  • 4 - transit

  • 5 - cross

calling_original_number

string

Original number of the call initiator subscriber

calling_translated_number

string

Transformed number of the call initiator subscriber

called_original_number

string

Original dialed number

called_translated_number

string

Transformed dialed number

fax

boolean

Flag of an attempt to switch to a fax session via the T.38 protocol

term_cause

integer

Conversation termination reason. Variants:

  • 1 - bye_a

  • 2 - bye_b

  • 3 - cancel

  • 4 - call_final

  • 5 - timeout

  • 6 - error

  • 7 - call_terminate

  • 1000 - dead

  • 1001 - external

  • 1002 - unknown

gateway_ip4

string

IP address of the media gateway that served the conversation

invite_id

string

Unique call identifier (on B2B)

invite_ts

long

Call timestamp (on B2B)

acallid

string

Call initiator Call-ID (on B2B)

bcallid

string

Called leg Call-ID (on B2B)

record_link

string

Link to the conversation recording if present

transcript

any

Object with transcription results if present