#include <channel.h>
When adding fields to this structure, it is important to add the field 'in position' with like-aligned fields, so as to keep the compiler from having to add padding to align fields. The structure's fields are sorted in this order: pointers, structures, long, int/enum, short, char. This is especially important on 64-bit architectures, where mixing 4-byte and 8-byte fields causes 4 bytes of padding to be added before many 8-byte fields.
Definition at line 736 of file channel.h.
struct ast_string_field_mgr __field_mgr |
struct ast_channel* _bridge |
Who are we bridged to, if we're bridged. Who is proxying for us, if we are proxied (i.e. chan_agent). Do not access directly, use ast_bridged_channel(chan)
Definition at line 742 of file channel.h.
Referenced by __ast_channel_masquerade(), action_agents(), agent_hangup(), agent_read(), ast_bridged_channel(), ast_channel_bridge(), ast_channel_set_linkgroup(), ast_do_masquerade(), check_bridge(), handle_showchan(), local_bridgedchannel(), local_fixup(), serialize_showchan(), and unistim_info().
int _softhangup |
Whether or not we have been hung up... Do not set this value directly, use ast_softhangup()
Definition at line 826 of file channel.h.
Referenced by __ast_pbx_run(), __ast_read(), __oh323_update_info(), ast_autoservice_stop(), ast_channel_bridge(), ast_channel_clear_softhangup(), ast_channel_data_add_structure(), ast_check_hangup(), ast_do_masquerade(), ast_queue_hangup(), ast_queue_hangup_with_cause(), ast_softhangup_nolock(), ast_waitfor_nandfds(), ast_write(), attempt_transfer(), cleanup_connection(), collect_digits(), dahdi_handle_event(), dahdi_r2_on_call_disconnect(), dahdi_r2_on_protocol_error(), hangup_connection(), pri_dchannel(), sig_pri_chan_alarm_notify(), sig_pri_indicate(), ss7_hangup_cics(), and waitstream_core().
enum ast_channel_state _state |
State of line -- Don't write directly, use ast_setstate()
Definition at line 833 of file channel.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), __ast_answer(), __ast_read(), __ast_request_and_dial(), action_bridge(), action_coreshowchannels(), add_header_offhook(), agent_hangup(), agent_read(), agi_exec_full(), alarmreceiver_exec(), alsa_read(), analog_answer(), analog_attempt_transfer(), analog_available(), analog_call(), analog_hangup(), analog_ss_thread(), app_exec(), ast_async_goto(), ast_bridge_call(), ast_can_pickup(), ast_cdr_init(), ast_channel_data_add_structure(), ast_control_streamfile(), ast_do_masquerade(), ast_indicate_data(), ast_parse_device_state(), ast_pbx_outgoing_exten(), ast_prod(), ast_quiet_chan(), ast_raw_answer(), ast_setstate(), ast_var_channels_table(), async_wait(), attempt_transfer(), auth_exec(), background_detect_exec(), bridge_exec(), builtin_atxfer(), builtin_parkcall(), can_write(), check_goto_on_transfer(), common_exec(), conf_exec(), count_exec(), dahdi_bridge(), dahdi_call(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_r2_on_call_disconnect(), dahdi_read(), dahdi_send_callrerouting_facility_exec(), dahdiras_exec(), dial_exec_full(), dictate_exec(), directory_exec(), disa_exec(), do_bridge_masquerade(), eivr_comm(), feature_request_and_dial(), func_channel_read(), gtalk_call(), handle_answer(), handle_callforward_button(), handle_channelstatus(), handle_invite_replaces(), handle_keypad_button_message(), handle_message(), handle_onhook_message(), handle_request(), handle_request_invite(), handle_showchan(), handle_soft_key_event_message(), handle_stimulus_message(), handle_transfer_button(), iax2_call(), ices_exec(), jingle_call(), login_exec(), mgcp_answer(), mgcp_call(), minivm_accmess_exec(), minivm_greet_exec(), minivm_record_exec(), misdn_call(), misdn_hangup(), nbs_call(), nbs_xwrite(), oh323_answer(), oh323_call(), oh323_indicate(), old_milliwatt_exec(), oss_read(), park_call_exec(), parkandannounce_exec(), parked_call_exec(), pbx_builtin_answer(), pbx_builtin_background(), pbx_builtin_busy(), pbx_builtin_congestion(), pbx_builtin_incomplete(), phone_call(), phone_exception(), phone_write(), playback_exec(), privacy_exec(), read_exec(), readexten_exec(), receivefax_exec(), release_chan(), release_chan_early(), rpt(), rpt_exec(), sayunixtime_exec(), send_waveform_to_channel(), sendfax_exec(), serialize_showchan(), sig_pri_call(), sig_pri_digit_begin(), sig_pri_indicate(), sig_ss7_indicate(), sip_answer(), sip_call(), sip_hangup(), sip_indicate(), sip_read(), sip_sendhtml(), sip_set_rtp_peer(), sip_transfer(), sip_write(), skel_exec(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_set_rtp_peer(), skinny_ss(), speech_background(), testclient_exec(), testserver_exec(), transmit(), unistim_answer(), unistim_call(), unistim_indicate(), update_connectedline(), usbradio_read(), vm_exec(), vm_execmain(), wait_for_answer(), waitfor_exec(), and zapateller_exec().
const ast_string_field accountcode |
Definition at line 781 of file channel.h.
Referenced by action_coreshowchannels(), action_dahdishowchannels(), ast_async_goto(), ast_bridge_call(), ast_call_forward(), ast_cdr_init(), ast_cdr_setaccount(), ast_cdr_update(), ast_cel_report_event(), ast_set_owners_and_peers(), ast_var_channels_table(), dial_exec_full(), do_forward(), func_channel_read(), iax_park(), local_call(), local_new(), masq_park_call(), setup_env(), and sip_park().
Whether or not ADSI is detected on CPE
Definition at line 838 of file channel.h.
Referenced by __adsi_transmit_messages(), ast_adsi_available(), ast_adsi_transmit_message_full(), ast_do_masquerade(), ast_iax2_new(), ast_var_channels_table(), begin_dial_channel(), dahdi_new(), dial_exec_full(), gtalk_new(), iax2_call(), jingle_new(), mgcp_new(), ring_entry(), sip_new(), skinny_new(), and unistim_new().
int alertpipe[2] |
Definition at line 845 of file channel.h.
Referenced by __ast_queue_frame(), __ast_read(), ast_channel_destructor(), and ast_do_masquerade().
int amaflags |
Set BEFORE PBX is started to determine AMA flags
Definition at line 837 of file channel.h.
Referenced by __oh323_new(), ast_async_goto(), ast_cdr_init(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_data_add_structure(), ast_iax2_new(), ast_var_channels_table(), dahdi_new(), func_channel_read(), func_channel_write_real(), gtalk_new(), iax_park(), jingle_new(), local_new(), masq_park_call(), mgcp_new(), sip_new(), sip_park(), and skinny_new().
const char* appl |
Current application
Definition at line 748 of file channel.h.
Referenced by action_coreshowchannels(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_var_channels_table(), begin_dial_channel(), bridge_call_thread(), dial_exec_full(), do_forward(), func_channel_read(), park_call_full(), pbx_exec(), ring_entry(), and rpt().
struct ast_audiohook_list* audiohooks |
Definition at line 758 of file channel.h.
Referenced by __ast_read(), ast_audiohook_attach(), ast_audiohook_detach_source(), ast_audiohook_move_by_source(), ast_audiohook_remove(), ast_audiohook_set_mute(), ast_channel_audiohook_count_by_source(), ast_channel_audiohook_count_by_source_running(), ast_channel_bridge(), ast_hangup(), ast_write(), check_bridge(), conf_run(), local_bridge_loop(), and remote_bridge_loop().
struct ast_channel::autochans autochans |
Autochans on the channel
Referenced by ast_autochan_destroy(), and ast_autochan_new_channel().
pthread_t blocker |
If anyone is blocking, this is them
Definition at line 784 of file channel.h.
Referenced by __ast_queue_frame(), __ast_read(), ast_do_masquerade(), ast_hangup(), and ast_softhangup_nolock().
const char* blockproc |
struct ast_bridge* bridge |
Bridge this channel is participating in
Definition at line 859 of file channel.h.
Referenced by action_agents(), action_status(), agent_bridgedchannel(), ast_bridge_impart(), ast_bridge_join(), ast_rtp_instance_set_stats_vars(), ast_set_hangupsource(), ast_var_channels_table(), bridge_array_add(), bridge_array_remove(), bridge_call(), bridge_channel_join(), bridge_channel_suspend(), bridge_channel_unsuspend(), generic_thread_loop(), handle_request_bye(), local_bridgedchannel(), multiplexed_bridge_join(), multiplexed_thread_function(), play_sound_file(), schedule_delivery(), simple_bridge_join(), and sip_hangup().
const ast_string_field call_forward |
Definition at line 781 of file channel.h.
Referenced by __ast_request_and_dial(), analog_new_ast_channel(), ast_call_forward(), ast_var_channels_table(), do_forward(), feature_request_and_dial(), handle_call_forward(), and monitor_dial().
struct ast_party_caller caller |
Channel Caller ID information.
Definition at line 798 of file channel.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), __ast_pbx_run(), __oh323_new(), _macro_exec(), acf_isexten_exec(), action_agents(), action_coreshowchannels(), agentmonitoroutgoing_exec(), analog_send_callerid(), analog_ss_thread(), app_exec(), ast_app_dtget(), ast_bridge_call(), ast_call_forward(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_bridge(), ast_channel_destructor(), ast_channel_set_caller(), ast_channel_set_caller_event(), ast_do_masquerade(), ast_do_pickup(), ast_dummy_channel_destructor(), ast_hangup(), ast_iax2_new(), ast_party_connected_line_collect_caller(), ast_set_callerid(), ast_setstate(), ast_str_retrieve_variable(), ast_var_channels_table(), background_detect_exec(), blacklist_read(), builtin_atxfer(), builtin_automixmonitor(), builtin_automonitor(), callerid_read(), callerid_write(), callerpres_read(), callerpres_write(), cb_events(), cc_generic_agent_init(), check_bridge(), collect_digits(), console_call(), console_transfer(), copy_message(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), dial_transfer(), dial_trunk(), disa_exec(), do_forward(), do_immediate_setup(), feature_request_and_dial(), find_matching_endwhile(), findmeexec(), forward_message(), gosub_exec(), gtalk_new(), handle_cli_misdn_show_channels(), handle_gosub(), handle_setpriority(), handle_showchan(), isAnsweringMachine(), isexten_function_read(), jingle_new(), join_queue(), leave_voicemail(), local_call(), local_indicate(), manager_bridge_event(), manager_parking_status(), manager_queues_status(), mgcp_hangup(), mgcp_new(), mgcp_ss(), misdn_call(), misdn_hangup(), misdn_new(), misdn_update_caller_id(), misdn_write(), my_handle_dtmf(), ospauth_exec(), osplookup_exec(), oss_call(), oss_new(), park_call_full(), parkandannounce_exec(), parked_call_exec(), pbx_builtin_background(), pbx_parseable_goto(), phase_e_handler(), post_manager_event(), pri_ss_thread(), print_bc_info(), privacy_exec(), queue_exec(), readexten_exec(), release_chan(), report_new_callerid(), ring_entry(), rpt_call(), rpt_exec(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setcallerid_pres_exec(), setup_env(), setup_privacy_args(), sig_pri_call(), sig_pri_handle_subcmds(), sip_call(), sip_new(), sip_read(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_ss(), sla_ring_station(), sms_exec(), state_notify_build_xml(), unistim_new(), update_connectedline(), usbradio_new(), valid_exit(), wait_for_answer(), waitstream_core(), write_metadata(), and zapateller_exec().
Call group for call pickups
Definition at line 812 of file channel.h.
Referenced by ast_var_channels_table(), dahdi_new(), find_channel_by_group(), func_channel_read(), func_channel_write_real(), gtalk_new(), jingle_new(), mgcp_new(), read_config(), sip_new(), skinny_new(), and unistim_new().
Call Detail Record
Definition at line 760 of file channel.h.
Referenced by __agent_start_monitoring(), __ast_pbx_run(), __ast_request_and_dial(), action_coreshowchannels(), agentmonitoroutgoing_exec(), agi_handle_command(), ast_async_goto(), ast_bridge_call(), ast_call(), ast_call_forward(), ast_cdr_appenduserfield(), ast_cdr_fork(), ast_cdr_setaccount(), ast_cdr_setamaflags(), ast_cdr_setpeeraccount(), ast_cdr_setuserfield(), ast_cdr_update(), ast_channel_data_add_structure(), ast_channel_destructor(), ast_channel_set_caller_event(), ast_do_masquerade(), ast_dummy_channel_destructor(), ast_hangup(), ast_pbx_outgoing_cdr_failed(), ast_pbx_outgoing_exten(), ast_raw_answer(), ast_set_callerid(), attempt_transfer(), builtin_blindtransfer(), callerid_write(), cdr_read(), cdr_write(), clear_caller(), dial_exec_full(), end_bridge_callback(), findmeexec(), forkcdr_exec(), func_channel_read(), handle_cause(), handle_request_info(), handle_showchan(), manager_log(), nocdr_exec(), ospfinished_exec(), parked_call_exec(), pbx_builtin_resetcdr(), pbx_exec(), ring_entry(), rpt(), rpt_call(), rpt_exec(), rpt_tele_thread(), serialize_showchan(), show_chanstats_cb(), and start_monitor_exec().
Channel Connected Line ID information.
Definition at line 805 of file channel.h.
Referenced by __ast_read(), __ast_request_and_dial(), action_coreshowchannels(), analog_attempt_transfer(), analog_call(), ast_call_forward(), ast_channel_connected_line_macro(), ast_channel_destructor(), ast_channel_set_connected_line(), ast_do_masquerade(), ast_dummy_channel_destructor(), ast_hangup(), ast_indicate_data(), ast_setstate(), begin_dial_channel(), builtin_atxfer(), connectedline_read(), connectedline_write(), dahdi_call(), dial_exec_full(), dial_transfer(), do_forward(), feature_request_and_dial(), findmeexec(), handle_showchan(), iax2_call(), join_queue(), local_call(), local_indicate(), manager_parking_status(), manager_queues_status(), mgcp_call(), misdn_attempt_transfer(), misdn_call(), misdn_get_connected_line(), oh323_call(), park_call_full(), parked_call_exec(), phase_e_handler(), phone_call(), post_manager_event(), ring_entry(), rpt_exec(), senddialevent(), serialize_showchan(), sig_pri_call(), sig_pri_indicate(), sig_pri_mcid_event(), sig_ss7_call(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_newcall(), unistim_call(), update_config(), update_connectedline(), and wait_for_answer().
char context[AST_MAX_CONTEXT] |
Dialplan: Current extension context
Definition at line 862 of file channel.h.
Referenced by __analog_ss_thread(), __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), acf_isexten_exec(), action_coreshowchannels(), agent_new(), alsa_new(), analog_ss_thread(), ast_add_extension2_lockopt(), ast_async_goto(), ast_bridge_call(), ast_call_forward(), ast_cc_call_init(), ast_cdr_init(), ast_cdr_update(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_cmp_cb(), ast_channel_get_full(), ast_explicit_goto(), ast_iax2_new(), ast_pbx_outgoing_exten(), ast_str_retrieve_variable(), ast_var_channels_table(), ast_waitstream_exten(), async_wait(), background_detect_exec(), bridge_exec(), builtin_atxfer(), cc_generic_agent_init(), cc_interfaces_datastore_init(), channel_iterator_search(), check_availability(), collect_digits(), common_exec(), console_transfer(), dahdi_handle_dtmf(), dahdi_new(), dial_exec_full(), dialout(), do_bridge_masquerade(), do_forward(), do_idle_thread(), do_immediate_setup(), do_notify(), extenspy_exec(), feature_attended_transfer(), feature_blind_transfer(), find_calling_channel(), find_matching_endwhile(), forward_message(), func_channel_read(), generic_recall(), get_cid_name(), get_refer_info(), gosub_exec(), goto_exten(), gtalk_new(), handle_enbloc_call_message(), handle_gosub(), handle_request_bye(), handle_setcontext(), handle_setpriority(), handle_soft_key_event_message(), handle_stimulus_message(), iax2_call(), iax_park(), jingle_new(), leave_voicemail(), local_call(), local_new(), log_exec(), manage_parked_call(), masq_park_call(), mgcp_new(), mgcp_ss(), misdn_call(), misdn_hangup(), my_distinctive_ring(), my_handle_dtmf(), nbs_new(), onedigit_goto(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_setvar_multiple(), pbx_extension_helper(), pbx_parseable_goto(), pickup_exec(), pri_ss_thread(), print_bc_info(), priority_jump(), process_ast_dsp(), queue_transfer_fixup(), raise_exception(), read_config(), readexten_exec(), real_ctx(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), set_c_e_p(), setup_env(), sip_new(), sip_park(), sip_read(), skinny_new(), skinny_ss(), vm_execmain(), and vmauthenticate().
const char* data |
Data passed to current application
Definition at line 749 of file channel.h.
Referenced by action_coreshowchannels(), ast_adsi_load_session(), ast_adsi_load_soft_key(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_set_fd(), ast_var_channels_table(), begin_dial_channel(), bridge_call_thread(), change_callerid(), dial_exec_full(), do_forward(), func_channel_read(), func_channel_write(), handle_verbose(), park_call_full(), pbx_exec(), retrydial_exec(), ring_entry(), and rpt().
Data stores on the channel
Referenced by ast_channel_datastore_add(), ast_channel_datastore_find(), ast_channel_datastore_inherit(), ast_channel_datastore_remove(), ast_channel_destructor(), and ast_do_masquerade().
const ast_string_field dialcontext |
struct ast_party_dialed dialed |
Dialed/Called information.
Dialed Number Identifier (DNID)
Definition at line 791 of file channel.h.
Referenced by __oh323_new(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_destructor(), ast_do_masquerade(), ast_dummy_channel_destructor(), ast_iax2_new(), ast_str_retrieve_variable(), ast_var_channels_table(), begin_dial_channel(), callerid_read(), callerid_write(), check_bridge(), dahdi_new(), dial_exec_full(), do_forward(), gtalk_new(), handle_showchan(), iax2_call(), jingle_new(), local_call(), mgcp_ss(), oss_call(), oss_new(), pri_ss_thread(), ring_entry(), serialize_showchan(), set_one_cid(), setup_env(), sip_new(), and usbradio_new().
struct timeval dtmf_tv |
The time that an in process digit began, or the last digit ended
Definition at line 816 of file channel.h.
Referenced by __ast_read(), and should_skip_dtmf().
DTMF frame
Definition at line 810 of file channel.h.
Referenced by __ast_read(), jingle_digit(), and queue_dtmf_readq().
char emulate_dtmf_digit |
unsigned int emulate_dtmf_duration |
Number of ms left to emulate DTMF for
Definition at line 851 of file channel.h.
Referenced by __ast_read().
char exten[AST_MAX_EXTENSION] |
Dialplan: Current extension number
Definition at line 863 of file channel.h.
Referenced by __analog_ss_thread(), __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), action_coreshowchannels(), agent_new(), alsa_new(), analog_ss_thread(), ast_add_extension2_lockopt(), ast_async_goto(), ast_bridge_call(), ast_cc_call_init(), ast_cdr_init(), ast_cdr_update(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_cmp_cb(), ast_channel_get_full(), ast_explicit_goto(), ast_iax2_new(), ast_str_retrieve_variable(), ast_var_channels_table(), async_wait(), bridge_exec(), builtin_atxfer(), cb_events(), cc_generic_agent_init(), cc_interfaces_datastore_init(), channel_iterator_search(), dahdi_handle_dtmf(), dahdi_new(), dial_exec_full(), dialout(), do_bridge_masquerade(), do_forward(), do_idle_thread(), do_immediate_setup(), do_notify(), dundi_exec(), dundi_helper(), feature_request_and_dial(), find_calling_channel(), find_matching_endwhile(), forward_message(), func_channel_read(), generic_recall(), get_cid_name(), gosub_exec(), gtalk_new(), handle_cli_misdn_show_channels(), handle_enbloc_call_message(), handle_frame(), handle_gosub(), handle_request_invite(), handle_setextension(), handle_setpriority(), handle_soft_key_event_message(), handle_stimulus_message(), iax_park(), jingle_new(), leave_voicemail(), local_call(), local_new(), log_exec(), manage_parked_call(), masq_park_call(), mgcp_new(), mgcp_ss(), misdn_bridge(), misdn_call(), misdn_digit_end(), misdn_hangup(), misdn_new(), misdn_overlap_dial_task(), misdn_update_redirecting(), misdn_write(), my_handle_dtmf(), nbs_new(), ospauth_exec(), park_call_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_setvar_multiple(), pbx_extension_helper(), pbx_parseable_goto(), phase_e_handler(), pri_ss_thread(), print_bc_info(), priority_jump(), process_ast_dsp(), queue_transfer_fixup(), raise_exception(), read_config(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), select_entry(), set_c_e_p(), set_ext_pri(), setup_env(), setup_privacy_args(), sip_new(), sip_park(), sip_read(), skinny_new(), skinny_newcall(), skinny_ss(), and unistim_ss().
int fdno |
Which fd had an event detected on
Definition at line 828 of file channel.h.
Referenced by __ast_read(), agent_read(), ast_do_masquerade(), manage_parked_call(), oh323_read(), sip_rtp_read(), skinny_rtp_read(), and unistim_rtp_read().
int fds[AST_MAX_FDS] |
File descriptors for channel -- Drivers will poll on these file descriptors, so at least one must be non -1. See
Definition at line 823 of file channel.h.
Referenced by __ast_read(), __dahdi_exception(), analog_exception(), ast_channel_set_fd(), ast_do_masquerade(), ast_poll_channel_add(), ast_poll_channel_del(), conf_run(), dahdi_bridge(), flash_exec(), handle_showchan(), manage_parked_call(), my_pri_fixup_chans(), phone_call(), rbi_out(), rpt(), rpt_call(), rpt_tele_thread(), run_ras(), send_morse(), send_tone_telemetry(), serial_remote_io(), serialize_showchan(), setformat(), spawn_ras(), start_rtp(), swap_subs(), unistim_new(), and usbradio_new().
unsigned int fin |
Frames in counters. The high bit is a debug mask, so the counter is only in the remaining bits
Definition at line 839 of file channel.h.
Referenced by __ast_read(), channel_set_debug(), handle_showchan(), and serialize_showchan().
unsigned int flags |
channel flags of AST_FLAG_ type
Definition at line 844 of file channel.h.
Referenced by ast_var_channels_table(), change_spy_mode(), channel_spy(), common_exec(), and eivr_comm().
unsigned int fout |
Frames out counters. The high bit is a debug mask, so the counter is only in the remaining bits
Definition at line 841 of file channel.h.
Referenced by ast_write(), channel_set_debug(), handle_showchan(), and serialize_showchan().
struct ast_framehook_list* framehooks |
Definition at line 759 of file channel.h.
Referenced by __ast_read(), ast_channel_bridge(), ast_framehook_attach(), ast_framehook_detach(), ast_framehook_list_destroy(), ast_indicate_data(), ast_write(), local_bridge_loop(), and remote_bridge_loop().
struct ast_generator* generator |
Current active data generator
Definition at line 741 of file channel.h.
Referenced by __ast_read(), ast_activate_generator(), ast_channel_bridge(), ast_deactivate_generator(), ast_hangup(), ast_read_generator_actions(), ast_senddigit_end(), cb_events(), and local_queue_frame().
void* generatordata |
Current generator data if there is any
Definition at line 740 of file channel.h.
Referenced by __ast_read(), ast_activate_generator(), ast_deactivate_generator(), ast_hangup(), ast_read_generator_actions(), ast_safe_sleep_conditional(), ast_tonepair(), ast_write(), cb_events(), manage_parked_call(), and play_tone_pair().
int hangupcause |
Why is the channel hanged up. See causes.h
Definition at line 843 of file channel.h.
Referenced by __ast_read(), __ast_request_and_dial(), __attempt_transmit(), __oh323_update_info(), action_hangup(), ast_cc_call_failed(), ast_channel_data_add_structure(), ast_hangup(), ast_pbx_outgoing_exten(), ast_queue_hangup_with_cause(), ast_str_retrieve_variable(), ast_var_channels_table(), cb_events(), clear_caller(), dahdi_hangup(), dahdi_indicate(), dahdi_r2_on_protocol_error(), dial_exec_full(), disa_exec(), eivr_comm(), feature_request_and_dial(), findmeexec(), gtalk_new(), handle_invite_replaces(), handle_request_invite(), handle_response(), hangup_connection(), hanguptree(), iax2_call(), iax2_hangup(), jingle_new(), local_hangup(), misdn_call(), misdn_hangup(), oh323_hangup(), pbx_builtin_hangup(), pri_ss_thread(), receive_dtmf_digits(), send_cause2ast(), set_hangup_source_and_cause(), sig_pri_hangup(), sig_pri_indicate(), sig_pri_kill_call(), sig_ss7_hangup(), sig_ss7_indicate(), sip_call(), sip_hangup(), sip_park_thread(), sip_pickup_thread(), socket_process(), and wait_for_winner().
const ast_string_field hangupsource |
Definition at line 781 of file channel.h.
Referenced by ast_hangup(), ast_set_hangupsource(), and func_channel_read().
unsigned long insmpl |
Track the read/written samples for monitor use
Definition at line 820 of file channel.h.
Referenced by __ast_read(), and ast_write().
The jitterbuffer state
Definition at line 815 of file channel.h.
Referenced by ast_jb_configure(), ast_jb_destroy(), ast_jb_do_usecheck(), ast_jb_empty_and_reset(), ast_jb_get_and_deliver(), ast_jb_get_config(), ast_jb_get_when_to_wakeup(), ast_jb_put(), create_jb(), jb_choose_impl(), jb_get_and_deliver(), and log_jitterstats().
const ast_string_field language |
Definition at line 781 of file channel.h.
Referenced by __analog_ss_thread(), agent_call(), agent_new(), analog_ss_thread(), announce_user_count(), ast_app_getdata(), ast_app_getdata_full(), ast_control_streamfile(), ast_do_masquerade(), ast_play_and_wait(), ast_say_counted_adjective(), ast_say_counted_noun(), ast_say_date_with_format_gr(), ast_say_number_full_gr(), ast_send_image(), ast_stream_and_wait(), ast_var_channels_table(), background_detect_exec(), bridge_exec(), builtin_atxfer(), check_availability(), check_beep(), conf_run(), copy_message(), count_exec(), dial_exec_full(), dictate_exec(), do_directory(), eivr_comm(), find_conf_realtime(), forward_message(), func_channel_read(), function_playback(), gen_nextfile(), get_folder(), handle_getoption(), handle_recordfile(), handle_sayalpha(), handle_saydate(), handle_saydatetime(), handle_saydigits(), handle_saynumber(), handle_sayphonetic(), handle_saytime(), handle_showchan(), handle_speechrecognize(), handle_streamfile(), iax2_call(), invent_message(), leave_voicemail(), local_call(), login_exec(), menu_callback(), mgcp_ss(), page_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_saycharacters(), pbx_builtin_saydigits(), pbx_builtin_saynumber(), pbx_builtin_sayphonetic(), play_and_wait(), play_file(), play_mailbox_owner(), play_message(), play_message_callerid(), play_message_datetime(), play_message_duration(), play_record_review(), playback_exec(), privacy_exec(), readexten_exec(), record_exec(), rpt_tele_thread(), say_position(), saycharstr(), sayfile(), saynode(), saynum(), sayunixtime_exec(), select_item_menu(), serialize_showchan(), setup_env(), setup_privacy_args(), speech_background(), vm_browse_messages(), vm_instructions(), vm_intro(), vm_intro_cs(), vm_intro_de(), vm_intro_en(), vm_intro_es(), vm_intro_fr(), vm_intro_gr(), vm_intro_he(), vm_intro_it(), vm_intro_multilang(), vm_intro_nl(), vm_intro_no(), vm_intro_pl(), vm_intro_pt(), vm_intro_pt_BR(), vm_intro_se(), vm_intro_vi(), vm_intro_zh(), vm_play_folder_name(), vmsayname_exec(), and wait_for_winner().
const ast_string_field linkedid |
Definition at line 781 of file channel.h.
Referenced by agent_request(), alsa_request(), analog_attempt_transfer(), ast_async_goto(), ast_cdr_init(), ast_cdr_update(), ast_cel_check_retire_linkedid(), ast_cel_report_event(), ast_channel_change_linkedid(), ast_channel_set_linkgroup(), bridge_exec(), bridge_request(), builtin_atxfer(), check_availability(), check_goto_on_transfer(), console_request(), dahdi_request(), func_channel_read(), func_mchan_read(), func_mchan_write(), gtalk_request(), handle_showchan(), iax2_request(), iax_park(), jingle_request(), linkedid_match(), local_request(), masq_park_call(), mgcp_request(), multicast_rtp_request(), my_new_analog_ast_channel(), my_new_pri_ast_channel(), my_new_ss7_ast_channel(), nbs_request(), oh323_request(), oss_request(), phone_request(), serialize_showchan(), sip_park(), sip_request_call(), skinny_request(), unistim_request(), and usbradio_request().
char macrocontext[AST_MAX_CONTEXT] |
Macro: Current non-macro context. See app_macro.c
Definition at line 864 of file channel.h.
Referenced by _macro_exec(), ast_bridge_call(), ast_cc_call_init(), ast_cdr_init(), ast_cdr_update(), ast_channel_cmp_cb(), ast_var_channels_table(), cc_generic_agent_init(), cc_interfaces_datastore_init(), common_exec(), dahdi_handle_dtmf(), dial_exec_full(), get_cid_name(), goto_exten(), leave_voicemail(), masq_park_call(), my_handle_dtmf(), onedigit_goto(), park_call_full(), process_ast_dsp(), real_ctx(), and sip_read().
char macroexten[AST_MAX_EXTENSION] |
Macro: Current non-macro extension. See app_macro.c
Definition at line 865 of file channel.h.
Referenced by _macro_exec(), ast_cc_call_init(), ast_cdr_init(), ast_cdr_update(), ast_channel_cmp_cb(), ast_var_channels_table(), cc_generic_agent_init(), cc_interfaces_datastore_init(), dial_exec_full(), do_forward(), dundi_exec(), dundi_helper(), find_calling_channel(), get_cid_name(), masq_park_call(), park_call_full(), and ring_entry().
int macropriority |
Macro: Current non-macro priority. See app_macro.c
Definition at line 836 of file channel.h.
Referenced by _macro_exec(), ast_var_channels_table(), masq_park_call(), and park_call_full().
struct ast_channel* masq |
Channel that will masquerade as us
Definition at line 745 of file channel.h.
Referenced by __ast_channel_masquerade(), __ast_read(), ast_can_pickup(), ast_channel_bridge(), ast_do_masquerade(), ast_hangup(), ast_udptl_bridge(), ast_var_channels_table(), ast_write(), local_bridge_loop(), and remote_bridge_loop().
struct ast_channel* masqr |
Who we are masquerading as
Definition at line 746 of file channel.h.
Referenced by __ast_channel_masquerade(), ast_channel_bridge(), ast_do_masquerade(), ast_hangup(), ast_udptl_bridge(), ast_var_channels_table(), ast_write(), local_bridge_loop(), and remote_bridge_loop().
struct ast_channel_monitor* monitor |
Channel monitoring ASCII unique channel name Language requested for voice prompts Default music class Account code for billing Peer account code for billing Userfield for CEL billing Where to forward to if asked to dial on this interface Unique Channel Identifier Linked Channel Identifier -- gets propagated by linkage
Definition at line 763 of file channel.h.
Referenced by __agent_start_monitoring(), __ast_read(), ast_channel_bridge(), ast_channel_destructor(), ast_do_masquerade(), ast_monitor_change_fname(), ast_monitor_set_state(), ast_monitor_setjoinfiles(), ast_monitor_start(), ast_monitor_stop(), ast_write(), builtin_automonitor(), check_bridge(), conf_run(), local_bridge_loop(), and remote_bridge_loop().
void* music_state |
Music State
Definition at line 739 of file channel.h.
Referenced by __ast_read(), ast_channel_destructor(), ast_moh_files_next(), local_ast_moh_cleanup(), local_ast_moh_start(), local_ast_moh_stop(), moh_alloc(), moh_files_alloc(), moh_files_generator(), moh_files_release(), and moh_release().
const ast_string_field musicclass |
Definition at line 781 of file channel.h.
Referenced by ast_var_channels_table(), begin_dial_channel(), conf_start_moh(), dial_exec_full(), func_channel_read(), key_call(), local_ast_moh_start(), local_call(), and monitor_dial().
const ast_string_field name |
Definition at line 781 of file channel.h.
Referenced by __analog_ss_thread(), __ast_answer(), __ast_change_name_nolink(), __ast_channel_masquerade(), __ast_pbx_run(), __ast_play_and_record(), __ast_queue_frame(), __ast_read(), __dahdi_exception(), __oh323_destroy(), __oh323_update_info(), __queues_show(), _analog_get_index(), _dahdi_get_index(), _macro_exec(), _skinny_show_lines(), acf_faxopt_read(), acf_faxopt_write(), acf_jabberreceive_read(), action_add_agi_cmd(), action_agents(), action_bridge(), action_coreshowchannels(), action_dahdishowchannels(), action_hangup(), action_status(), add_agi_cmd(), adsi_prog(), agent_bridgedchannel(), agent_call(), agent_read(), agent_set_base_channel(), agent_write(), agents_show(), agents_show_online(), agi_handle_command(), alarmreceiver_exec(), alsa_indicate(), analog_answer(), analog_attempt_transfer(), analog_call(), analog_exception(), analog_fixup(), analog_handle_dtmf(), analog_hangup(), analog_ss_thread(), aoc_d_event(), aoc_display_decoded_debug(), aoc_e_event(), aoc_request_event(), aoc_s_event(), app_exec(), append_channel_vars(), aqm_exec(), ast_async_goto(), ast_autochan_new_channel(), ast_autochan_setup(), ast_bridge_call(), ast_cc_call_init(), ast_cc_offer(), ast_cdr_init(), ast_cel_report_event(), ast_channel_bridge(), ast_channel_cmp_cb(), ast_channel_destructor(), ast_channel_get_cc_agent_type(), ast_channel_get_device_name(), ast_channel_get_full(), ast_channel_hash_cb(), ast_channel_make_compatible_helper(), ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), ast_do_masquerade(), ast_do_pickup(), ast_hangup(), ast_indicate_data(), ast_jb_destroy(), ast_jb_put(), ast_masq_park_call(), ast_masq_park_call_exten(), ast_monitor_change_fname(), ast_monitor_start(), ast_monitor_stop(), ast_pbx_outgoing_exten(), ast_pbx_run_app(), ast_pickup_call(), ast_prod(), ast_readaudio_callback(), ast_rtp_instance_bridge(), ast_rtp_instance_early_bridge(), ast_rtp_instance_early_bridge_make_compatible(), ast_senddigit_begin(), ast_set_owners_and_peers(), ast_setstate(), ast_softhangup_nolock(), ast_str_retrieve_variable(), ast_streamfile(), ast_udptl_bridge(), ast_var_channels_table(), ast_write(), async_agi_read_frame(), async_wait(), attempt_transfer(), audiohook_inheritance_fixup(), background_detect_exec(), bridge_array_add(), bridge_call_thread(), bridge_exec(), bridge_make_compatible(), builtin_atxfer(), builtin_automixmonitor(), builtin_automonitor(), builtin_blindtransfer(), calendar_event_read(), calendar_query_result_exec(), chanavail_exec(), change_t38_state(), channel_iterator_search(), channel_set_debug(), channel_spy(), check_availability(), check_beep(), check_compat(), check_goto_on_transfer(), clear_dialed_interfaces(), conf_run(), console_indicate(), console_transfer(), cpeid_exec(), create_jb(), dahdi_ami_channel_event(), dahdi_bridge(), dahdi_call(), dahdi_fake_event(), dahdi_fixup(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_queryoption(), dahdi_r2_get_channel_category(), dahdi_read(), dahdi_send_callrerouting_facility_exec(), dahdi_setoption(), dahdi_show_channel(), dahdi_softhangup_all(), dahdi_write(), dial_exec_full(), dialog_unlink_all(), disa_exec(), disable_t38(), do_dtmf_local(), do_forward(), do_idle_thread(), do_waiting(), dundi_lookup_internal(), eagi_exec(), enable_jack_hook(), fast_originate(), fax_generator_generate(), fax_session_new(), feature_exec_app(), feature_interpret(), feature_request_and_dial(), find_by_part(), find_details(), find_or_create_details(), flash_exec(), func_channel_read(), func_inheritance_write(), generic_fax_exec(), get_agi_cmd(), get_chan_by_ast_name(), get_lock(), gosub_exec(), group_count_function_read(), group_show_channels(), gtalk_answer(), gtalk_call(), gtalk_new(), gtalk_show_channels(), handle_cli_agi_add_cmd(), handle_cli_iax2_show_channels(), handle_cli_misdn_show_channel(), handle_frame(), handle_frame_ownerless(), handle_incoming(), handle_invite_replaces(), handle_parkedcalls(), handle_recordfile(), handle_request_invite(), handle_request_refer(), handle_showchan(), handle_softhangup(), handle_stimulus_message(), HandleCallOutgoing(), hook_event_cb(), iax2_ami_channelupdate(), iax2_call(), iax2_hangup(), iax2_request(), iax2_transfer(), iax_park(), iax_park_thread(), increase_call_count(), init_jack_data(), is_our_turn(), isAnsweringMachine(), jack_hook_callback(), jingle_call(), jingle_new(), jingle_show_channels(), join_queue(), launch_asyncagi(), launch_monitor_thread(), leave_queue(), leave_voicemail(), linear_alloc(), linear_release(), local_ast_moh_stop(), local_attended_transfer(), local_bridge_loop(), local_bridgedchannel(), local_write(), login_exec(), lua_get_state(), lua_pbx_exec(), make_email_file(), manage_parked_call(), manager_bridge_event(), manager_parking_status(), manager_queues_status(), masq_park_call(), mgcp_answer(), mgcp_call(), mgcp_fixup(), mgcp_hangup(), mgcp_indicate(), mgcp_new(), mgcp_ss(), milliwatt_generate(), misdn_attempt_transfer(), misdn_bridge(), misdn_call(), misdn_hangup(), misdn_indication(), moh_alloc(), moh_files_alloc(), moh_files_release(), moh_generate(), moh_release(), multiplexed_bridge_join(), multiplexed_bridge_leave(), multiplexed_bridge_suspend(), multiplexed_bridge_unsuspend(), mute_add_audiohook(), my_dial_digits(), my_handle_dtmf(), my_set_cadence(), nbs_call(), nbs_hangup(), nbs_xread(), oh323_answer(), oh323_call(), oh323_destroy(), oh323_digit_begin(), oh323_digit_end(), oh323_hangup(), oh323_indicate(), oh323_read(), old_milliwatt_exec(), oss_indicate(), page_exec(), park_call_exec(), park_call_full(), park_space_reserve(), parkandannounce_exec(), parked_call_exec(), pbx_builtin_background(), pbx_builtin_setvar_helper(), pbx_builtin_setvar_multiple(), pbx_extension_helper(), phase_e_handler(), phone_answer(), phone_call(), phone_hangup(), phone_indicate(), pickup_by_exten(), pickup_by_group(), pickup_by_name_cb(), pickupchan_exec(), play_moh_exec(), play_sound_file(), playback_exec(), playtones_alloc(), post_manager_event(), pri_dchannel(), pri_ss_thread(), print_bc_info(), process_ast_dsp(), queue_exec(), rbi_out(), readexten_exec(), receive_dtmf_digits(), receivefax_exec(), receivefax_t38_init(), remote_bridge_loop(), report_fax_status(), report_new_callerid(), revert_fax_buffers(), ring_entry(), rna(), rpt(), rpt_exec(), rpt_tele_thread(), rqm_exec(), run_agi(), run_ras(), say_position(), saycharstr(), sayfile(), saynum(), send_agent_complete(), send_digit_to_chan(), send_dtmf_event(), send_talking_event(), senddialendevent(), senddialevent(), sendfax_exec(), sendfax_t38_init(), serialize_showchan(), set_fax_t38_caps(), set_format(), setup_env(), setup_privacy_args(), sig_pri_call(), sig_pri_cli_show_channels(), sig_pri_handle_subcmds(), sig_pri_indicate(), sig_pri_mcid_event(), sig_pri_send_aoce_termination_request(), sig_ss7_cli_show_channels(), sig_ss7_indicate(), sip_answer(), sip_call(), sip_fixup(), sip_hangup(), sip_new(), sip_park(), sip_park_thread(), sip_pickup(), sip_queryoption(), sip_rtp_read(), sip_sendtext(), sip_set_rtp_peer(), sip_set_udptl_peer(), sip_setoption(), skinny_answer(), skinny_call(), skinny_fixup(), skinny_get_rtp_peer(), skinny_indicate(), skinny_ss(), skinny_transfer(), socket_process(), ss7_start_call(), start_moh_exec(), start_spying(), testclient_exec(), testserver_exec(), tonepair_alloc(), transmit(), transmit_audio(), transmit_t38(), unistim_answer(), unistim_call(), unistim_fixup(), unistim_hangup(), unistim_indicate(), unistim_new(), update_bridge_vars(), update_name(), update_qe_rule(), usbradio_indicate(), usbradio_read(), wait_for_answer(), wait_for_winner(), wait_moh_exec(), and waitstream_core().
Kinds of data this channel can natively handle
Definition at line 846 of file channel.h.
Referenced by __ast_read(), __oh323_new(), __oh323_update_info(), agent_call(), agent_new(), alsa_new(), ast_channel_bridge(), ast_channel_data_add_structure(), ast_channel_make_compatible_helper(), ast_do_masquerade(), ast_generic_bridge(), ast_iax2_new(), ast_openvstream(), ast_streamfile(), ast_write(), begin_dial_channel(), builtin_atxfer(), chanavail_exec(), console_new(), create_addr(), dahdi_new(), dial_exec_full(), do_forward(), do_notify(), echo_exec(), findmeexec(), free_translation(), func_channel_read(), gtalk_new(), gtalk_rtp_read(), gtalk_write(), handle_showchan(), iax2_call(), iax2_request(), jingle_new(), jingle_rtp_read(), jingle_write(), local_new(), mgcp_new(), mgcp_rtp_read(), mgcp_write(), misdn_new(), multicast_rtp_request(), multiplexed_bridge_join(), nbs_new(), oh323_rtp_read(), oh323_write(), oss_new(), ring_entry(), serialize_showchan(), set_format(), setup_rtp_connection(), simple_bridge_join(), sip_new(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), speech_create(), start_rtp(), unistim_new(), unistim_rtp_read(), unistim_write(), and usbradio_new().
Original writer format
Definition at line 831 of file channel.h.
Referenced by ast_channel_data_add_structure(), ast_openstream_full(), and ast_stopstream().
unsigned long outsmpl |
Track the read/written samples for monitor use
Definition at line 821 of file channel.h.
Referenced by __ast_read(), and ast_write().
const ast_string_field parkinglot |
Definition at line 781 of file channel.h.
Referenced by findparkinglotname(), func_channel_read(), iax_park(), serialize_showchan(), and sip_park().
PBX private structure for this channel
Definition at line 755 of file channel.h.
Referenced by __analog_handle_event(), __ast_pbx_run(), action_redirect(), ast_app_dtget(), ast_app_getdata(), ast_async_goto(), ast_can_pickup(), ast_channel_destructor(), asyncgoto_exec(), builtin_blindtransfer(), collect_digits(), dahdi_handle_event(), disa_exec(), find_calling_channel(), handle_getoption(), handle_gosub(), ivr_dispatch(), parked_call_exec(), pbx_builtin_waitexten(), read_newoption(), readexten_exec(), rpt_call(), speech_background(), and timeout_read().
const ast_string_field peeraccount |
Definition at line 781 of file channel.h.
Referenced by ast_cdr_init(), ast_cdr_setpeeraccount(), ast_cdr_update(), ast_cel_report_event(), ast_set_owners_and_peers(), and func_channel_read().
Pickup group - which calls groups can be picked up?
Definition at line 813 of file channel.h.
Referenced by ast_var_channels_table(), dahdi_new(), find_channel_by_group(), gtalk_new(), jingle_new(), mgcp_new(), read_config(), sip_new(), skinny_new(), and unistim_new().
int priority |
Dialplan: Current extension priority
Definition at line 835 of file channel.h.
Referenced by __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), action_coreshowchannels(), action_redirect(), agent_new(), ast_bridge_call(), ast_explicit_goto(), ast_str_retrieve_variable(), ast_var_channels_table(), async_wait(), bridge_exec(), builtin_atxfer(), dial_exec_full(), dialout(), do_bridge_masquerade(), do_idle_thread(), do_notify(), find_matching_endwhile(), forward_message(), generic_recall(), gosub_exec(), gtalk_new(), handle_gosub(), iax_park(), jingle_new(), leave_voicemail(), local_new(), log_exec(), make_email_file(), manage_parked_call(), masq_park_call(), mgcp_new(), misdn_new(), park_call_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_setvar_multiple(), pbx_extension_helper(), pbx_parseable_goto(), priority_jump(), raise_exception(), ring_entry(), rpt_call(), rpt_exec(), set_c_e_p(), set_ext_pri(), setup_env(), sip_new(), sip_park(), skinny_new(), and unistim_new().
Raw read format (before translation)
Definition at line 849 of file channel.h.
Referenced by __oh323_new(), agent_new(), ast_channel_data_add_structure(), ast_do_masquerade(), ast_iax2_new(), ast_set_read_format(), dahdi_new(), dahdi_read(), do_notify(), free_translation(), gtalk_new(), jingle_new(), local_bridge_loop(), local_new(), mgcp_new(), misdn_new(), multicast_rtp_request(), nbs_new(), phone_setup(), serialize_showchan(), sip_new(), skinny_new(), and unistim_new().
Raw write format (before translation)
Definition at line 850 of file channel.h.
Referenced by __oh323_new(), agent_new(), ast_channel_data_add_structure(), ast_do_masquerade(), ast_iax2_new(), ast_prod(), ast_set_write_format(), ast_write(), conf_run(), dahdi_new(), do_notify(), free_translation(), gtalk_new(), jingle_new(), local_bridge_loop(), local_new(), mgcp_new(), misdn_new(), multicast_rtp_request(), nbs_new(), serialize_showchan(), sip_new(), skinny_new(), and unistim_new().
Requested read format (after translation)
Definition at line 847 of file channel.h.
Referenced by __ast_play_and_record(), __oh323_new(), __oh323_update_info(), agent_new(), alsa_new(), ast_adsi_transmit_message_full(), ast_async_goto(), ast_channel_bridge(), ast_channel_data_add_structure(), ast_channel_make_compatible_helper(), ast_do_masquerade(), ast_iax2_new(), ast_set_read_format(), background_detect_exec(), bridge_channel_join(), bridge_make_compatible(), builtin_atxfer(), check_goto_on_transfer(), console_new(), dahdi_new(), dictate_exec(), do_bridge_masquerade(), do_notify(), do_waiting(), eagi_exec(), func_channel_read(), generic_fax_exec(), gtalk_new(), gtalk_rtp_read(), gtalk_show_channels(), gtalk_write(), handle_recordfile(), handle_showchan(), iax2_request(), iax_park(), ices_exec(), isAnsweringMachine(), jingle_new(), jingle_rtp_read(), jingle_show_channels(), jingle_write(), local_new(), masq_park_call(), measurenoise(), mgcp_new(), mgcp_rtp_read(), mgcp_write(), misdn_new(), multicast_rtp_request(), multiplexed_bridge_join(), nbs_new(), oh323_rtp_read(), oh323_write(), oss_new(), serialize_showchan(), setup_rtp_connection(), simple_bridge_join(), sip_new(), sip_park(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), speech_background(), start_rtp(), transmit_audio(), unistim_new(), unistim_rtp_read(), unistim_write(), and usbradio_new().
struct { ... } readq |
struct ast_trans_pvt* readtrans |
Read translation path
Definition at line 757 of file channel.h.
Referenced by __ast_read(), ast_channel_destructor(), ast_set_read_format(), free_translation(), handle_showchan(), and serialize_showchan().
struct ast_party_redirecting redirecting |
Redirecting/Diversion information.
Definition at line 808 of file channel.h.
Referenced by __oh323_new(), ast_call_forward(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_destructor(), ast_channel_redirecting_macro(), ast_channel_set_redirecting(), ast_do_masquerade(), ast_dummy_channel_destructor(), ast_iax2_new(), ast_indicate_data(), ast_var_channels_table(), begin_dial_channel(), call_forward_inherit(), callerid_read(), callerid_write(), cb_events(), check_bridge(), dahdi_new(), dial_exec_full(), do_forward(), iax2_call(), isAnsweringMachine(), local_call(), local_indicate(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_facility_ie_handler(), oh323_call(), oss_call(), redirecting_read(), redirecting_write(), ring_entry(), serialize_showchan(), setup_env(), sig_pri_handle_subcmds(), sig_pri_redirecting_update(), and sip_new().
int rings |
Number of rings so far
Definition at line 834 of file channel.h.
Referenced by __analog_handle_event(), __analog_ss_thread(), __oh323_new(), ast_var_channels_table(), cb_events(), dahdi_handle_event(), dahdi_new(), gtalk_new(), handle_showchan(), jingle_new(), mgcp_new(), mgcp_ss(), misdn_new(), nbs_new(), phone_answer(), serialize_showchan(), sip_new(), skinny_new(), and unistim_new().
struct sched_context* sched |
Schedule context
Definition at line 750 of file channel.h.
Referenced by ast_channel_destructor(), ast_hangup(), ast_readaudio_callback(), ast_readvideo_callback(), background_detect_exec(), dial_exec_full(), handle_speechrecognize(), speech_background(), wait_for_winner(), and waitstream_core().
struct ast_filestream* stream |
Stream itself.
Definition at line 751 of file channel.h.
Referenced by ast_control_streamfile(), ast_filehelper(), ast_hangup(), ast_moh_files_next(), ast_openstream_full(), ast_readstring_full(), ast_stopstream(), background_detect_exec(), dial_exec_full(), dictate_exec(), handle_recordfile(), handle_speechrecognize(), local_ast_moh_stop(), moh_files_readframe(), moh_files_release(), speech_background(), wait_for_winner(), and waitstream_core().
int streamid |
For streaming playback, the schedule ID
Definition at line 829 of file channel.h.
Referenced by ast_readaudio_callback(), handle_speechrecognize(), and speech_background().
struct ast_channel_tech* tech |
Technology (point to channel driver)
Definition at line 737 of file channel.h.
Referenced by __analog_ss_thread(), __ast_channel_masquerade(), __ast_read(), __oh323_new(), acf_channel_read(), agent_indicate(), agent_new(), agent_read(), alsa_new(), analog_ss_thread(), ast_bridged_channel(), ast_call(), ast_channel_bridge(), ast_channel_early_bridge(), ast_channel_make_compatible_helper(), ast_channel_queryoption(), ast_channel_register(), ast_channel_sendhtml(), ast_channel_setoption(), ast_channel_supports_html(), ast_channel_unregister(), ast_do_masquerade(), ast_hangup(), ast_iax2_new(), ast_indicate_data(), ast_jb_do_usecheck(), ast_raw_answer(), ast_request(), ast_rtp_dtmf_compatible(), ast_rtp_instance_bridge(), ast_rtp_instance_early_bridge(), ast_rtp_instance_early_bridge_make_compatible(), ast_rtp_instance_make_compatible(), ast_send_image(), ast_senddigit(), ast_senddigit_begin(), ast_senddigit_end(), ast_sendtext(), ast_supports_images(), ast_transfer(), ast_var_channel_types_table(), ast_var_channels_table(), ast_write(), ast_write_video(), cb_events(), conf_run(), console_new(), dahdi_accept_r2_call_exec(), dahdi_new(), dahdi_pri_cc_agent_init(), dahdi_send_callrerouting_facility_exec(), dahdi_setoption(), destroy_conference_bridge(), dial_exec_full(), do_forward(), do_notify(), flash_exec(), func_channel_read(), func_channel_write_real(), func_header_read(), function_iaxpeer(), function_sipchaninfo_read(), get_proto(), gtalk_new(), handle_request_bye(), handle_showchan(), iax2_bridge(), iax2_prov_app(), jingle_new(), local_new(), mgcp_new(), misdn_facility_exec(), misdn_new(), misdn_set_opt_exec(), multicast_rtp_request(), nbs_new(), oss_new(), park_call_full(), play_sound_file(), sendtext_exec(), serialize_showchan(), setup_env(), sip_acf_channel_read(), sip_cc_agent_init(), sip_dtmfmode(), sip_hangup(), sip_new(), skinny_new(), transfer_exec(), unistim_new(), update_bridge_vars(), and usbradio_new().
void* tech_pvt |
Private data used by the technology driver
Definition at line 738 of file channel.h.
Referenced by __analog_ss_thread(), __dahdi_exception(), __oh323_destroy(), __oh323_new(), acf_channel_read(), agent_bridgedchannel(), agent_call(), agent_cleanup(), agent_digit_begin(), agent_digit_end(), agent_fixup(), agent_get_base_channel(), agent_hangup(), agent_indicate(), agent_new(), agent_read(), agent_sendhtml(), agent_sendtext(), agent_set_base_channel(), agent_start_monitoring(), agent_write(), alsa_fixup(), alsa_hangup(), alsa_new(), analog_hangup(), analog_ss_thread(), ast_channel_destructor(), ast_do_masquerade(), ast_generic_bridge(), ast_iax2_new(), ast_rtp_instance_bridge(), ast_udptl_bridge(), bridge_bridgedchannel(), bridge_call(), bridge_hangup(), bridge_write(), channel_to_session(), console_answer(), console_call(), console_fixup(), console_hangup(), console_indicate(), console_new(), console_write(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_callwait(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_exception(), dahdi_fixup(), dahdi_func_read(), dahdi_func_write(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_pri_cc_agent_init(), dahdi_queryoption(), dahdi_r2_get_channel_category(), dahdi_read(), dahdi_send_callrerouting_facility_exec(), dahdi_send_keypad_facility_exec(), dahdi_sendtext(), dahdi_setoption(), dahdi_write(), destroy_dahdi_pvt(), dialog_unlink_all(), func_header_read(), function_iaxpeer(), function_sipchaninfo_read(), get_video_desc(), gtalk_answer(), gtalk_call(), gtalk_digit_begin(), gtalk_digit_end(), gtalk_fixup(), gtalk_get_codec(), gtalk_get_rtp_peer(), gtalk_hangup(), gtalk_new(), gtalk_read(), gtalk_sendtext(), gtalk_set_rtp_peer(), gtalk_write(), handle_enbloc_call_message(), handle_invite_replaces(), handle_offhook_message(), handle_request_bye(), handle_soft_key_event_message(), handle_stimulus_message(), handle_transfer_button(), iax2_answer(), iax2_bridge(), iax2_call(), iax2_digit_begin(), iax2_digit_end(), iax2_fixup(), iax2_hangup(), iax2_indicate(), iax2_predestroy(), iax2_prov_app(), iax2_queryoption(), iax2_sendhtml(), iax2_sendimage(), iax2_sendtext(), iax2_setoption(), iax2_transfer(), iax2_write(), jingle_answer(), jingle_call(), jingle_digit(), jingle_fixup(), jingle_get_codec(), jingle_get_rtp_peer(), jingle_hangup(), jingle_new(), jingle_read(), jingle_sendtext(), jingle_set_rtp_peer(), jingle_write(), kill_hangup(), local_answer(), local_bridge_loop(), local_bridgedchannel(), local_call(), local_digit_begin(), local_digit_end(), local_fixup(), local_hangup(), local_indicate(), local_new(), local_queryoption(), local_sendhtml(), local_sendtext(), local_setoption(), local_write(), mgcp_answer(), mgcp_call(), mgcp_fixup(), mgcp_get_codec(), mgcp_get_rtp_peer(), mgcp_hangup(), mgcp_indicate(), mgcp_new(), mgcp_read(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_set_rtp_peer(), mgcp_ss(), mgcp_write(), multicast_rtp_call(), multicast_rtp_hangup(), multicast_rtp_request(), multicast_rtp_write(), my_get_sigpvt_bridged_channel(), my_pri_fixup_chans(), nbs_call(), nbs_hangup(), nbs_new(), nbs_xread(), nbs_xwrite(), oh323_answer(), oh323_call(), oh323_digit_begin(), oh323_digit_end(), oh323_fixup(), oh323_get_rtp_peer(), oh323_hangup(), oh323_indicate(), oh323_read(), oh323_set_rtp_peer(), oh323_update_info(), oh323_write(), oss_answer(), oss_call(), oss_fixup(), oss_hangup(), oss_indicate(), oss_new(), oss_read(), oss_write(), phone_answer(), phone_call(), phone_digit_end(), phone_exception(), phone_fixup(), phone_hangup(), phone_indicate(), phone_read(), phone_send_text(), phone_setup(), phone_write(), pri_ss_thread(), remote_bridge_loop(), sig_pri_hangup(), sig_ss7_hangup(), sip_acf_channel_read(), sip_answer(), sip_call(), sip_cc_agent_init(), sip_dtmfmode(), sip_fixup(), sip_get_callid(), sip_get_codec(), sip_get_rtp_peer(), sip_get_trtp_peer(), sip_get_udptl_peer(), sip_get_vrtp_peer(), sip_hangup(), sip_indicate(), sip_new(), sip_park_thread(), sip_queryoption(), sip_read(), sip_senddigit_begin(), sip_senddigit_end(), sip_sendhtml(), sip_sendtext(), sip_set_rtp_peer(), sip_set_udptl_peer(), sip_setoption(), sip_transfer(), sip_write(), skinny_answer(), skinny_call(), skinny_fixup(), skinny_get_rtp_peer(), skinny_get_vrtp_peer(), skinny_hangup(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_read(), skinny_senddigit_end(), skinny_set_rtp_peer(), skinny_ss(), skinny_write(), unistim_answer(), unistim_call(), unistim_fixup(), unistim_get_rtp_peer(), unistim_hangup(), unistim_indicate(), unistim_new(), unistim_read(), unistim_ss(), unistim_write(), usbradio_answer(), usbradio_call(), usbradio_fixup(), usbradio_hangup(), usbradio_indicate(), usbradio_new(), usbradio_read(), and usbradio_write().
timer object that provided timingfd
Definition at line 860 of file channel.h.
Referenced by __ast_queue_frame(), __ast_read(), ast_channel_destructor(), and ast_settimeout().
void* timingdata |
int timingfd |
Timing fd
Definition at line 832 of file channel.h.
Referenced by __ast_queue_frame(), __ast_read(), ast_do_masquerade(), ast_internal_timing_enabled(), ast_read_generator_actions(), ast_readaudio_callback(), and ast_settimeout().
int(* timingfunc)(const void *data) |
unsigned short transfercapability |
ISDN Transfer Capability - AST_FLAG_DIGITAL is not enough
Definition at line 857 of file channel.h.
Referenced by __oh323_new(), ast_channel_data_add_structure(), ast_var_channels_table(), begin_dial_channel(), cb_events(), dahdi_call(), dial_exec_full(), func_channel_read(), func_channel_write_real(), misdn_call(), oh323_call(), sig_pri_call(), sig_pri_new_ast_channel(), and sig_ss7_new_ast_channel().
const ast_string_field uniqueid |
Definition at line 781 of file channel.h.
Referenced by __agent_start_monitoring(), __ast_change_name_nolink(), action_coreshowchannels(), action_dahdishowchannels(), aoc_d_event(), aoc_e_event(), aoc_request_event(), aoc_s_event(), aqm_exec(), ast_cdr_init(), ast_cel_report_event(), ast_channel_bridge(), ast_channel_cmp_cb(), ast_channel_get_full(), ast_channel_set_linkgroup(), ast_hangup(), ast_monitor_start(), ast_monitor_stop(), ast_setstate(), ast_str_retrieve_variable(), ast_var_channels_table(), build_conf(), conf_run(), dahdi_ami_channel_event(), fast_originate(), fax_session_new(), func_channel_read(), handle_showchan(), join_queue(), leave_queue(), local_ast_moh_stop(), manager_bridge_event(), manager_queues_status(), park_call_full(), pbx_builtin_setvar_helper(), pbx_extension_helper(), post_manager_event(), queue_exec(), queue_transfer_fixup(), record_abandoned(), report_new_callerid(), ring_entry(), rna(), rqm_exec(), send_agent_complete(), send_dtmf_event(), send_talking_event(), senddialendevent(), senddialevent(), serialize_showchan(), setup_env(), sig_pri_mcid_event(), sip_new(), and wait_our_turn().
const ast_string_field userfield |
Definition at line 781 of file channel.h.
Referenced by ast_cel_report_event(), and func_channel_read().
A linked list for channel variables. See Asterisk Dialplan Variables
Definition at line 811 of file channel.h.
Referenced by ast_cel_fabricate_channel_from_event(), ast_channel_destructor(), ast_channel_inherit_variables(), ast_dummy_channel_destructor(), ast_str_substitute_variables_full(), clearvar_prefix(), clone_variables(), hashkeys_read(), hashkeys_read2(), local_call(), lua_get_variable(), mgcp_call(), ospauth_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), pbx_builtin_serialize_variables(), pbx_substitute_variables_helper(), pbx_substitute_variables_helper_full(), peek_read(), shared_read(), shared_write(), sip_call(), sip_removeheader(), and transmit_invite().
Indication currently playing on the channel
Definition at line 855 of file channel.h.
Referenced by ast_bridge_call(), ast_do_masquerade(), ast_indicate_data(), and builtin_atxfer().
struct ast_filestream* vstream |
Video Stream itself.
Definition at line 752 of file channel.h.
Referenced by ast_filehelper(), ast_hangup(), ast_openvstream(), and ast_stopstream().
int vstreamid |
For streaming video playback, the schedule ID
Definition at line 830 of file channel.h.
Referenced by ast_readvideo_callback().
struct timeval whentohangup |
Non-zero, set to actual time when channel is to be hung up
Definition at line 783 of file channel.h.
Referenced by ast_channel_cmpwhentohangup_tv(), ast_channel_data_add_structure(), ast_channel_setwhentohangup_tv(), ast_check_hangup(), ast_var_channels_table(), begin_dial_channel(), dial_exec_full(), handle_showchan(), ring_entry(), rpt(), serialize_showchan(), and timeout_read().
Requested write format (after translation)
Definition at line 848 of file channel.h.
Referenced by __oh323_new(), __oh323_update_info(), agent_new(), agent_write(), alsa_new(), ast_adsi_transmit_message_full(), ast_async_goto(), ast_channel_bridge(), ast_channel_data_add_structure(), ast_channel_make_compatible_helper(), ast_channel_start_silence_generator(), ast_do_masquerade(), ast_filehelper(), ast_iax2_new(), ast_openstream_full(), ast_read_generator_actions(), ast_set_write_format(), ast_streamfile(), ast_write(), bridge_channel_join(), bridge_make_compatible(), builtin_atxfer(), chanspy_exec(), check_goto_on_transfer(), console_new(), dahdi_new(), dahdiscan_exec(), do_bridge_masquerade(), do_notify(), extenspy_exec(), func_channel_read(), generic_fax_exec(), gtalk_new(), gtalk_rtp_read(), gtalk_show_channels(), gtalk_write(), handle_showchan(), iax2_request(), iax_park(), jingle_new(), jingle_rtp_read(), jingle_show_channels(), jingle_write(), linear_alloc(), local_new(), masq_park_call(), mgcp_new(), mgcp_rtp_read(), mgcp_write(), misdn_new(), moh_alloc(), moh_files_alloc(), mp3_exec(), multicast_rtp_request(), multiplexed_bridge_join(), nbs_new(), NBScat_exec(), oh323_rtp_read(), oh323_set_rtp_peer(), oh323_write(), oss_new(), playtones_alloc(), serialize_showchan(), setup_rtp_connection(), simple_bridge_join(), sip_new(), sip_park(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), start_rtp(), tonepair_alloc(), transmit_audio(), unistim_new(), unistim_rtp_read(), unistim_write(), and usbradio_new().
struct ast_trans_pvt* writetrans |
Write translation path
Definition at line 756 of file channel.h.
Referenced by ast_channel_destructor(), ast_set_write_format(), ast_write(), free_translation(), handle_showchan(), and serialize_showchan().
struct ast_tone_zone* zone |
Tone zone as set in indications.conf or in the CHANNEL dialplan function
Definition at line 761 of file channel.h.
Referenced by ast_app_dtget(), ast_channel_data_add_structure(), ast_channel_destructor(), ast_indicate_data(), ast_var_channels_table(), dial_handle_playtones(), dialtone_indicate(), func_channel_read(), func_channel_write_real(), handle_playtones(), pbx_builtin_waitexten(), play_dialtone(), read_exec(), and readexten_exec().