Main Channel structure associated with a channel. More...
#include <channel.h>

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