Asterisk - The Open Source Telephony Project
21.4.1
|
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_table * | fn_table |
int | is_root |
struct cdr_object * | last |
struct timeval | lastevent |
const ast_string_field | linkedid |
const ast_string_field | name |
struct cdr_object * | next |
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 |
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 |
The disposition of the CDR
Definition at line 759 of file cdr.c.
Referenced by cdr_object_alloc(), cdr_object_create_and_append(), cdr_object_create_public_records(), cdr_object_finalize(), cdr_object_format_property(), cdr_object_set_disposition(), and handle_dial_message().
struct timeval end |
When this CDR was finalized
Definition at line 762 of file cdr.c.
Referenced by ast_cdr_reset(), bridge_candidate_process(), cdr_object_create_public_records(), cdr_object_finalize(), cdr_object_format_property(), cdr_object_get_billsec(), and cdr_object_get_duration().
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 |
Flags on the CDR
Definition at line 765 of file cdr.c.
Referenced by ast_cdr_clear_property(), ast_cdr_fork(), ast_cdr_set_property(), cdr_object_create_and_append(), cdr_object_create_public_records(), and handle_channel_snapshot_update_message().
struct cdr_object_fn_table* fn_table |
The current virtual table
Definition at line 757 of file cdr.c.
Referenced by ast_cdr_clear_property(), ast_cdr_fork(), ast_cdr_set_property(), ast_cdr_setuserfield(), ast_cdr_setvar(), cdr_object_check_party_a_hangup(), cdr_object_party_b_left_bridge_cb(), cdr_object_transition_state_init(), cdr_object_update_party_b_userfield_cb(), handle_bridge_leave_message(), handle_channel_snapshot_update_message(), handle_dial_message(), handle_parked_call_message(), handle_parking_bridge_enter_message(), and handle_standard_bridge_enter_message().
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 |
The time at which the last event was created regarding this CDR
Definition at line 763 of file cdr.c.
Referenced by ast_cdr_fork(), ast_cdr_reset(), cdr_object_alloc(), cdr_object_check_party_a_answer(), cdr_object_finalize(), cdr_object_party_b_left_bridge_cb(), handle_bridge_leave_message(), handle_channel_snapshot_update_message(), handle_dial_message(), handle_parked_call_message(), handle_parking_bridge_enter_message(), and handle_standard_bridge_enter_message().
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 |
The next CDR object in the chain
Definition at line 777 of file cdr.c.
Referenced by ast_cdr_clear_property(), ast_cdr_fork(), ast_cdr_reset(), ast_cdr_serialize_variables(), ast_cdr_set_property(), ast_cdr_setuserfield(), ast_cdr_setvar(), bridge_candidate_process(), cdr_object_create_and_append(), cdr_object_create_public_records(), cdr_object_dispatch_all_cb(), cdr_object_dtor(), cdr_object_update_party_b_userfield_cb(), handle_bridge_leave_message(), handle_channel_snapshot_update_message(), handle_dial_message(), handle_parked_call_message(), handle_parking_bridge_enter_message(), and handle_standard_bridge_enter_message().
struct cdr_object_snapshot party_a |
The Party A information
Definition at line 755 of file cdr.c.
Referenced by ast_cdr_fork(), ast_cdr_reset(), ast_cdr_serialize_variables(), ast_cdr_set_property(), ast_cdr_setuserfield(), ast_cdr_setvar(), bridge_candidate_process(), cdr_object_alloc(), cdr_object_check_party_a_answer(), cdr_object_check_party_a_hangup(), cdr_object_create_and_append(), cdr_object_create_public_records(), cdr_object_dispatch(), cdr_object_dtor(), cdr_object_finalize(), cdr_object_format_property(), cdr_object_format_var_internal(), cdr_object_transition_state_init(), cli_complete_show(), and single_state_bridge_enter_comparison().
struct cdr_object_snapshot party_b |
The Party B information
Definition at line 756 of file cdr.c.
Referenced by ast_cdr_fork(), ast_cdr_reset(), ast_cdr_setvar(), bridge_candidate_process(), cdr_object_create_public_records(), cdr_object_dispatch(), cdr_object_dtor(), cdr_object_finalize(), cdr_object_format_property(), cdr_object_party_b_left_bridge_cb(), cdr_object_update_party_b_userfield_cb(), and single_state_bridge_enter_comparison().
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 |
When this CDR was created
Definition at line 760 of file cdr.c.
Referenced by ast_cdr_fork(), ast_cdr_reset(), cdr_object_create_public_records(), cdr_object_finalize(), cdr_object_format_property(), and cdr_object_get_duration().
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().