Asterisk - The Open Source Telephony Project
18.5.0
|
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 ast_string_field_pool* __field_mgr_pool |
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().
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().
const ast_string_field bridge |
The bridge the party A happens to be in.
Definition at line 734 of file cdr.c.
Referenced by ast_cdr_fork(), bridge_candidate_add_to_cdr(), bridge_candidate_process(), bridge_state_process_bridge_leave(), cdr_all_print_fn(), cdr_master_print_fn(), cdr_object_party_b_left_bridge_cb(), dial_state_process_bridge_enter(), and single_state_process_bridge_enter().
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().
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().
enum ast_cdr_disposition disposition |
The disposition of the CDR
Definition at line 717 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 dial_state_process_dial_end().
struct timeval end |
When this CDR was finalized
Definition at line 720 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(), cdr_object_get_duration(), cli_show_channel(), and cli_show_channels().
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().
struct ast_flags flags |
Flags on the CDR
Definition at line 723 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_object_create_and_append(), cdr_object_create_public_records(), and single_state_process_dial_begin().
struct cdr_object_fn_table* fn_table |
The current virtual table
Definition at line 715 of file cdr.c.
Referenced by ast_cdr_clear_property(), ast_cdr_fork(), ast_cdr_set_property(), ast_cdr_setuserfield(), ast_cdr_setvar(), base_process_parked_channel(), cdr_object_check_party_a_hangup(), cdr_object_party_b_left_bridge_cb(), cdr_object_transition_state_init(), cdr_object_update_party_b(), cdr_object_update_party_b_userfield_cb(), dial_state_process_bridge_enter(), dialed_pending_state_process_bridge_enter(), dialed_pending_state_process_party_a(), handle_bridge_leave_message(), handle_channel_snapshot_update_message(), handle_dial_message(), handle_parked_call_message(), handle_parking_bridge_enter_message(), handle_standard_bridge_enter_message(), and single_state_process_bridge_enter().
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().
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().
struct timeval lastevent |
The time at which the last event was created regarding this CDR
Definition at line 721 of file cdr.c.
Referenced by ast_cdr_fork(), ast_cdr_reset(), bridge_candidate_add_to_cdr(), 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(), handle_standard_bridge_enter_message(), and single_state_init_function().
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().
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().
struct cdr_object* next |
The next CDR object in the chain
Definition at line 735 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_all_unlink(), cdr_master_print_fn(), 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(), cli_show_channel(), cli_show_channels(), dial_state_process_bridge_enter(), handle_bridge_leave_message(), handle_channel_snapshot_update_message(), handle_dial_message(), handle_parked_call_message(), handle_parking_bridge_enter_message(), handle_standard_bridge_enter_message(), and single_state_process_bridge_enter().
struct cdr_object_snapshot party_a |
The Party A information
Definition at line 713 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(), base_process_parked_channel(), base_process_party_a(), bridge_candidate_add_to_cdr(), bridge_candidate_process(), bridge_state_process_bridge_leave(), cdr_all_print_fn(), cdr_master_print_fn(), 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_get_by_name_cb(), cdr_object_select_all_by_name_cb(), cdr_object_transition_state_init(), cdr_object_update_party_b(), cli_complete_show(), cli_show_channel(), cli_show_channels(), dial_state_process_bridge_enter(), dial_state_process_dial_end(), dialed_pending_state_process_party_a(), parked_state_process_bridge_leave(), single_state_bridge_enter_comparison(), and single_state_process_dial_begin().
struct cdr_object_snapshot party_b |
The Party B information
Definition at line 714 of file cdr.c.
Referenced by ast_cdr_fork(), ast_cdr_reset(), ast_cdr_setvar(), bridge_candidate_add_to_cdr(), bridge_candidate_process(), bridge_state_process_bridge_leave(), bridge_state_process_party_b(), cdr_all_print_fn(), cdr_all_relink(), cdr_master_print_fn(), cdr_object_create_public_records(), cdr_object_dispatch(), cdr_object_dtor(), cdr_object_finalize(), cdr_object_finalize_party_b(), cdr_object_format_property(), cdr_object_party_b_left_bridge_cb(), cdr_object_select_all_by_name_cb(), cdr_object_update_party_b(), cdr_object_update_party_b_userfield_cb(), cli_show_channel(), cli_show_channels(), dial_state_process_bridge_enter(), dial_state_process_dial_end(), dial_state_process_party_b(), dialed_pending_state_process_parking_bridge_enter(), dialed_pending_state_process_party_a(), single_state_bridge_enter_comparison(), single_state_process_dial_begin(), and single_state_process_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 734 of file cdr.c.
Referenced by cdr_all_cmp_fn(), cdr_all_hash_fn(), cdr_all_relink(), cdr_all_unlink(), cdr_object_finalize_party_b(), cdr_object_party_b_left_bridge_cb(), cdr_object_update_party_b(), and cdr_object_update_party_b_userfield_cb().
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().
struct timeval start |
When this CDR was created
Definition at line 718 of file cdr.c.
Referenced by ast_cdr_fork(), ast_cdr_reset(), cdr_object_create_public_records(), cdr_object_finalize(), cdr_object_format_property(), cdr_object_get_duration(), cli_show_channel(), cli_show_channels(), and single_state_init_function().
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().