Main Channel structure associated with a channel. This is the side of it mostly used by the pbx and call management. More...
#include <channel.h>

Main Channel structure associated with a channel. This is the side of it mostly used by the pbx and call management.
Definition at line 399 of file channel.h.
| AST_DECLARE_STRING_FIELDS | ( | AST_STRING_FIELD(name);AST_STRING_FIELD(language);AST_STRING_FIELD(musicclass);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(call_forward);AST_STRING_FIELD(uniqueid);AST_STRING_FIELD(parkinglot);AST_STRING_FIELD(dialcontext); | ) |
| AST_LIST_ENTRY | ( | ast_channel | ) |
For easy linking
| AST_LIST_HEAD_NOLOCK | ( | datastores | , | |
| ast_datastore | ||||
| ) |
Data stores on the channel
| AST_LIST_HEAD_NOLOCK | ( | ast_frame | ) |
| union { ... } |
struct ast_channel* _bridge [read] |
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 405 of file channel.h.
Referenced by action_agents(), action_status(), agent_bridgedchannel(), agent_hangup(), agent_read(), ast_bridged_channel(), ast_channel_bridge(), ast_channel_masquerade(), ast_generic_bridge(), check_bridge(), handle_showchan(), local_bridgedchannel(), 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 462 of file channel.h.
Referenced by __ast_pbx_run(), __ast_read(), __oh323_update_info(), __sip_destroy(), ast_autoservice_stop(), ast_channel_bridge(), ast_check_hangup(), ast_do_masquerade(), ast_dsp_process(), ast_generic_bridge(), ast_queue_hangup(), ast_queue_hangup_with_cause(), ast_softhangup_nolock(), ast_waitfor_nandfds(), ast_write(), attempt_transfer(), builtin_atxfer(), check_goto_on_transfer(), cleanup_connection(), collect_digits(), dahdi_handle_event(), dahdi_indicate(), hangup_connection(), iax2_bridge(), pbx_builtin_waitexten(), pri_dchannel(), ss7_linkset(), try_calling(), and waitstream_core().
| enum ast_channel_state _state |
State of line -- Don't write directly, use ast_setstate()
Definition at line 469 of file channel.h.
Referenced by __ast_answer(), __ast_channel_alloc_ap(), __ast_read(), __ast_request_and_dial(), __dahdi_exception(), action_bridge(), action_coreshowchannels(), action_status(), add_header_offhook(), agent_hangup(), agent_read(), agi_exec_full(), alarmreceiver_exec(), alsa_read(), app_exec(), ast_async_goto(), ast_bridge_call(), ast_cdr_init(), ast_control_streamfile(), ast_do_masquerade(), ast_feature_request_and_dial(), ast_indicate_data(), ast_parse_device_state(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_pickup_call(), ast_prod(), ast_quiet_chan(), ast_raw_answer(), ast_setstate(), async_wait(), attempt_transfer(), auth_exec(), available(), background_detect_exec(), bridge_exec(), builtin_atxfer(), builtin_parkcall(), can_pickup(), can_write(), check_goto_on_transfer(), check_rtp_timeout(), common_exec(), conf_exec(), count_exec(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_digit_begin(), dahdi_fixup(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_read(), dahdiras_exec(), dial_exec_full(), dictate_exec(), directory_exec(), disa_exec(), do_bridge_masquerade(), eivr_comm(), func_channel_read(), gtalk_call(), handle_answer(), handle_callforward_button(), handle_chanlist(), handle_channelstatus(), handle_invite_replaces(), handle_keypad_button_message(), handle_message(), handle_onhook_message(), handle_request(), handle_request_cancel(), handle_request_invite(), handle_response_invite(), handle_showchan(), handle_soft_key_event_message(), handle_stimulus_message(), handle_transfer_button(), iax2_call(), ices_exec(), jingle_call(), local_attended_transfer(), 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(), park_exec_full(), parkandannounce_exec(), pbx_builtin_answer(), pbx_builtin_background(), pbx_builtin_busy(), pbx_builtin_congestion(), pbx_builtin_incomplete(), phone_call(), phone_exception(), phone_write(), playback_exec(), pri_dchannel(), privacy_exec(), proc_session_timer(), read_exec(), readexten_exec(), record_exec(), release_chan(), release_chan_early(), rpt(), rpt_exec(), sayunixtime_exec(), send_waveform_to_channel(), serialize_showchan(), 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(), skinny_transfer(), speech_background(), ss_thread(), testclient_exec(), testserver_exec(), transmit(), try_calling(), unistim_answer(), unistim_call(), unistim_indicate(), usbradio_read(), vm_exec(), vm_execmain(), wait_for_answer(), waitfor_exec(), and zapateller_exec().
Whether or not ADSI is detected on CPE
Definition at line 474 of file channel.h.
Referenced by __adsi_transmit_messages(), _ast_adsi_available(), _ast_adsi_transmit_message_full(), ast_do_masquerade(), ast_iax2_new(), 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 481 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_queue_frame(), __ast_read(), ast_channel_free(), and ast_do_masquerade().
| int amaflags |
Set BEFORE PBX is started to determine AMA flags
Definition at line 473 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __oh323_new(), ast_async_goto(), ast_bridge_call(), ast_cdr_init(), ast_iax2_new(), dahdi_new(), gtalk_new(), handle_chanlist(), 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 411 of file channel.h.
Referenced by action_coreshowchannels(), ast_bridge_call(), ast_bridge_call_thread(), ast_park_call_full(), begin_dial_channel(), dial_exec_full(), handle_chanlist(), handle_showchan(), pbx_exec(), ring_entry(), rpt(), rpt_exec(), and serialize_showchan().
struct ast_audiohook_list* audiohooks [read] |
Definition at line 421 of file channel.h.
Referenced by __ast_read(), ast_audiohook_attach(), ast_audiohook_detach_source(), ast_audiohook_move_by_source(), ast_audiohook_remove(), ast_channel_audiohook_count_by_source(), ast_channel_audiohook_count_by_source_running(), ast_channel_bridge(), ast_hangup(), ast_write(), bridge_native_loop(), bridge_p2p_loop(), check_bridge(), and conf_run().
| pthread_t blocker |
If anyone is blocking, this is them
Definition at line 442 of file channel.h.
Referenced by __ast_queue_frame(), __ast_read(), ast_do_masquerade(), ast_hangup(), and ast_softhangup_nolock().
| const char* blockproc |
Procedure causing blocking
Definition at line 410 of file channel.h.
Referenced by ast_hangup(), handle_showchan(), and serialize_showchan().
Call group for call pickups
Definition at line 447 of file channel.h.
Referenced by ast_pickup_call(), dahdi_new(), func_channel_read(), func_channel_write(), gtalk_new(), handle_showchan(), jingle_new(), mgcp_new(), read_config(), serialize_showchan(), sip_new(), skinny_new(), and unistim_new().
Call Detail Record
Definition at line 422 of file channel.h.
Referenced by __agent_start_monitoring(), __ast_channel_alloc_ap(), __ast_pbx_run(), __ast_request_and_dial(), action_coreshowchannels(), action_status(), 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_setuserfield(), ast_cdr_update(), ast_channel_free(), ast_do_masquerade(), ast_hangup(), ast_pbx_outgoing_app(), ast_pbx_outgoing_cdr_failed(), ast_pbx_outgoing_exten(), ast_raw_answer(), attempt_transfer(), builtin_blindtransfer(), callerid_write(), cdr_read(), cdr_write(), clear_caller(), custom_log(), dahdi_handle_event(), dial_exec_full(), disa_exec(), end_bridge_callback(), findmeexec(), forkcdr_exec(), handle_cause(), handle_chanlist(), handle_request_info(), handle_showchan(), login_exec(), manager_log(), nocdr_exec(), ospfinished_exec(), park_exec_full(), pbx_builtin_busy(), pbx_builtin_resetcdr(), pbx_exec(), queue_exec(), ring_entry(), rpt(), rpt_call(), rpt_exec(), rpt_tele_thread(), serialize_showchan(), show_chanstats_cb(), sqlite3_log(), start_monitor_exec(), try_calling(), and wait_for_answer().
| int cdrflags |
Call Detail Record Flags
Definition at line 461 of file channel.h.
Referenced by begin_dial_channel(), dahdi_request(), dial_exec_full(), do_forward(), local_call(), and wait_for_answer().
struct ast_callerid cid [read] |
Caller ID, name, presentation etc
Definition at line 444 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_goto_if_exists(), __ast_pbx_run(), __oh323_new(), _macro_exec(), acf_isexten_exec(), action_agents(), action_coreshowchannels(), action_meetmelist(), action_status(), agent_call(), agentmonitoroutgoing_exec(), ast_app_dtget(), ast_bridge_call(), ast_call_forward(), ast_channel_bridge(), ast_channel_free(), ast_do_masquerade(), ast_hangup(), ast_iax2_new(), ast_park_call_full(), ast_set_callerid(), ast_setstate(), background_detect_exec(), begin_dial_channel(), blacklist_read(), build_rpid(), builtin_atxfer(), builtin_automixmonitor(), builtin_automonitor(), builtin_blindtransfer(), callerid_read(), callerid_write(), callerpres_read(), callerpres_write(), cb_events(), collect_digits(), conf_run(), console_call(), console_transfer(), copy_message(), dahdi_call(), dahdi_handle_dtmfup(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), dial_trunk(), disa_exec(), do_forward(), do_immediate_setup(), find_matching_endwhile(), findmeexec(), forward_message(), gosub_exec(), gtalk_new(), handle_chanlist(), handle_cli_misdn_show_channels(), handle_gosub(), handle_setpriority(), handle_showchan(), iax2_call(), initreqprep(), isAnsweringMachine(), isexten_function_read(), jingle_new(), join_queue(), leave_voicemail(), local_call(), manager_bridge_event(), manager_parking_status(), manager_queues_status(), meetme_cmd(), mgcp_call(), mgcp_hangup(), mgcp_new(), mgcp_ss(), minivm_greet_exec(), minivm_notify_exec(), misdn_call(), misdn_hangup(), misdn_new(), misdn_write(), oh323_call(), ospauth_exec(), osplookup_exec(), oss_call(), oss_new(), park_exec_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_waitexten(), pbx_parseable_goto(), pbx_retrieve_variable(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), process_ast_dsp(), queue_exec(), read_config(), 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(), sip_call(), sip_new(), sip_read(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_ss(), sla_ring_station(), sms_exec(), ss_thread(), unistim_call(), unistim_new(), update_config(), usbradio_new(), valid_exit(), vm_authenticate(), wait_for_answer(), waitstream_core(), write_metadata(), and zapateller_exec().
| char context[AST_MAX_CONTEXT] |
Dialplan: Current extension context
Definition at line 502 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), acf_isexten_exec(), action_coreshowchannels(), action_status(), agent_new(), alsa_new(), ast_add_extension2_lockopt(), ast_async_goto(), ast_bridge_call(), ast_call_forward(), ast_cdr_init(), ast_cdr_update(), ast_explicit_goto(), ast_iax2_new(), ast_park_call_full(), ast_pbx_outgoing_exten(), ast_waitstream_exten(), async_wait(), background_detect_exec(), bridge_exec(), builtin_atxfer(), channel_find_locked(), check_availability(), collect_digits(), common_exec(), conf_run(), console_transfer(), dahdi_handle_dtmfup(), dahdi_new(), dial_exec_full(), dialout(), disa_exec(), do_bridge_masquerade(), do_forward(), do_idle_thread(), do_immediate_setup(), extenspy_exec(), find_matching_endwhile(), forward_message(), get_cid_name(), gosub_exec(), gtalk_new(), handle_chanlist(), handle_enbloc_call_message(), handle_gosub(), handle_setcontext(), handle_setpriority(), handle_showchan(), handle_soft_key_event_message(), handle_stimulus_message(), iax2_call(), iax_park(), isexten_function_read(), jingle_new(), leave_voicemail(), local_call(), local_new(), log_exec(), manage_parkinglot(), masq_park_call(), mgcp_new(), mgcp_ss(), minivm_greet_exec(), misdn_call(), misdn_hangup(), nbs_new(), onedigit_goto(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_raise_exception(), pbx_builtin_setvar_multiple(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_parseable_goto(), pbx_retrieve_variable(), pickup_exec(), print_bc_info(), priority_jump(), process_ast_dsp(), queue_transfer_fixup(), read_config(), readexten_exec(), real_ctx(), realtime_exec(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), serialize_showchan(), set_c_e_p(), setup_env(), sip_new(), sip_park(), sip_read(), skinny_new(), skinny_ss(), ss_thread(), try_calling(), and wait_for_answer().
| const char* data |
Data passed to current application
Definition at line 412 of file channel.h.
Referenced by action_coreshowchannels(), ast_bridge_call(), ast_bridge_call_thread(), ast_park_call_full(), begin_dial_channel(), change_callerid(), dial_exec_full(), handle_chanlist(), handle_showchan(), handle_verbose(), pbx_exec(), retrydial_exec(), ring_entry(), rpt(), rpt_exec(), and serialize_showchan().
struct timeval dtmf_tv [read] |
The time that an in process digit began, or the last digit ended
Definition at line 452 of file channel.h.
Referenced by __ast_read(), and should_skip_dtmf().
DTMF frame
Definition at line 445 of file channel.h.
Referenced by __ast_read(), gtalk_digit(), 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 487 of file channel.h.
Referenced by __ast_read().
| char exten[AST_MAX_EXTENSION] |
Dialplan: Current extension number
Definition at line 503 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), action_coreshowchannels(), action_status(), agent_new(), alsa_new(), ast_add_extension2_lockopt(), ast_async_goto(), ast_bridge_call(), ast_cdr_init(), ast_cdr_update(), ast_explicit_goto(), ast_iax2_new(), ast_park_call_full(), async_wait(), bridge_exec(), builtin_atxfer(), cb_events(), channel_find_locked(), dahdi_handle_dtmfup(), dahdi_new(), dial_exec_full(), dialout(), do_bridge_masquerade(), do_forward(), do_idle_thread(), do_immediate_setup(), dundi_exec(), dundi_helper(), find_matching_endwhile(), forward_message(), get_cid_name(), gosub_exec(), gtalk_new(), handle_chanlist(), handle_cli_misdn_show_channels(), handle_enbloc_call_message(), handle_gosub(), handle_setextension(), handle_setpriority(), handle_showchan(), handle_soft_key_event_message(), handle_stimulus_message(), iax_park(), jingle_new(), leave_voicemail(), local_call(), local_new(), log_exec(), manage_parkinglot(), masq_park_call(), mgcp_new(), mgcp_ss(), minivm_greet_exec(), misdn_bridge(), misdn_call(), misdn_digit_end(), misdn_hangup(), misdn_new(), misdn_overlap_dial_task(), misdn_write(), nbs_new(), ospauth_exec(), park_call_exec(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_raise_exception(), pbx_builtin_setvar_multiple(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_parseable_goto(), pbx_retrieve_variable(), phase_e_handler(), pickup_by_exten(), print_bc_info(), priority_jump(), process_ast_dsp(), queue_transfer_fixup(), read_config(), realtime_exec(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), select_entry(), serialize_showchan(), set_c_e_p(), set_ext_pri(), setup_env(), setup_privacy_args(), sip_new(), sip_park(), sip_read(), skinny_new(), skinny_newcall(), skinny_ss(), ss_thread(), try_calling(), unistim_ss(), and wait_for_answer().
| int fdno |
Which fd had an event detected on
Definition at line 464 of file channel.h.
Referenced by __ast_read(), agent_read(), ast_do_masquerade(), ast_waitfor_nandfds(), manage_parkinglot(), 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 458 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_read(), __dahdi_exception(), ast_channel_set_fd(), ast_do_masquerade(), ast_poll_channel_add(), ast_poll_channel_del(), build_conf(), conf_run(), dahdi_bridge(), dahdiras_exec(), flash_exec(), handle_showchan(), manage_parkinglot(), p2p_callback_disable(), phone_call(), rbi_out(), rpt(), rpt_call(), rpt_exec(), 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 475 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_read(), handle_core_set_debug_channel(), handle_showchan(), and serialize_showchan().
| 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 477 of file channel.h.
Referenced by __ast_channel_alloc_ap(), ast_write(), handle_core_set_debug_channel(), handle_showchan(), and serialize_showchan().
struct ast_generator* generator [read] |
Current active data generator
Definition at line 404 of file channel.h.
Referenced by __ast_read(), ast_activate_generator(), ast_channel_bridge(), ast_deactivate_generator(), ast_hangup(), ast_openstream_full(), ast_read_generator_actions(), ast_senddigit_end(), cb_events(), generator_force(), and local_queue_frame().
| void* generatordata |
Current generator data if there is any
Definition at line 403 of file channel.h.
Referenced by __ast_read(), ast_activate_generator(), ast_deactivate_generator(), ast_hangup(), ast_quiet_chan(), ast_read_generator_actions(), ast_safe_sleep_conditional(), ast_tonepair(), ast_write(), cb_events(), generator_force(), manage_parkinglot(), play_tone_pair(), and rpt_tele_thread().
| int hangupcause |
Why is the channel hanged up. See causes.h
Definition at line 479 of file channel.h.
Referenced by __ast_read(), __ast_request_and_dial(), __attempt_transmit(), __oh323_update_info(), __transmit_response(), ast_do_masquerade(), ast_hangup(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_queue_hangup_with_cause(), cb_events(), clear_caller(), console_new(), dahdi_hangup(), dahdi_indicate(), dial_exec_full(), disa_exec(), eivr_comm(), findmeexec(), gtalk_new(), handle_invite_replaces(), handle_request_invite(), handle_request_refer(), handle_response(), hangup_connection(), iax2_hangup(), jingle_new(), local_hangup(), misdn_call(), misdn_hangup(), oh323_hangup(), pbx_builtin_hangup(), pbx_retrieve_variable(), pri_dchannel(), receive_dtmf_digits(), retrans_pkt(), send_cause2ast(), sip_call(), sip_hangup(), sip_new(), sip_park(), sip_park_thread(), socket_process(), ss7_linkset(), ss_thread(), wait_for_answer(), and wait_for_winner().
| unsigned long insmpl |
Track the read/written samples for monitor use
Definition at line 455 of file channel.h.
Referenced by __ast_read(), and ast_write().
The jitterbuffer state
Definition at line 451 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().
Lock a channel for some operations. See ast_channel_lock()
Definition at line 443 of file channel.h.
Referenced by __ast_channel_alloc_ap(), ast_channel_free(), and ast_do_masquerade().
| char macrocontext[AST_MAX_CONTEXT] |
Macro: Current non-macro context. See app_macro.c
Definition at line 504 of file channel.h.
Referenced by _macro_exec(), ast_cdr_init(), ast_cdr_update(), ast_park_call_full(), channel_find_locked(), common_exec(), conf_run(), dahdi_handle_dtmfup(), dial_exec_full(), get_also_info(), get_cid_name(), get_refer_info(), goto_exten(), leave_voicemail(), masq_park_call(), minivm_greet_exec(), onedigit_goto(), 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 505 of file channel.h.
Referenced by _macro_exec(), ast_cdr_init(), ast_cdr_update(), ast_park_call_full(), channel_find_locked(), dial_exec_full(), do_forward(), dundi_exec(), dundi_helper(), get_cid_name(), masq_park_call(), pickup_by_exten(), and wait_for_answer().
| int macropriority |
Macro: Current non-macro priority. See app_macro.c
Definition at line 472 of file channel.h.
Referenced by _macro_exec(), ast_park_call_full(), and masq_park_call().
struct ast_channel* masq [read] |
Channel that will masquerade as us
Definition at line 408 of file channel.h.
Referenced by __ast_read(), ast_channel_bridge(), ast_channel_masquerade(), ast_do_masquerade(), ast_hangup(), ast_udptl_bridge(), ast_write(), bridge_native_loop(), and bridge_p2p_loop().
struct ast_channel* masqr [read] |
Who we are masquerading as
Definition at line 409 of file channel.h.
Referenced by ast_channel_bridge(), ast_channel_masquerade(), ast_do_masquerade(), ast_hangup(), ast_udptl_bridge(), ast_write(), bridge_native_loop(), and bridge_p2p_loop().
struct ast_channel_monitor* monitor [read] |
Channel monitoring
Definition at line 425 of file channel.h.
Referenced by __agent_start_monitoring(), __ast_read(), ast_channel_bridge(), ast_channel_free(), ast_do_masquerade(), ast_monitor_change_fname(), ast_monitor_set_state(), ast_monitor_setjoinfiles(), ast_monitor_start(), ast_monitor_stop(), ast_write(), bridge_native_loop(), bridge_p2p_loop(), builtin_automonitor(), check_bridge(), and conf_run().
| void* music_state |
Music State
Definition at line 402 of file channel.h.
Referenced by __ast_read(), ast_channel_free(), ast_moh_files_next(), local_ast_moh_cleanup(), local_ast_moh_start(), local_ast_moh_stop(), moh_alloc(), moh_files_alloc(), moh_files_generator(), and moh_files_release().
| int nativeformats |
Kinds of data this channel can natively handle
Definition at line 482 of file channel.h.
Referenced by __ast_read(), __oh323_new(), __oh323_update_info(), agent_call(), agent_new(), alsa_new(), ast_channel_bridge(), ast_channel_make_compatible_helper(), ast_do_masquerade(), ast_generic_bridge(), ast_iax2_new(), ast_openvstream(), ast_streamfile(), begin_dial_channel(), builtin_atxfer(), chanavail_exec(), console_new(), create_addr(), dahdi_new(), dial_exec_full(), do_forward(), echo_exec(), findmeexec(), free_translation(), func_channel_read(), gtalk_new(), gtalk_rtp_read(), gtalk_write(), handle_showchan(), iax2_bridge(), iax2_call(), iax2_request(), jingle_new(), jingle_rtp_read(), jingle_write(), local_new(), login_exec(), mgcp_new(), mgcp_rtp_read(), mgcp_write(), misdn_new(), nbs_new(), oh323_rtp_read(), oh323_write(), oss_new(), process_sdp(), ring_entry(), serialize_showchan(), set_format(), setup_rtp_connection(), show_channels_cb(), sip_new(), sip_rtp_read(), sip_show_channel(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), socket_process(), speech_create(), start_rtp(), unistim_new(), unistim_rtp_read(), unistim_write(), usbradio_new(), and wait_for_answer().
| int oldwriteformat |
Original writer format
Definition at line 467 of file channel.h.
Referenced by ast_openstream_full(), and ast_stopstream().
| unsigned long outsmpl |
Track the read/written samples for monitor use
Definition at line 456 of file channel.h.
Referenced by __ast_read(), and ast_write().
PBX private structure for this channel
Definition at line 418 of file channel.h.
Referenced by __ast_pbx_run(), action_redirect(), action_status(), ast_app_dtget(), ast_app_getdata(), ast_async_goto(), ast_channel_free(), ast_pickup_call(), asyncgoto_exec(), builtin_blindtransfer(), can_pickup(), collect_digits(), dahdi_handle_event(), disa_exec(), handle_getoption(), handle_gosub(), ivr_dispatch(), park_exec_full(), pbx_builtin_waitexten(), read_exec(), read_newoption(), readexten_exec(), rpt_call(), speech_background(), timeout_read(), and timeout_write().
Pickup group - which calls groups can be picked up?
Definition at line 448 of file channel.h.
Referenced by ast_pickup_call(), dahdi_new(), gtalk_new(), handle_showchan(), jingle_new(), mgcp_new(), read_config(), serialize_showchan(), sip_new(), skinny_new(), and unistim_new().
| int priority |
Dialplan: Current extension priority
Definition at line 471 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), action_coreshowchannels(), action_redirect(), action_status(), agent_new(), ast_bridge_call(), ast_explicit_goto(), ast_park_call_full(), async_wait(), bridge_exec(), builtin_atxfer(), dial_exec_full(), dialout(), do_bridge_masquerade(), do_idle_thread(), find_matching_endwhile(), forward_message(), gosub_exec(), gtalk_new(), handle_chanlist(), handle_gosub(), handle_showchan(), iax_park(), jingle_new(), leave_voicemail(), local_new(), log_exec(), make_email_file(), manage_parkinglot(), masq_park_call(), mgcp_new(), minivm_greet_exec(), misdn_new(), park_call_exec(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_raise_exception(), pbx_builtin_setvar_multiple(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_parseable_goto(), pbx_retrieve_variable(), priority_jump(), realtime_exec(), ring_entry(), rpt_call(), rpt_exec(), serialize_showchan(), set_c_e_p(), set_ext_pri(), setup_env(), sip_new(), sip_park(), skinny_new(), try_calling(), and unistim_new().
| int rawreadformat |
Raw read format
Definition at line 485 of file channel.h.
Referenced by __oh323_new(), agent_new(), ast_do_masquerade(), ast_iax2_new(), ast_rtp_bridge(), ast_set_read_format(), bridge_p2p_loop(), dahdi_new(), dahdi_read(), free_translation(), gtalk_new(), jingle_new(), local_new(), mgcp_new(), misdn_new(), nbs_new(), phone_setup(), serialize_showchan(), sip_new(), skinny_new(), and unistim_new().
| int rawwriteformat |
Raw write format
Definition at line 486 of file channel.h.
Referenced by __oh323_new(), agent_new(), ast_do_masquerade(), ast_iax2_new(), ast_prod(), ast_rtp_bridge(), ast_set_write_format(), ast_write(), bridge_p2p_loop(), conf_run(), dahdi_new(), free_translation(), gtalk_new(), jingle_new(), local_new(), mgcp_new(), misdn_new(), nbs_new(), serialize_showchan(), sip_new(), skinny_new(), and unistim_new().
| int readformat |
Requested read format
Definition at line 483 of file channel.h.
Referenced by __ast_play_and_record(), __oh323_new(), __oh323_update_info(), _ast_adsi_transmit_message_full(), agent_new(), alsa_new(), ast_async_goto(), ast_channel_bridge(), ast_channel_make_compatible_helper(), ast_do_masquerade(), ast_iax2_new(), ast_set_read_format(), background_detect_exec(), builtin_atxfer(), check_goto_on_transfer(), console_new(), dahdi_new(), dictate_exec(), do_bridge_masquerade(), do_waiting(), eagi_exec(), func_channel_read(), gtalk_new(), gtalk_rtp_read(), gtalk_show_channels(), gtalk_write(), handle_recordfile(), handle_showchan(), handle_speechrecognize(), iax2_request(), iax_park(), ices_exec(), isAnsweringMachine(), jingle_new(), jingle_rtp_read(), jingle_show_channels(), jingle_write(), local_new(), login_exec(), masq_park_call(), measurenoise(), mgcp_new(), mgcp_rtp_read(), mgcp_write(), misdn_new(), nbs_new(), oh323_rtp_read(), oh323_write(), oss_new(), process_sdp(), record_exec(), serialize_showchan(), setup_rtp_connection(), sip_new(), sip_park(), sip_rtp_read(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), socket_process(), speech_background(), start_rtp(), transmit_audio(), unistim_new(), unistim_rtp_read(), unistim_write(), and usbradio_new().
struct ast_trans_pvt* readtrans [read] |
Read translation path
Definition at line 420 of file channel.h.
Referenced by __ast_read(), ast_channel_free(), ast_set_read_format(), free_translation(), and handle_showchan().
| int rings |
Number of rings so far
Definition at line 470 of file channel.h.
Referenced by __oh323_new(), cb_events(), dahdi_handle_event(), dahdi_new(), dahdi_read(), gtalk_new(), handle_showchan(), jingle_new(), mgcp_new(), mgcp_ss(), misdn_new(), nbs_new(), phone_answer(), serialize_showchan(), sip_new(), skinny_new(), ss_thread(), and unistim_new().
struct sched_context* sched [read] |
Schedule context
Definition at line 413 of file channel.h.
Referenced by __ast_channel_alloc_ap(), ast_channel_free(), ast_closestream(), ast_hangup(), ast_readaudio_callback(), ast_readvideo_callback(), background_detect_exec(), dial_exec_full(), filestream_destructor(), handle_speechrecognize(), speech_background(), wait_for_winner(), and waitstream_core().
struct ast_filestream* stream [read] |
Stream itself.
Definition at line 414 of file channel.h.
Referenced by ast_closestream(), 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(), filestream_destructor(), gen_closestream(), handle_getoption(), handle_recordfile(), handle_speechrecognize(), handle_streamfile(), 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 465 of file channel.h.
Referenced by __ast_channel_alloc_ap(), ast_closestream(), ast_readaudio_callback(), filestream_destructor(), handle_speechrecognize(), and speech_background().
struct ast_channel_tech* tech [read] |
Technology (point to channel driver)
Definition at line 400 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_read(), __oh323_new(), acf_channel_read(), agent_indicate(), agent_new(), agent_read(), alsa_new(), ast_bridged_channel(), ast_call(), ast_channel_bridge(), ast_channel_early_bridge(), ast_channel_masquerade(), ast_channel_queryoption(), ast_channel_sendhtml(), ast_channel_setoption(), ast_channel_supports_html(), ast_do_masquerade(), ast_hangup(), ast_iax2_new(), ast_indicate_data(), ast_jb_do_usecheck(), ast_park_call_full(), ast_raw_answer(), ast_rtp_bridge(), ast_send_image(), ast_senddigit(), ast_senddigit_begin(), ast_senddigit_end(), ast_sendtext(), ast_supports_images(), ast_transfer(), ast_write(), ast_write_video(), cb_events(), conf_exec(), conf_run(), console_new(), dahdi_new(), dahdiras_exec(), dial_exec_full(), do_forward(), flash_exec(), func_channel_read(), func_channel_write(), 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(), nbs_new(), oss_new(), schedule_delivery(), sendtext_exec(), serialize_showchan(), setup_env(), sip_dtmfmode(), sip_hangup(), sip_new(), skinny_new(), softhangup_exec(), ss_thread(), transfer_exec(), try_calling(), unistim_new(), update_bridge_vars(), usbradio_new(), and wait_for_answer().
| void* tech_pvt |
Private data used by the technology driver
Definition at line 401 of file channel.h.
Referenced by __dahdi_exception(), __oh323_destroy(), __oh323_new(), __sip_destroy(), 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(), ast_channel_free(), ast_do_masquerade(), ast_generic_bridge(), ast_iax2_new(), ast_rtp_bridge(), ast_udptl_bridge(), bridge_native_loop(), bridge_p2p_loop(), 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_handle_dtmfup(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_read(), dahdi_send_keypad_facility_exec(), dahdi_sendtext(), dahdi_setoption(), dahdi_write(), destroy_dahdi_pvt(), dialog_unlink_all(), do_idle_thread(), func_header_read(), function_iaxpeer(), function_sipchaninfo_read(), get_video_desc(), gtalk_answer(), gtalk_call(), gtalk_digit(), gtalk_fixup(), gtalk_get_codec(), gtalk_get_rtp_peer(), gtalk_hangup(), gtalk_new(), gtalk_read(), 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_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_set_rtp_peer(), jingle_write(), local_answer(), local_bridgedchannel(), local_call(), local_digit_begin(), local_digit_end(), local_fixup(), local_hangup(), local_indicate(), local_new(), local_sendhtml(), local_sendtext(), local_write(), mgcp_answer(), mgcp_call(), mgcp_fixup(), 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(), misdn_new(), misdn_send_text(), 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(), sip_answer(), sip_call(), 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(), 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_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(), ss_thread(), unistim_answer(), unistim_call(), unistim_fixup(), unistim_get_rtp_peer(), unistim_hangup(), unistim_indicate(), unistim_new(), unistim_read(), unistim_set_rtp_peer(), 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 498 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __ast_queue_frame(), __ast_read(), ast_channel_free(), and ast_settimeout().
| void* timingdata |
Definition at line 417 of file channel.h.
Referenced by __ast_read(), and ast_settimeout().
| int timingfd |
Timing fd
Definition at line 468 of file channel.h.
Referenced by __ast_channel_alloc_ap(), __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 Capbility - AST_FLAG_DIGITAL is not enough
Definition at line 493 of file channel.h.
Referenced by __oh323_new(), begin_dial_channel(), cb_events(), dahdi_call(), dahdi_new(), dahdi_request(), dial_exec_full(), func_channel_read(), func_channel_write(), misdn_call(), and oh323_call().
| char unused_old_dtmfq[AST_MAX_EXTENSION] |
A linked list for channel variables. See Asterisk Dialplan Variables
Definition at line 446 of file channel.h.
Referenced by __ast_channel_alloc_ap(), ast_channel_free(), ast_channel_inherit_variables(), clearvar_prefix(), clone_variables(), hashkeys_read(), local_call(), lua_get_variable(), lua_get_variable_value(), mgcp_call(), ospauth_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), pbx_builtin_getvar_helper(), pbx_builtin_pushvar_helper(), pbx_builtin_serialize_variables(), pbx_builtin_setvar_helper(), pbx_retrieve_variable(), pbx_substitute_variables_helper(), pbx_substitute_variables_helper_full(), sip_call(), and transmit_invite().
Indication currently playing on the channel
Definition at line 491 of file channel.h.
Referenced by ast_bridge_call(), ast_do_masquerade(), ast_indicate_data(), ast_raw_answer(), and builtin_atxfer().
struct ast_filestream* vstream [read] |
Video Stream itself.
Definition at line 415 of file channel.h.
Referenced by ast_closestream(), ast_filehelper(), ast_hangup(), ast_openvstream(), ast_stopstream(), and filestream_destructor().
| int vstreamid |
For streaming video playback, the schedule ID
Definition at line 466 of file channel.h.
Referenced by ast_closestream(), ast_readvideo_callback(), and filestream_destructor().
struct timeval whentohangup [read] |
Non-zero, set to actual time when channel is to be hung up
Definition at line 441 of file channel.h.
Referenced by __ast_pbx_run(), ast_channel_cmpwhentohangup_tv(), ast_channel_setwhentohangup_tv(), ast_check_hangup(), begin_dial_channel(), dial_exec_full(), handle_showchan(), ring_entry(), rpt(), rpt_exec(), serialize_showchan(), timeout_read(), and timeout_write().
| int writeformat |
Requested write format
Definition at line 484 of file channel.h.
Referenced by __oh323_new(), __oh323_update_info(), _ast_adsi_transmit_message_full(), agent_new(), agent_write(), alsa_new(), ast_async_goto(), ast_channel_bridge(), 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(), builtin_atxfer(), chanspy_exec(), check_goto_on_transfer(), console_new(), dahdi_new(), do_bridge_masquerade(), extenspy_exec(), func_channel_read(), generator_force(), 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(), login_exec(), masq_park_call(), mgcp_new(), mgcp_rtp_read(), mgcp_write(), misdn_new(), moh_alloc(), moh_files_alloc(), mp3_exec(), nbs_new(), NBScat_exec(), oh323_rtp_read(), oh323_set_rtp_peer(), oh323_write(), oss_new(), playtones_alloc(), process_sdp(), send_waveform_to_channel(), serialize_showchan(), setup_rtp_connection(), sip_new(), sip_park(), sip_rtp_read(), 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 [read] |
Write translation path
Definition at line 419 of file channel.h.
Referenced by ast_channel_free(), ast_set_write_format(), ast_write(), free_translation(), and handle_showchan().
Tone zone as set in indications.conf or in the CHANNEL dialplan function
Definition at line 423 of file channel.h.
Referenced by ast_app_dtget(), ast_indicate_data(), dialtone_indicate(), enum_query_read(), func_channel_read(), func_channel_write(), function_enum(), function_txtcidname(), handle_playtones(), pbx_builtin_waitexten(), play_dialtone(), read_exec(), readexten_exec(), and skinny_transfer().
1.6.1