Mon Jun 18 2012 03:58:25

Asterisk developer's documentation


ast_channel Struct Reference

Main Channel structure associated with a channel. More...

#include <channel.h>

Collaboration diagram for ast_channel:

Data Structures

struct  autochans
struct  datastores

Data Fields

struct ast_string_field_mgr __field_mgr
struct ast_string_field_pool * __field_mgr_pool
struct ast_channel * _bridge
int _softhangup
enum ast_channel_state _state
const ast_string_field accountcode
enum ast_channel_adsicpe adsicpe
int alertpipe [2]
int amaflags
const char * appl
struct ast_audiohook_list * audiohooks
struct ast_channel::autochans autochans
pthread_t blocker
const char * blockproc
struct ast_bridge * bridge
const ast_string_field call_forward
struct ast_party_caller caller
 Channel Caller ID information.
ast_group_t callgroup
struct ast_cdr * cdr
struct ast_party_connected_line connected
 Channel Connected Line ID information.
char context [AST_MAX_CONTEXT]
const char * data
struct ast_channel::datastores datastores
const ast_string_field dialcontext
struct ast_party_dialed dialed
 Dialed/Called information.
struct timeval dtmf_tv
struct ast_frame dtmff
char emulate_dtmf_digit
unsigned int emulate_dtmf_duration
char exten [AST_MAX_EXTENSION]
int fdno
int fds [AST_MAX_FDS]
unsigned int fin
unsigned int flags
unsigned int fout
struct ast_framehook_list * framehooks
struct ast_generator * generator
void * generatordata
int hangupcause
const ast_string_field hangupsource
unsigned long insmpl
struct ast_jb jb
const ast_string_field language
const ast_string_field linkedid
char macrocontext [AST_MAX_CONTEXT]
char macroexten [AST_MAX_EXTENSION]
int macropriority
struct ast_channel * masq
struct ast_channel * masqr
struct ast_channel_monitor * monitor
void * music_state
const ast_string_field musicclass
const ast_string_field name
format_t nativeformats
format_t oldwriteformat
unsigned long outsmpl
const ast_string_field parkinglot
struct ast_pbx * pbx
const ast_string_field peeraccount
ast_group_t pickupgroup
int priority
format_t rawreadformat
format_t rawwriteformat
format_t readformat
struct {
   struct ast_frame *   first
   struct ast_frame *   last
} readq
struct ast_trans_pvt * readtrans
struct ast_party_redirecting redirecting
 Redirecting/Diversion information.
int rings
struct sched_context * sched
struct ast_filestream * stream
int streamid
struct ast_channel_tech * tech
void * tech_pvt
struct ast_timer * timer
void * timingdata
int timingfd
int(* timingfunc )(const void *data)
unsigned short transfercapability
const ast_string_field uniqueid
const ast_string_field userfield
struct varshead varshead
int visible_indication
struct ast_filestream * vstream
int vstreamid
struct timeval whentohangup
format_t writeformat
struct ast_trans_pvt * writetrans
struct ast_tone_zone * zone

Detailed Description

Main Channel structure associated with a channel.

Note:
XXX It is important to remember to increment .cleancount each time this structure is changed. XXX
When adding fields to this structure, it is important to add the field 'in position' with like-aligned fields, so as to keep the compiler from having to add padding to align fields. The structure's fields are sorted in this order: pointers, structures, long, int/enum, short, char. This is especially important on 64-bit architectures, where mixing 4-byte and 8-byte fields causes 4 bytes of padding to be added before many 8-byte fields.

Field Documentation

Definition at line 787 of file channel.h.

Default parking lot, if empty, default parking lot

Who is responsible for hanging up this channel

< Dial: Extension context that we were called from

Definition at line 787 of file channel.h.

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 748 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().

State of line -- Don't write directly, use ast_setstate()

Definition at line 839 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(), 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_send_callrerouting_facility_exec(), 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(), 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().

pthread_t blocker

If anyone is blocking, this is them

Definition at line 790 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 753 of file channel.h.

Referenced by serialize_showchan(), ast_hangup(), and handle_showchan().

Channel Caller ID information.

Note:
The caller id information is the caller id of this channel when it is used to initiate a call.

Definition at line 804 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(), setcallerid_pres_exec(), sms_exec(), gosub_exec(), handle_gosub(), background_detect_exec(), copy_message(), forward_message(), vm_authenticate(), find_matching_endwhile(), zapateller_exec(), dial_transfer(), 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(), __ast_channel_alloc_ap(), ast_channel_destructor(), ast_dummy_channel_destructor(), ast_hangup(), 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().

char context[AST_MAX_CONTEXT]

Dialplan: Current extension context

Definition at line 868 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(), 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().

Definition at line 787 of file channel.h.

struct timeval dtmf_tv

The time that an in process digit began, or the last digit ended

Definition at line 822 of file channel.h.

Referenced by should_skip_dtmf(), and __ast_read().

struct ast_frame dtmff

DTMF frame

Definition at line 816 of file channel.h.

Referenced by jingle_digit(), queue_dtmf_readq(), and __ast_read().

Digit being emulated

Definition at line 872 of file channel.h.

Referenced by __ast_read().

unsigned int emulate_dtmf_duration

Number of ms left to emulate DTMF for

Definition at line 857 of file channel.h.

Referenced by __ast_read().

char exten[AST_MAX_EXTENSION]

Dialplan: Current extension number

Definition at line 869 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(), 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(), handle_frame(), set_c_e_p(), park_call_full(), masq_park_call(), builtin_atxfer(), feature_request_and_dial(), 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().

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 845 of file channel.h.

Referenced by serialize_showchan(), __ast_channel_alloc_ap(), __ast_read(), channel_set_debug(), and handle_showchan().

struct ast_frame* first

Definition at line 820 of file channel.h.

unsigned int flags

channel flags of AST_FLAG_ type

Definition at line 850 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 847 of file channel.h.

Referenced by serialize_showchan(), __ast_channel_alloc_ap(), ast_write(), channel_set_debug(), and handle_showchan().

Definition at line 787 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 826 of file channel.h.

Referenced by __ast_read(), and ast_write().

Definition at line 787 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(), 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().

struct ast_frame* last

Definition at line 820 of file channel.h.

Macro: Current non-macro priority. See app_macro.c

Definition at line 842 of file channel.h.

Referenced by ast_var_channels_table(), _macro_exec(), park_call_full(), and masq_park_call().

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 769 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().

Definition at line 787 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(), 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_digit_begin(), dahdi_digit_end(), dahdi_call(), dahdi_send_callrerouting_facility_exec(), 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_thread(), 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(), dialog_unlink_all(), 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(), __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(), ast_masq_park_call_exten(), ast_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_mcid_event(), sig_pri_send_aoce_termination_request(), sig_pri_handle_subcmds(), pri_dchannel(), sig_pri_call(), sig_pri_indicate(), sig_pri_cli_show_channels(), ss7_start_call(), sig_ss7_indicate(), sig_ss7_cli_show_channels(), and ast_udptl_bridge().

Original writer format

Definition at line 837 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 827 of file channel.h.

Referenced by __ast_read(), and ast_write().

int streamid

For streaming playback, the schedule ID

Definition at line 835 of file channel.h.

Referenced by speech_background(), __ast_channel_alloc_ap(), filestream_close(), ast_readaudio_callback(), and handle_speechrecognize().

Technology (point to channel driver)

Definition at line 743 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_send_callrerouting_facility_exec(), dahdi_setoption(), dahdi_new(), analog_ss_thread(), dahdi_pri_cc_agent_init(), 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(), __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(), sip_acf_channel_read(), 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 744 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_send_callrerouting_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_pri_cc_agent_init(), 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(), dialog_unlink_all(), 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(), 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(), kill_hangup(), ast_channel_destructor(), ast_do_masquerade(), ast_generic_bridge(), sip_acf_channel_read(), 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().

struct ast_timer* timer

timer object that provided timingfd

Definition at line 866 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 760 of file channel.h.

Referenced by ast_settimeout(), and __ast_read().

Definition at line 787 of file channel.h.

Referenced by ast_cel_report_event(), and func_channel_read().

Indication currently playing on the channel

Definition at line 861 of file channel.h.

Referenced by dial_exec_full(), ast_indicate_data(), ast_do_masquerade(), builtin_atxfer(), and ast_bridge_call().

Video Stream itself.

Definition at line 758 of file channel.h.

Referenced by ast_hangup(), ast_stopstream(), filestream_close(), ast_filehelper(), and ast_openvstream().

int vstreamid

For streaming video playback, the schedule ID

Definition at line 836 of file channel.h.

Referenced by filestream_close(), and ast_readvideo_callback().

Requested write format (after translation)

Definition at line 854 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(), ast_channel_data_add_structure(), generator_force(), ast_read_generator_actions(), ast_write(), 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().


The documentation for this struct was generated from the following file: