Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
cdr_object Struct Reference

An in-memory representation of an active CDR. More...

Collaboration diagram for cdr_object:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct timeval answer
 
const ast_string_field appl
 
const ast_string_field bridge
 
const ast_string_field context
 
const ast_string_field data
 
enum ast_cdr_disposition disposition
 
struct timeval end
 
const ast_string_field exten
 
struct ast_flags flags
 
struct cdr_object_fn_tablefn_table
 
int is_root
 
struct cdr_objectlast
 
struct timeval lastevent
 
const ast_string_field linkedid
 
const ast_string_field name
 
struct cdr_objectnext
 
struct cdr_object_snapshot party_a
 
struct cdr_object_snapshot party_b
 
const ast_string_field party_b_name
 
unsigned int sequence
 
struct timeval start
 
const ast_string_field tenantid
 
const ast_string_field uniqueid
 

Detailed Description

An in-memory representation of an active CDR.

Definition at line 754 of file cdr.c.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 777 of file cdr.c.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 777 of file cdr.c.

◆ answer

struct timeval answer

Either when the channel was answered, or when the path between channels was established

Definition at line 761 of file cdr.c.

Referenced by ast_cdr_fork(), ast_cdr_reset(), cdr_object_check_party_a_answer(), cdr_object_create_public_records(), cdr_object_finalize(), cdr_object_format_property(), cdr_object_get_billsec(), cli_show_channel(), and cli_show_channels().

◆ appl

const ast_string_field appl

◆ bridge

const ast_string_field bridge

◆ context

const ast_string_field context

◆ data

const ast_string_field data

◆ disposition

enum ast_cdr_disposition disposition

◆ end

struct timeval end

◆ exten

const ast_string_field exten

◆ flags

struct ast_flags flags

Flags on the CDR Linked ID. Cached here as it may change out from party A, which must be immutable Unique id of party A. Cached here as it is the master CDR container key Tenant ID. Cached here because the value can be manipulated through dialplan Channel name of party A. Cached here as the party A address may change The bridge the party A happens to be in. The last accepted application party A was in The data for the last accepted application party A was in The accepted context for Party A The accepted extension for Party A Party B channel name. Cached here as it is the all CDRs container key

Definition at line 765 of file cdr.c.

Referenced by ast_cdr_clear_property(), ast_cdr_fork(), ast_cdr_set_property(), base_process_parked_channel(), base_process_party_a(), cdr_all_cmp_fn(), cdr_all_hash_fn(), cdr_master_cmp_fn(), cdr_master_hash_fn(), cdr_object_create_and_append(), cdr_object_create_public_records(), handle_channel_snapshot_update_message(), and single_state_process_dial_begin().

◆ fn_table

struct cdr_object_fn_table* fn_table

◆ is_root

int is_root

True if this is the first CDR in the chain

Definition at line 780 of file cdr.c.

Referenced by cdr_all_unlink(), cdr_object_dtor(), and handle_channel_snapshot_update_message().

◆ last

struct cdr_object* last

The last CDR object in the chain

Definition at line 779 of file cdr.c.

Referenced by ast_cdr_fork(), ast_cdr_getvar(), cdr_object_alloc(), cdr_object_create_and_append(), and cli_show_channels().

◆ lastevent

struct timeval lastevent

◆ linkedid

const ast_string_field linkedid

◆ name

const ast_string_field name

Definition at line 777 of file cdr.c.

Referenced by PathSegment::get_child(), Parameter::load(), Property::load(), and SwaggerType::load().

◆ next

struct cdr_object* next

◆ party_a

struct cdr_object_snapshot party_a

◆ party_b

struct cdr_object_snapshot party_b

◆ party_b_name

const ast_string_field party_b_name

◆ sequence

unsigned int sequence

A monotonically increasing number for each CDR

Definition at line 764 of file cdr.c.

Referenced by cdr_object_alloc(), cdr_object_create_public_records(), and cdr_object_format_property().

◆ start

struct timeval start

◆ tenantid

const ast_string_field tenantid

Definition at line 777 of file cdr.c.

Referenced by cdr_object_alloc(), and cdr_object_create_public_records().

◆ uniqueid

const ast_string_field uniqueid

Definition at line 777 of file cdr.c.

Referenced by cdr_master_cmp_fn(), cdr_master_hash_fn(), and cdr_object_alloc().


The documentation for this struct was generated from the following file: