Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
cdr_object Struct Reference

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

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 754 of file cdr.c.

Field Documentation

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(), and cdr_object_get_billsec().

const ast_string_field appl

The last accepted application party A was in

Definition at line 776 of file cdr.c.

Referenced by cdr_object_create_and_append(), and cdr_object_create_public_records().

const ast_string_field bridge

The bridge the party A happens to be in.

Definition at line 776 of file cdr.c.

Referenced by bridge_candidate_process(), and cdr_object_party_b_left_bridge_cb().

const ast_string_field context

The accepted context for Party A

Definition at line 776 of file cdr.c.

Referenced by cdr_object_create_and_append(), and cdr_object_create_public_records().

const ast_string_field data

The data for the last accepted application party A was in

Definition at line 776 of file cdr.c.

Referenced by cdr_object_create_and_append(), and cdr_object_create_public_records().

enum ast_cdr_disposition disposition
struct timeval end
const ast_string_field exten

The accepted extension for Party A

Definition at line 776 of file cdr.c.

Referenced by cdr_object_create_and_append(), and cdr_object_create_public_records().

struct ast_flags flags
struct cdr_object_fn_table* fn_table
int is_root

True if this is the first CDR in the chain

Definition at line 779 of file cdr.c.

Referenced by cdr_object_dtor(), and handle_channel_snapshot_update_message().

struct cdr_object* last

The last CDR object in the chain

Definition at line 778 of file cdr.c.

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

struct timeval lastevent
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 776 of file cdr.c.

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

const ast_string_field name

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

Definition at line 776 of file cdr.c.

Referenced by PathSegment::__init__(), cdr_object_alloc(), and PathSegment::get_child().

struct cdr_object* next
struct cdr_object_snapshot party_a
struct cdr_object_snapshot party_b
const ast_string_field party_b_name

Party B channel name. Cached here as it is the all CDRs container key

Definition at line 776 of file cdr.c.

Referenced by cdr_object_party_b_left_bridge_cb(), and cdr_object_update_party_b_userfield_cb().

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().

struct timeval start
const ast_string_field uniqueid

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

Definition at line 776 of file cdr.c.

Referenced by cdr_object_alloc().


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