Sat Feb 11 06:37:25 2012

Asterisk developer's documentation


ast_channel Struct Reference

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

#include <channel.h>

Collaboration diagram for ast_channel:

Collaboration graph
[legend]

Data Fields

const ast_string_field __do_not_use_accountcode
const ast_string_field __do_not_use_call_forward
const ast_string_field __do_not_use_dialcontext
const ast_string_field __do_not_use_hangupsource
const ast_string_field __do_not_use_language
const ast_string_field __do_not_use_linkedid
const ast_string_field __do_not_use_musicclass
const ast_string_field __do_not_use_name
const ast_string_field __do_not_use_parkinglot
const ast_string_field __do_not_use_peeraccount
const ast_string_field __do_not_use_uniqueid
const ast_string_field __do_not_use_userfield
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
enum ast_channel_adsicpe adsicpe
int alertpipe [2]
int amaflags
const char * appl
struct ast_audiohook_listaudiohooks
struct ast_channel::autochans autochans
pthread_t blocker
const char * blockproc
struct ast_bridgebridge
struct ast_party_caller caller
 Channel Caller ID information.
ast_group_t callgroup
struct ast_cdrcdr
struct ast_party_connected_line connected
 Channel Connected Line ID information.
char context [AST_MAX_CONTEXT]
const char * data
struct ast_channel::datastores datastores
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_listframehooks
struct ast_generatorgenerator
void * generatordata
int hangupcause
unsigned long insmpl
struct ast_jb jb
char macrocontext [AST_MAX_CONTEXT]
char macroexten [AST_MAX_EXTENSION]
int macropriority
struct ast_channelmasq
struct ast_channelmasqr
struct ast_channel_monitormonitor
void * music_state
struct ast_format_capnativeformats
struct ast_format oldwriteformat
unsigned long outsmpl
struct ast_pbxpbx
ast_group_t pickupgroup
int priority
struct ast_format rawreadformat
struct ast_format rawwriteformat
struct ast_format readformat
struct {
   struct ast_frame *   first
   struct ast_frame *   last
readq
struct ast_trans_pvtreadtrans
struct ast_party_redirecting redirecting
 Redirecting/Diversion information.
int rings
struct ast_sched_contextsched
struct ast_filestreamstream
int streamid
struct ast_channel_techtech
void * tech_pvt
struct ast_timertimer
void * timingdata
int timingfd
int(* timingfunc )(const void *data)
unsigned short transfercapability
struct varshead varshead
int visible_indication
struct ast_filestreamvstream
int vstreamid
struct timeval whentohangup
struct ast_format writeformat
struct ast_trans_pvtwritetrans
struct ast_tone_zonezone

Data Structures

struct  autochans
struct  datastores

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.

Definition at line 777 of file channel.h.


Field Documentation

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

Definition at line 822 of file channel.h.

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

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

Referenced by __ast_channel_masquerade(), action_agents(), action_status(), agent_bridgedchannel(), agent_hangup(), agent_read(), ast_bridged_channel(), ast_channel_bridge(), ast_channel_set_linkgroup(), ast_do_masquerade(), ast_generic_bridge(), check_bridge(), handle_showchan(), local_bridgedchannel(), local_fixup(), serialize_showchan(), and unistim_info().

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

Definition at line 874 of file channel.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), __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(), analog_answer(), analog_attempt_transfer(), analog_available(), analog_call(), analog_exception(), analog_hangup(), analog_ss_thread(), app_exec(), ast_async_goto(), ast_bridge_call(), ast_can_pickup(), ast_cdr_init(), ast_channel_data_add_structure(), ast_control_streamfile(), ast_do_masquerade(), ast_indicate_data(), ast_parse_device_state(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_prod(), ast_quiet_chan(), ast_raw_answer(), ast_setstate(), ast_var_channels_table(), async_wait(), attempt_transfer(), auth_exec(), background_detect_exec(), bridge_exec(), builtin_atxfer(), builtin_parkcall(), can_write(), check_goto_on_transfer(), common_exec(), conf_exec(), confbridge_exec(), count_exec(), dahdi_bridge(), dahdi_call(), 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(), feature_request_and_dial(), func_channel_read(), gtalk_call(), handle_answer(), handle_callforward_button(), handle_channelstatus(), handle_invite_replaces(), handle_keypad_button_message(), handle_message(), handle_onhook_message(), handle_request(), handle_request_invite(), handle_response(), handle_showchan(), handle_soft_key_event_message(), handle_stimulus_message(), handle_transfer_button(), iax2_call(), ices_exec(), jingle_call(), login_exec(), mgcp_answer(), mgcp_call(), minivm_accmess_exec(), minivm_greet_exec(), minivm_record_exec(), misdn_call(), misdn_hangup(), nbs_call(), nbs_xwrite(), oh323_answer(), oh323_call(), oh323_indicate(), old_milliwatt_exec(), oss_read(), park_call_exec(), parkandannounce_exec(), parked_call_exec(), pbx_builtin_answer(), pbx_builtin_background(), pbx_builtin_busy(), pbx_builtin_congestion(), pbx_builtin_incomplete(), phone_call(), phone_exception(), phone_write(), playback_exec(), privacy_exec(), read_exec(), readexten_exec(), receivefax_exec(), record_exec(), release_chan(), release_chan_early(), rpt(), rpt_exec(), sayunixtime_exec(), send_waveform_to_channel(), sendfax_exec(), serialize_showchan(), setsubstate(), sip_answer(), sip_call(), sip_hangup(), sip_indicate(), sip_read(), sip_sendhtml(), sip_set_rtp_peer(), sip_transfer(), sip_write(), skel_exec(), skinny_call(), skinny_set_rtp_peer(), skinny_ss(), skinny_transfer(), speech_background(), testclient_exec(), testserver_exec(), transmit(), try_calling(), unistim_answer(), unistim_call(), unistim_indicate(), update_connectedline(), usbradio_read(), vm_exec(), vm_execmain(), wait_for_answer(), waitfor_exec(), and zapateller_exec().

int alertpipe[2]

int amaflags

const char* appl

pthread_t blocker

If anyone is blocking, this is them

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

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

struct ast_bridge* bridge [read]

struct ast_party_caller caller [read]

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

Referenced by __analog_handle_event(), __analog_ss_thread(), __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(), agentmonitoroutgoing_exec(), analog_ss_thread(), app_exec(), ast_app_dtget(), ast_bridge_call(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_destructor(), ast_channel_set_caller(), ast_channel_set_caller_event(), ast_do_masquerade(), ast_do_pickup(), ast_dummy_channel_destructor(), ast_hangup(), ast_iax2_new(), ast_set_callerid(), ast_setstate(), ast_str_retrieve_variable(), ast_var_channels_table(), background_detect_exec(), begin_dial_channel(), blacklist_read(), builtin_atxfer(), builtin_automixmonitor(), builtin_automonitor(), callerid_read(), callerid_write(), callerpres_read(), callerpres_write(), cb_events(), cc_generic_agent_init(), check_bridge(), collect_digits(), conf_run(), console_call(), console_transfer(), copy_message(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), dial_transfer(), dial_trunk(), disa_exec(), do_forward(), do_immediate_setup(), fax_detect_framehook(), feature_request_and_dial(), find_matching_endwhile(), findmeexec(), forward_message(), gosub_exec(), gtalk_new(), handle_cli_misdn_show_channels(), handle_gosub(), handle_setpriority(), handle_showchan(), isAnsweringMachine(), isexten_function_read(), jingle_new(), join_queue(), leave_voicemail(), local_call(), local_indicate(), manager_bridge_event(), manager_parking_status(), manager_queues_status(), meetme_show_cmd(), mgcp_hangup(), mgcp_ss(), minivm_greet_exec(), minivm_notify_exec(), misdn_call(), misdn_hangup(), misdn_new(), misdn_update_caller_id(), misdn_write(), my_handle_dtmf(), ospauth_exec(), osplookup_exec(), oss_call(), oss_new(), park_call_full(), parkandannounce_exec(), parked_call_exec(), pbx_builtin_background(), pbx_builtin_waitexten(), pbx_parseable_goto(), phase_e_handler(), post_manager_event(), print_bc_info(), privacy_exec(), process_ast_dsp(), push_callinfo(), queue_exec(), readexten_exec(), release_chan(), report_new_callerid(), ring_entry(), rpt_call(), rpt_exec(), run_externnotify(), send_callinfo(), send_join_event(), send_leave_event(), senddialevent(), serialize_showchan(), set_one_cid(), setcallerid_pres_exec(), setup_env(), setup_privacy_args(), sip_call(), sip_new(), sip_read(), skinny_new(), skinny_newcall(), skinny_ss(), sla_ring_station(), sms_exec(), socket_process(), state_notify_build_xml(), try_calling(), unistim_new(), update_connectedline(), usbradio_new(), valid_exit(), vm_authenticate(), wait_for_answer(), waitstream_core(), write_metadata(), and zapateller_exec().

struct ast_cdr* cdr [read]

char context[AST_MAX_CONTEXT]

Dialplan: Current extension context

Definition at line 903 of file channel.h.

Referenced by __analog_ss_thread(), __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_dialplan_exec(), action_status(), agent_new(), alsa_new(), analog_ss_thread(), ast_add_extension2_lockopt(), ast_async_goto(), ast_bridge_call(), ast_call_forward(), ast_cc_call_init(), ast_cdr_init(), ast_cdr_update(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_by_exten_cb(), ast_explicit_goto(), ast_iax2_new(), ast_pbx_outgoing_exten(), ast_str_retrieve_variable(), ast_var_channels_table(), ast_waitstream_exten(), async_wait(), background_detect_exec(), bridge_exec(), builtin_atxfer(), cc_generic_agent_init(), cc_interfaces_datastore_init(), check_availability(), collect_digits(), common_exec(), conf_run(), console_transfer(), dahdi_handle_dtmf(), dahdi_new(), dial_exec_full(), dialout(), do_bridge_masquerade(), do_forward(), do_immediate_setup(), do_notify(), extenspy_exec(), fax_detect_framehook(), feature_attended_transfer(), feature_blind_transfer(), find_calling_channel(), find_matching_endwhile(), forward_message(), func_channel_read(), generic_recall(), get_cid_name(), get_refer_info(), gosub_exec(), goto_exten(), gtalk_new(), handle_gosub(), handle_request_bye(), handle_setcontext(), handle_setpriority(), handle_showchan(), iax2_call(), iax_park(), jingle_new(), leave_voicemail(), local_call(), local_new(), log_exec(), lua_pbx_exec(), manage_parked_call(), masq_park_call(), mgcp_ss(), minivm_greet_exec(), misdn_call(), misdn_hangup(), my_distinctive_ring(), my_handle_dtmf(), nbs_new(), onedigit_goto(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_setvar_multiple(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_parseable_goto(), pickup_exec(), print_bc_info(), priority_jump(), process_ast_dsp(), queue_transfer_fixup(), raise_exception(), read_config(), readexten_exec(), real_ctx(), realtime_exec(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), serialize_showchan(), set_c_e_p(), setsubstate(), setup_env(), sip_new(), sip_park(), sip_read(), skinny_new(), skinny_newcall(), skinny_ss(), try_calling(), vm_authenticate(), vm_execmain(), vmauthenticate(), and wait_for_answer().

const char* data

struct ast_party_dialed dialed [read]

struct timeval dtmf_tv [read]

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

Definition at line 857 of file channel.h.

Referenced by __ast_read(), and should_skip_dtmf().

struct ast_frame dtmff [read]

DTMF frame

Definition at line 851 of file channel.h.

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

Digit being emulated

Definition at line 907 of file channel.h.

Referenced by __ast_read().

unsigned int emulate_dtmf_duration

Number of ms left to emulate DTMF for

Definition at line 892 of file channel.h.

Referenced by __ast_read().

char exten[AST_MAX_EXTENSION]

Dialplan: Current extension number

Definition at line 904 of file channel.h.

Referenced by __analog_ss_thread(), __ast_channel_alloc_ap(), __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), action_coreshowchannels(), action_dialplan_exec(), action_status(), agent_new(), alsa_new(), analog_ss_thread(), ast_add_extension2_lockopt(), ast_async_goto(), ast_bridge_call(), ast_cc_call_init(), ast_cdr_init(), ast_cdr_update(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_by_exten_cb(), ast_explicit_goto(), ast_iax2_new(), ast_str_retrieve_variable(), ast_var_channels_table(), async_wait(), bridge_exec(), builtin_atxfer(), cb_events(), cc_generic_agent_init(), cc_interfaces_datastore_init(), dahdi_handle_dtmf(), dahdi_new(), dial_exec_full(), dialout(), do_bridge_masquerade(), do_forward(), do_immediate_setup(), do_notify(), dundi_exec(), dundi_helper(), fax_detect_framehook(), feature_request_and_dial(), find_calling_channel(), find_matching_endwhile(), forward_message(), func_channel_read(), generic_recall(), get_cid_name(), gosub_exec(), gtalk_new(), handle_cli_misdn_show_channels(), handle_frame(), handle_gosub(), handle_request_invite(), handle_setextension(), handle_setpriority(), handle_showchan(), iax_park(), jingle_new(), leave_voicemail(), local_call(), local_new(), log_exec(), lua_pbx_exec(), manage_parked_call(), masq_park_call(), mgcp_ss(), minivm_greet_exec(), misdn_bridge(), misdn_call(), misdn_digit_end(), misdn_hangup(), misdn_new(), misdn_overlap_dial_task(), misdn_update_redirecting(), misdn_write(), my_handle_dtmf(), nbs_new(), ospauth_exec(), park_call_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_setvar_multiple(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_parseable_goto(), phase_e_handler(), print_bc_info(), priority_jump(), process_ast_dsp(), queue_transfer_fixup(), raise_exception(), read_config(), realtime_exec(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), select_entry(), serialize_showchan(), set_c_e_p(), set_ext_pri(), setsubstate(), setup_env(), setup_privacy_args(), sip_new(), sip_park(), sip_read(), skinny_new(), skinny_newcall(), try_calling(), unistim_ss(), and wait_for_answer().

int fdno

int fds[AST_MAX_FDS]

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

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

struct ast_frame* first [read]

Definition at line 855 of file channel.h.

unsigned int flags

channel flags of AST_FLAG_ type

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

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

struct ast_generator* generator [read]

unsigned long insmpl

Track the read/written samples for monitor use

Definition at line 861 of file channel.h.

Referenced by __ast_read(), and ast_write().

struct ast_jb jb [read]

struct ast_frame* last [read]

Definition at line 855 of file channel.h.

char macrocontext[AST_MAX_CONTEXT]

char macroexten[AST_MAX_EXTENSION]

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

Definition at line 877 of file channel.h.

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

struct ast_channel* masq [read]

struct ast_channel* masqr [read]

struct ast_channel_monitor* monitor [read]

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

Referenced by __agent_start_monitoring(), __ast_read(), ast_channel_bridge(), ast_channel_destructor(), ast_do_masquerade(), ast_monitor_change_fname(), ast_monitor_set_state(), ast_monitor_setjoinfiles(), ast_monitor_start(), ast_monitor_stop(), ast_write(), builtin_automonitor(), check_bridge(), conf_run(), local_bridge_loop(), and remote_bridge_loop().

void* music_state

struct ast_format_cap* nativeformats [read]

struct ast_format oldwriteformat [read]

Original writer format

Definition at line 872 of file channel.h.

Referenced by ast_channel_data_add_structure(), ast_openstream_full(), and ast_stopstream().

unsigned long outsmpl

Track the read/written samples for monitor use

Definition at line 862 of file channel.h.

Referenced by __ast_read(), and ast_write().

struct ast_pbx* pbx [read]

int priority

struct ast_format rawreadformat [read]

struct ast_format rawwriteformat [read]

struct ast_format readformat [read]

Requested read format (after translation)

Definition at line 888 of file channel.h.

Referenced by __ast_play_and_record(), __oh323_new(), __oh323_update_info(), agent_new(), alsa_new(), ast_adsi_transmit_message_full(), ast_async_goto(), ast_channel_bridge(), ast_channel_data_add_structure(), ast_channel_make_compatible_helper(), ast_do_masquerade(), ast_iax2_new(), ast_set_read_format(), ast_set_read_format_by_id(), ast_set_read_format_from_cap(), background_detect_exec(), bridge_channel_join(), bridge_make_compatible(), bridge_request(), builtin_atxfer(), check_goto_on_transfer(), console_new(), dahdi_new(), dictate_exec(), do_bridge_masquerade(), do_notify(), do_waiting(), eagi_exec(), fax_detect_framehook(), fax_gateway_framehook(), func_channel_read(), generic_fax_exec(), 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_rtp_read(), mgcp_write(), misdn_new(), multicast_rtp_request(), multiplexed_bridge_join(), nbs_new(), oh323_rtp_read(), oh323_write(), oss_new(), rec_request(), record_exec(), serialize_showchan(), setup_rtp_connection(), simple_bridge_join(), sip_new(), sip_park(), 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 { ... } readq

struct ast_trans_pvt* readtrans [read]

int rings

struct ast_sched_context* sched [read]

struct ast_filestream* stream [read]

int streamid

For streaming playback, the schedule ID

Definition at line 870 of file channel.h.

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

struct ast_channel_tech* tech [read]

Technology (point to channel driver)

Definition at line 778 of file channel.h.

Referenced by __analog_ss_thread(), __ast_channel_alloc_ap(), __ast_channel_masquerade(), __ast_read(), __oh323_new(), acf_channel_read(), agent_indicate(), agent_new(), agent_read(), alsa_new(), analog_ss_thread(), ast_bridged_channel(), ast_call(), ast_channel_bridge(), ast_channel_early_bridge(), ast_channel_make_compatible_helper(), ast_channel_queryoption(), ast_channel_sendhtml(), ast_channel_setoption(), ast_channel_supports_html(), ast_do_masquerade(), ast_hangup(), ast_iax2_new(), ast_indicate_data(), ast_jb_do_usecheck(), ast_raw_answer(), ast_rtp_dtmf_compatible(), ast_rtp_instance_bridge(), ast_rtp_instance_early_bridge(), ast_rtp_instance_early_bridge_make_compatible(), ast_rtp_instance_make_compatible(), ast_send_image(), ast_senddigit(), ast_senddigit_begin(), ast_senddigit_end(), ast_sendtext(), ast_supports_images(), ast_transfer(), ast_var_channel_types_table(), ast_var_channels_table(), ast_write(), ast_write_video(), bridge_request(), cb_events(), conf_run(), console_new(), create_msg_q_chan(), dahdi_new(), dahdi_setoption(), dahdiras_exec(), dial_exec_full(), do_forward(), do_notify(), flash_exec(), func_channel_read(), func_channel_write_real(), func_header_read(), function_iaxpeer(), function_sipchaninfo_read(), get_proto(), gtalk_new(), handle_request_bye(), handle_showchan(), iax2_bridge(), iax2_prov_app(), jingle_new(), local_new(), misdn_facility_exec(), misdn_new(), misdn_set_opt_exec(), multicast_rtp_request(), nbs_new(), oss_new(), park_call_full(), play_sound_helper(), rec_request(), remote_bridge_loop(), schedule_delivery(), sendtext_exec(), serialize_showchan(), setup_env(), sip_acf_channel_read(), sip_cc_agent_init(), sip_dtmfmode(), sip_hangup(), sip_new(), skinny_new(), softhangup_exec(), 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 779 of file channel.h.

Referenced by __analog_ss_thread(), __dahdi_exception(), __oh323_destroy(), __oh323_new(), acf_channel_read(), agent_bridgedchannel(), agent_call(), agent_cleanup(), agent_digit_begin(), agent_digit_end(), agent_fixup(), agent_get_base_channel(), agent_hangup(), agent_indicate(), agent_new(), agent_read(), agent_sendhtml(), agent_sendtext(), agent_set_base_channel(), agent_start_monitoring(), agent_write(), alsa_fixup(), alsa_hangup(), alsa_new(), analog_hangup(), analog_ss_thread(), ast_channel_destructor(), ast_do_masquerade(), ast_generic_bridge(), ast_iax2_new(), ast_rtp_instance_bridge(), ast_udptl_bridge(), bridge_bridgedchannel(), bridge_call(), bridge_hangup(), bridge_request(), bridge_write(), channel_to_session(), console_answer(), console_call(), console_fixup(), console_hangup(), console_indicate(), console_new(), console_write(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_callwait(), dahdi_digit_begin(), dahdi_digit_end(), dahdi_exception(), dahdi_fixup(), dahdi_func_read(), dahdi_func_write(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_queryoption(), dahdi_read(), dahdi_sendtext(), dahdi_setoption(), dahdi_write(), destroy_dahdi_pvt(), dialog_unlink_all(), func_header_read(), function_iaxpeer(), function_sipchaninfo_read(), get_video_desc(), gtalk_answer(), gtalk_call(), gtalk_digit_begin(), gtalk_digit_end(), gtalk_fixup(), gtalk_get_codec(), gtalk_get_rtp_peer(), gtalk_hangup(), gtalk_new(), gtalk_read(), gtalk_sendtext(), gtalk_set_rtp_peer(), gtalk_write(), handle_enbloc_call_message(), handle_invite_replaces(), handle_offhook_message(), handle_request_bye(), handle_soft_key_event_message(), handle_stimulus_message(), handle_transfer_button(), iax2_answer(), iax2_bridge(), iax2_call(), iax2_digit_begin(), iax2_digit_end(), iax2_fixup(), iax2_hangup(), iax2_indicate(), iax2_predestroy(), iax2_prov_app(), iax2_queryoption(), iax2_sendhtml(), iax2_sendimage(), iax2_sendtext(), iax2_setoption(), iax2_transfer(), iax2_write(), jingle_answer(), jingle_call(), jingle_digit(), jingle_fixup(), jingle_get_codec(), jingle_get_rtp_peer(), jingle_hangup(), jingle_new(), jingle_read(), jingle_sendtext(), jingle_set_rtp_peer(), jingle_write(), kill_hangup(), local_answer(), local_bridge_loop(), local_bridgedchannel(), local_call(), local_digit_begin(), local_digit_end(), local_fixup(), local_hangup(), local_indicate(), local_new(), local_queryoption(), local_sendhtml(), local_sendtext(), local_setoption(), local_write(), manager_optimize_away(), mgcp_answer(), mgcp_call(), mgcp_fixup(), mgcp_get_codec(), mgcp_get_rtp_peer(), mgcp_hangup(), mgcp_indicate(), mgcp_read(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_set_rtp_peer(), mgcp_ss(), mgcp_write(), multicast_rtp_call(), multicast_rtp_hangup(), multicast_rtp_request(), multicast_rtp_write(), my_get_sigpvt_bridged_channel(), 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(), remote_bridge_loop(), sip_acf_channel_read(), sip_answer(), sip_call(), sip_cc_agent_init(), sip_dtmfmode(), sip_fixup(), sip_get_callid(), sip_get_codec(), sip_get_rtp_peer(), sip_get_trtp_peer(), sip_get_udptl_peer(), sip_get_vrtp_peer(), sip_hangup(), sip_indicate(), sip_new(), sip_park_thread(), sip_queryoption(), sip_read(), sip_senddigit_begin(), sip_senddigit_end(), sip_sendhtml(), sip_sendtext(), sip_set_rtp_peer(), sip_set_udptl_peer(), sip_setoption(), sip_transfer(), sip_write(), skinny_answer(), skinny_call(), skinny_fixup(), skinny_get_rtp_peer(), skinny_get_vrtp_peer(), skinny_hangup(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_read(), skinny_request(), skinny_senddigit_end(), skinny_set_rtp_peer(), skinny_ss(), skinny_write(), unistim_answer(), unistim_call(), unistim_fixup(), unistim_get_rtp_peer(), unistim_hangup(), unistim_indicate(), unistim_new(), unistim_read(), unistim_ss(), unistim_write(), usbradio_answer(), usbradio_call(), usbradio_fixup(), usbradio_hangup(), usbradio_indicate(), usbradio_new(), usbradio_read(), and usbradio_write().

struct ast_timer* timer [read]

timer object that provided timingfd

Definition at line 901 of file channel.h.

Referenced by __ast_channel_alloc_ap(), __ast_queue_frame(), __ast_read(), ast_channel_destructor(), and ast_settimeout().

void* timingdata

Definition at line 795 of file channel.h.

Referenced by __ast_read(), and ast_settimeout().

int timingfd

int(* timingfunc)(const void *data)

unsigned short transfercapability

struct varshead varshead [read]

Indication currently playing on the channel

Definition at line 896 of file channel.h.

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

struct ast_filestream* vstream [read]

Video Stream itself.

Definition at line 793 of file channel.h.

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

int vstreamid

For streaming video playback, the schedule ID

Definition at line 871 of file channel.h.

Referenced by ast_readvideo_callback(), and filestream_close().

struct timeval whentohangup [read]

struct ast_format writeformat [read]

Requested write format (after translation)

Definition at line 889 of file channel.h.

Referenced by __oh323_new(), __oh323_update_info(), agent_new(), agent_write(), alsa_new(), ast_adsi_transmit_message_full(), ast_async_goto(), ast_channel_bridge(), ast_channel_data_add_structure(), ast_channel_make_compatible_helper(), ast_channel_start_silence_generator(), ast_do_masquerade(), ast_iax2_new(), ast_openstream_full(), ast_read_generator_actions(), ast_set_write_format(), ast_set_write_format_by_id(), ast_set_write_format_from_cap(), ast_streamfile(), ast_write(), bridge_channel_join(), bridge_make_compatible(), bridge_request(), builtin_atxfer(), chanspy_exec(), check_goto_on_transfer(), console_new(), dahdi_new(), dahdiscan_exec(), do_bridge_masquerade(), do_notify(), extenspy_exec(), filehelper(), func_channel_read(), generator_force(), generic_fax_exec(), gtalk_new(), gtalk_rtp_read(), gtalk_show_channels(), gtalk_write(), handle_showchan(), iax2_request(), iax_park(), jingle_new(), jingle_rtp_read(), jingle_show_channels(), jingle_write(), linear_alloc(), local_new(), login_exec(), masq_park_call(), mgcp_rtp_read(), mgcp_write(), misdn_new(), moh_alloc(), moh_files_alloc(), moh_files_write_format_change(), mp3_exec(), multicast_rtp_request(), multiplexed_bridge_join(), nbs_new(), NBScat_exec(), oh323_rtp_read(), oh323_set_rtp_peer(), oh323_write(), oss_new(), playtones_alloc(), rec_request(), send_waveform_to_channel(), serialize_showchan(), setup_rtp_connection(), simple_bridge_join(), sip_new(), sip_park(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), start_rtp(), tonepair_alloc(), transmit_audio(), unistim_new(), unistim_rtp_read(), unistim_write(), and usbradio_new().

struct ast_trans_pvt* writetrans [read]

struct ast_tone_zone* zone [read]


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

Generated on Sat Feb 11 06:37:25 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6