Asterisk - The Open Source Telephony Project
18.5.0
|
Main Channel structure associated with a channel. More...
Main Channel structure associated with a channel.
Definition at line 73 of file channel_internal_api.c.
struct ast_string_field_pool* __field_mgr_pool |
Definition at line 113 of file channel_internal_api.c.
const ast_string_field accountcode |
Account code for billing
Definition at line 113 of file channel_internal_api.c.
struct timeval answertime |
The time the channel was answered
Definition at line 157 of file channel_internal_api.c.
Referenced by ast_channel_answertime_set().
const char* appl |
Current application
Definition at line 82 of file channel_internal_api.c.
Referenced by ast_channel_appl(), ast_channel_appl_set(), and pbx_load_config().
struct ast_audiohook_list* audiohooks |
Definition at line 92 of file channel_internal_api.c.
Referenced by ast_channel_audiohooks(), and ast_channel_audiohooks_set().
struct ast_autochan_list autochans |
Autochans on the channel
Definition at line 163 of file channel_internal_api.c.
Referenced by ast_channel_autochans().
pthread_t blocker |
If anyone is blocking, this is them
Definition at line 119 of file channel_internal_api.c.
Referenced by ast_channel_blocker(), and ast_channel_blocker_set().
int blocker_tid |
If anyone is blocking, this is their thread id
Definition at line 167 of file channel_internal_api.c.
Referenced by ast_channel_blocker_tid(), and ast_channel_blocker_tid_set().
const char* blockproc |
Procedure causing blocking
Definition at line 81 of file channel_internal_api.c.
Referenced by ast_channel_blockproc(), and ast_channel_blockproc_set().
const ast_string_field call_forward |
Where to forward to if asked to dial on this interface
Definition at line 113 of file channel_internal_api.c.
struct ast_party_caller caller |
Channel Caller ID information.
Definition at line 133 of file channel_internal_api.c.
Referenced by app_exec(), ast_channel_caller(), ast_channel_caller_set(), AST_TEST_DEFINE(), and channel_do_masquerade().
ast_group_t callgroup |
Call group for call pickups
Definition at line 152 of file channel_internal_api.c.
Referenced by ast_channel_callgroup(), and ast_channel_callgroup_set().
ast_callid callid |
Bound call identifier pointer
Definition at line 98 of file channel_internal_api.c.
Referenced by analog_handle_init_event(), ast_channel_callid(), ast_channel_callid_cleanup(), ast_channel_callid_set(), autoservice_run(), do_monitor(), handle_clear_alarms(), handle_init_event(), local_request_with_stream_topology(), media_request_helper(), mwi_thread(), my_new_analog_ast_channel(), and my_swap_subchannels().
struct ast_cdr* cdr |
Call Detail Record
Definition at line 94 of file channel_internal_api.c.
Referenced by ast_channel_cdr(), and ast_channel_cdr_set().
struct ast_party_connected_line connected |
Channel Connected Line ID information.
Definition at line 140 of file channel_internal_api.c.
Referenced by ast_channel_connected(), ast_channel_connected_set(), and channel_do_masquerade().
struct ast_party_connected_line connected_indicated |
Channel Connected Line ID information that was last indicated.
Definition at line 145 of file channel_internal_api.c.
Referenced by ast_channel_connected_indicated().
struct timeval creationtime |
The time of channel creation
Definition at line 156 of file channel_internal_api.c.
Referenced by ast_channel_creationtime_set().
const char* data |
Data passed to current application
Definition at line 83 of file channel_internal_api.c.
Referenced by agent_after_bridge_cb_failed(), analog_ss_thread(), announce_request(), ast_add_extension2(), ast_call_forward(), ast_channel_by_exten_cb(), ast_channel_data(), ast_channel_data_set(), ast_unreal_setoption(), chan_pjsip_pvt_dtor(), channel_cleanup_wrapper(), dahdi_chan_conf_default(), destroy_msg_q_chan(), end_bridge_callback(), find_by_mark(), func_channel_write(), masq_match_cb(), media_hangup(), mgcp_ss(), pbx_builtin_setvar(), pbx_load_config(), phone_request(), rec_request(), set(), set2(), skinny_newcall(), and unistim_ss().
struct ast_datastore_list datastores |
Data stores on the channel
Definition at line 162 of file channel_internal_api.c.
Referenced by ast_channel_datastores().
const ast_string_field dialcontext |
Who is responsible for hanging up this channel Dial: Extension context that we were called from
Definition at line 113 of file channel_internal_api.c.
struct ast_party_dialed dialed |
Dialed/Called information.
Definition at line 126 of file channel_internal_api.c.
Referenced by ast_channel_dialed(), ast_channel_dialed_set(), channel_do_masquerade(), jingle_request(), and pbx_outgoing_attempt().
struct ao2_container* dialed_causes |
Contains tech-specific and Asterisk cause data from dialed channels
Definition at line 99 of file channel_internal_api.c.
Referenced by __ast_channel_internal_alloc(), ast_channel_dialed_causes_add(), ast_channel_dialed_causes_channels(), ast_channel_dialed_causes_clear(), ast_channel_dialed_causes_find(), and ast_channel_internal_cleanup().
struct timeval dtmf_tv |
The time that an in process digit began, or the last digit ended
Definition at line 160 of file channel_internal_api.c.
Referenced by ast_channel_dtmf_tv(), and ast_channel_dtmf_tv_set().
struct ast_frame dtmff |
DTMF frame
Definition at line 150 of file channel_internal_api.c.
Referenced by ast_channel_dtmff(), and ast_channel_dtmff_set().
struct ast_framehook_list* framehooks |
Definition at line 93 of file channel_internal_api.c.
Referenced by ast_channel_framehooks(), and ast_channel_framehooks_set().
struct ast_generator* generator |
Current active data generator
Definition at line 78 of file channel_internal_api.c.
Referenced by ast_channel_generator(), ast_channel_generator_set(), and set_fn().
void* generatordata |
Current generator data if there is any
Definition at line 77 of file channel_internal_api.c.
Referenced by ast_activate_generator(), ast_channel_generatordata(), and ast_channel_generatordata_set().
struct ast_hangup_handler_list hangup_handlers |
Hangup handlers on the channel.
Definition at line 161 of file channel_internal_api.c.
Referenced by ast_channel_hangup_handlers().
const ast_string_field hangupsource |
Default parking lot struct ast_string_field_mgr __field_mgr if empty, default parking lot
Definition at line 113 of file channel_internal_api.c.
unsigned long insmpl |
Track the read/written samples for monitor use
Definition at line 164 of file channel_internal_api.c.
Referenced by ast_channel_insmpl(), and ast_channel_insmpl_set().
struct ast_jb jb |
The jitterbuffer state
Definition at line 159 of file channel_internal_api.c.
Referenced by ast_channel_jb(), and ast_channel_jb_set().
const ast_string_field language |
Language requested for voice prompts
Definition at line 113 of file channel_internal_api.c.
const ast_string_field latest_musicclass |
Latest active music class
Definition at line 113 of file channel_internal_api.c.
struct ast_channel_id linkedid |
Linked Channel Identifier - oldest propagated when bridged
Definition at line 116 of file channel_internal_api.c.
Referenced by __ast_channel_internal_alloc(), ast_channel_internal_copy_linkedid(), ast_channel_internal_oldest_linkedid(), ast_channel_internal_set_fake_ids(), ast_channel_internal_swap_uniqueid_and_linkedid(), and ast_channel_linkedid().
struct ast_channel* masq |
Channel that will masquerade as us
Definition at line 79 of file channel_internal_api.c.
Referenced by ast_channel_masq(), and ast_channel_masq_set().
struct ast_channel* masqr |
Who we are masquerading as
Definition at line 80 of file channel_internal_api.c.
Referenced by ast_channel_masqr(), and ast_channel_masqr_set().
struct ast_channel_monitor* monitor |
Channel monitoring
Definition at line 97 of file channel_internal_api.c.
Referenced by ast_channel_monitor(), and ast_channel_monitor_set().
void* music_state |
Music State
Definition at line 76 of file channel_internal_api.c.
Referenced by ast_channel_music_state(), and ast_channel_music_state_set().
const ast_string_field musicclass |
Default music class
Definition at line 113 of file channel_internal_api.c.
const ast_string_field name |
ASCII unique channel name
Definition at line 113 of file channel_internal_api.c.
Referenced by ast_channel_yank(), ast_config_get_current_category(), ast_var_name(), dahdi_read(), PathSegment::get_child(), Parameter::load(), SwaggerType::load(), Property::load(), mgcp_ss(), pbx_builtin_setvar(), pbx_builtin_setvar_helper(), and wait_for_answer().
struct ast_namedgroups* named_callgroups |
Named call group for call pickups
Definition at line 154 of file channel_internal_api.c.
Referenced by ast_channel_named_callgroups(), and ast_channel_named_callgroups_set().
struct ast_namedgroups* named_pickupgroups |
Named pickup group - which call groups can be picked up?
Definition at line 155 of file channel_internal_api.c.
Referenced by ast_channel_named_pickupgroups(), and ast_channel_named_pickupgroups_set().
unsigned long outsmpl |
Track the read/written samples for monitor use
Definition at line 165 of file channel_internal_api.c.
Referenced by ast_channel_outsmpl(), and ast_channel_outsmpl_set().
const ast_string_field parkinglot |
Definition at line 113 of file channel_internal_api.c.
struct ast_pbx* pbx |
PBX private structure for this channel
Definition at line 89 of file channel_internal_api.c.
Referenced by ast_channel_pbx(), and ast_channel_pbx_set().
const ast_string_field peeraccount |
Peer account code for billing
Definition at line 113 of file channel_internal_api.c.
ast_group_t pickupgroup |
Pickup group - which calls groups can be picked up?
Definition at line 153 of file channel_internal_api.c.
Referenced by ast_channel_pickupgroup(), and ast_channel_pickupgroup_set().
struct ast_readq_list readq |
Definition at line 158 of file channel_internal_api.c.
Referenced by ast_channel_readq().
struct ast_trans_pvt* readtrans |
Read translation path
Definition at line 91 of file channel_internal_api.c.
Referenced by ast_channel_readtrans(), and ast_channel_readtrans_set().
struct ast_party_redirecting redirecting |
Redirecting/Diversion information.
Definition at line 148 of file channel_internal_api.c.
Referenced by ast_channel_redirecting(), ast_channel_redirecting_set(), and channel_do_masquerade().
struct ast_sched_context* sched |
Schedule context
Definition at line 84 of file channel_internal_api.c.
Referenced by ast_channel_sched(), and ast_channel_sched_set().
struct ast_filestream* stream |
Stream itself.
Definition at line 85 of file channel_internal_api.c.
Referenced by ast_channel_stream(), and ast_channel_stream_set().
const struct ast_channel_tech* tech |
Technology (point to channel driver)
Definition at line 74 of file channel_internal_api.c.
Referenced by ast_channel_is_multistream(), ast_channel_tech(), ast_channel_tech_set(), attended_transfer_bridge(), handle_call_forward(), and wait_for_answer().
void* tech_pvt |
Private data used by the technology driver
Definition at line 75 of file channel_internal_api.c.
Referenced by ast_channel_tech_pvt(), ast_channel_tech_pvt_set(), native_bridge_join(), and skinny_senddigit_end().
void* timingdata |
Definition at line 88 of file channel_internal_api.c.
Referenced by ast_channel_timingdata(), and ast_channel_timingdata_set().
ast_timing_func_t timingfunc |
Definition at line 87 of file channel_internal_api.c.
Referenced by ast_channel_timingfunc(), and ast_channel_timingfunc_set().
struct ast_channel_id uniqueid |
Unique Channel Identifier - can be specified on creation
Definition at line 115 of file channel_internal_api.c.
Referenced by __ast_channel_internal_alloc(), ast_channel_by_uniqueid_cb(), ast_channel_internal_set_fake_ids(), ast_channel_internal_setup_topics(), ast_channel_internal_swap_uniqueid_and_linkedid(), and ast_channel_uniqueid().
const ast_string_field userfield |
Userfield for CEL billing
Definition at line 113 of file channel_internal_api.c.
A linked list for channel variables. See Asterisk Dialplan Variables
Definition at line 151 of file channel_internal_api.c.
Referenced by ast_channel_varshead(), ast_channel_varshead_set(), and shared_write().
struct ast_filestream* vstream |
Video Stream itself.
Definition at line 86 of file channel_internal_api.c.
Referenced by ast_channel_vstream(), and ast_channel_vstream_set().
struct timeval whentohangup |
Non-zero, set to actual time when channel is to be hung up
Definition at line 118 of file channel_internal_api.c.
Referenced by ast_channel_whentohangup(), and ast_channel_whentohangup_set().
struct ast_trans_pvt* writetrans |
Write translation path
Definition at line 90 of file channel_internal_api.c.
Referenced by ast_channel_writetrans(), and ast_channel_writetrans_set().
char x |
Definition at line 81 of file extconf.c.
Referenced by ALLOC_COMMENT(), analog_alloc_sub(), analog_unalloc_sub(), analog_update_conf(), ast_fdisset(), ast_include_find(), ast_safe_system(), ast_shrink_phone_number(), common_exec(), dahdi_open(), get_timerange(), jingle_add_payloads_to_description(), load_pbx_builtins(), option_exists(), option_matchmore(), pbx_builtin_setvar(), pbx_find_extension(), and unload_pbx_builtins().
struct ast_tone_zone* zone |
Tone zone as set in indications.conf or in the CHANNEL dialplan function
Definition at line 95 of file channel_internal_api.c.
Referenced by ast_channel_zone(), and ast_channel_zone_set().