Asterisk - The Open Source Telephony Project  18.5.0
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_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 uniqueid
 

Detailed Description

An in-memory representation of an active CDR.

Definition at line 712 of file cdr.c.

Field Documentation

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 734 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 719 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

The last accepted application party A was in

Definition at line 734 of file cdr.c.

Referenced by ast_cdr_fork(), base_process_party_a(), cdr_object_create_and_append(), cdr_object_create_public_records(), cli_show_channel(), and cli_show_channels().

◆ bridge

const ast_string_field bridge

◆ context

const ast_string_field context

The accepted context for Party A

Definition at line 734 of file cdr.c.

Referenced by ast_cdr_fork(), base_process_party_a(), cdr_object_create_and_append(), and cdr_object_create_public_records().

◆ data

const ast_string_field data

The data for the last accepted application party A was in

Definition at line 734 of file cdr.c.

Referenced by ast_cdr_fork(), base_process_party_a(), cdr_object_create_and_append(), cdr_object_create_public_records(), and cli_show_channel().

◆ disposition

enum ast_cdr_disposition disposition

◆ end

struct timeval end

◆ exten

const ast_string_field exten

The accepted extension for Party A

Definition at line 734 of file cdr.c.

Referenced by ast_cdr_fork(), base_process_party_a(), cdr_object_create_and_append(), and cdr_object_create_public_records().

◆ flags

struct ast_flags flags

◆ 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 737 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 736 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

Linked ID. Cached here as it may change out from party A struct ast_string_field_mgr __field_mgr which must be immutable

Definition at line 734 of file cdr.c.

Referenced by base_process_party_a(), cdr_object_alloc(), cdr_object_create_and_append(), cdr_object_create_public_records(), cdr_object_format_property(), and cdr_object_update_party_b().

◆ name

const ast_string_field name

Channel name of party A. Cached here as the party A address may change

Definition at line 734 of file cdr.c.

Referenced by PathSegment::get_child(), Parameter::load(), SwaggerType::load(), and Property::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 722 of file cdr.c.

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

◆ start

struct timeval start

◆ uniqueid

const ast_string_field uniqueid

Unique id of party A. Cached here as it is the master CDR container key

Definition at line 734 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: