Sat Aug 6 00:40:07 2011

Asterisk developer's documentation


ast_channel Struct Reference

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>


Data Fields

ast_string_field __begin_field [0]
ast_string_field __end_field [0]
ast_string_field_mgr __field_mgr
ast_channel_bridge
 Who are we bridged to, if we're bridged. Who is proxying for us, if we are proxied (i.e. chan_agent). Do not access directly, use ast_bridged_channel(chan).
int _softhangup
 Whether or not we have been hung up... Do not set this value directly, use ast_softhangup.
enum ast_channel_state _state
const ast_string_field accountcode
enum ast_channel_adsicpe adsicpe
int alertpipe [2]
int amaflags
const char * appl
ast_audiohook_listaudiohooks
pthread_t blocker
const char * blockproc
const ast_string_field call_forward
ast_group_t callgroup
ast_cdrcdr
int cdrflags
struct {
   ast_channel *   next
chan_list
ast_callerid cid
char context [AST_MAX_CONTEXT]
const char * data
ast_channel::datastores datastores
 Data stores on the channel.
char dialcontext [AST_MAX_CONTEXT]
timeval dtmf_tv
ast_frame dtmff
char emulate_dtmf_digit
unsigned int emulate_dtmf_duration
char exten [AST_MAX_EXTENSION]
int fdno
int fds [AST_MAX_FDS]
 File descriptor for channel -- Drivers will poll on these file descriptors, so at least one must be non -1.
unsigned int fin
unsigned int flags
unsigned int fout
ast_generatorgenerator
void * generatordata
int hangupcause
unsigned long insmpl
ast_jb jb
const ast_string_field language
ast_mutex_t lock
char macrocontext [AST_MAX_CONTEXT]
char macroexten [AST_MAX_EXTENSION]
int macropriority
ast_channelmasq
ast_channelmasqr
ast_channel_monitormonitor
void * music_state
const ast_string_field musicclass
const ast_string_field name
int nativeformats
int oldwriteformat
unsigned long outsmpl
ast_pbxpbx
ast_group_t pickupgroup
int priority
int rawreadformat
int rawwriteformat
int readformat
struct {
   ast_frame *   first
   ast_frame *   last
readq
ast_trans_pvtreadtrans
int rings
sched_contextsched
ast_filestreamstream
int streamid
ast_channel_techtech
 Technology (point to channel driver).
void * tech_pvt
 Private data used by the technology driver.
void * timingdata
int timingfd
int(* timingfunc )(const void *data)
unsigned short transfercapability
const ast_string_field uniqueid
void * unused
char unused_old_dtmfq [AST_MAX_EXTENSION]
varshead varshead
int visible_indication
ast_filestreamvstream
int vstreamid
time_t whentohangup
int writeformat
ast_trans_pvtwritetrans
tone_zonezone

Data Structures

struct  datastores
 Data stores on the channel. More...


Detailed Description

Main Channel structure associated with a channel. This is the side of it mostly used by the pbx and call management.

Note:
XXX It is important to remember to increment .cleancount each time this structure is changed. XXX

Definition at line 360 of file channel.h.


Field Documentation

ast_string_field __begin_field[0]

Definition at line 374 of file channel.h.

ast_string_field __end_field[0]

Definition at line 374 of file channel.h.

struct ast_string_field_mgr __field_mgr

Definition at line 374 of file channel.h.

struct ast_channel* _bridge

Who are we bridged to, if we're bridged. Who is proxying for us, if we are proxied (i.e. chan_agent). Do not access directly, use ast_bridged_channel(chan).

Definition at line 386 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(), check_bridge(), handle_showchan(), handle_showchan_deprecated(), and local_fixup().

int _softhangup

Whether or not we have been hung up... Do not set this value directly, use ast_softhangup.

Definition at line 393 of file channel.h.

Referenced by __ast_pbx_run(), __ast_read(), __oh323_update_info(), __sip_destroy(), _macro_exec(), agi_exec(), ast_autoservice_stop(), ast_channel_bridge(), ast_channel_clear_softhangup(), ast_check_hangup(), ast_do_masquerade(), ast_dsp_process(), ast_queue_hangup(), ast_softhangup_nolock(), ast_waitfor_nandfds(), ast_write(), attempt_transfer(), autoservice_run(), check_bridge(), cleanup_connection(), collect_digits(), conf_play(), dahdi_handle_event(), dahdi_indicate(), dahdi_r2_on_call_disconnect(), dahdi_r2_on_protocol_error(), dundi_lookup_internal(), eagi_exec(), hangup_connection(), ospfinished_exec(), pri_dchannel(), run_ras(), and waitstream_core().

enum ast_channel_state _state

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

Definition at line 413 of file channel.h.

Referenced by __ast_read(), __ast_request_and_dial(), __login_exec(), action_status(), add_header_offhook(), agent_hangup(), agent_read(), agi_exec_full(), alarmreceiver_exec(), alsa_read(), app_exec(), ast_answer(), ast_async_goto(), ast_bridge_call(), ast_cdr_init(), ast_control_streamfile(), ast_do_masquerade(), ast_indicate_data(), ast_parse_device_state(), ast_pbx_outgoing_exten(), ast_pickup_call(), ast_prod(), ast_quiet_chan(), ast_setstate(), async_wait(), attempt_transfer(), auth_exec(), available(), background_detect_exec(), builtin_atxfer(), builtin_parkcall(), can_pickup(), can_write(), check_goto_on_transfer(), common_exec(), conf_exec(), count_exec(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_digit_begin(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_r2_on_call_disconnect(), dahdi_read(), directory_exec(), disa_exec(), exec(), feature_request_and_dial(), func_channel_read(), gtalk_call(), handle_answer(), handle_chanlist(), handle_chanlist_deprecated(), handle_channelstatus(), handle_invite_replaces(), handle_keypad_button_message(), handle_message(), handle_request(), handle_request_invite(), handle_response_invite(), handle_showchan(), handle_showchan_deprecated(), iax2_call(), ices_exec(), local_attended_transfer(), mgcp_answer(), mgcp_call(), misdn_call(), misdn_hangup(), nbs_call(), nbs_xwrite(), oh323_answer(), oh323_call(), oh323_indicate(), old_milliwatt_exec(), oss_read(), park_call_exec(), park_exec(), parkandannounce_exec(), pbx_builtin_answer(), pbx_builtin_background(), pbx_builtin_busy(), pbx_builtin_congestion(), phone_call(), phone_exception(), phone_write(), playback_exec(), privacy_exec(), read_exec(), rpt(), sayunixtime_exec(), send_waveform_to_channel(), serialize_showchan(), sip_answer(), sip_call(), sip_hangup(), sip_indicate(), sip_read(), sip_set_rtp_peer(), sip_transfer(), sip_write(), skel_exec(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_ss(), speech_background(), ss_thread(), testclient_exec(), testserver_exec(), try_calling(), vm_exec(), vm_execmain(), wait_for_answer(), and zapateller_exec().

const ast_string_field accountcode

Definition at line 374 of file channel.h.

Referenced by action_status(), ast_async_goto(), ast_bridge_call(), ast_call_forward(), ast_cdr_init(), ast_cdr_setaccount(), ast_cdr_update(), features_call(), findmeexec(), handle_chanlist(), handle_chanlist_deprecated(), iax_park(), local_call(), local_new(), masq_park_call(), setup_env(), sip_park(), and wait_for_answer().

enum ast_channel_adsicpe adsicpe

Whether or not ADSI is detected on CPE

Definition at line 430 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(), dahdi_new(), gtalk_new(), iax2_call(), mgcp_new(), ring_entry(), sip_new(), and skinny_new().

int alertpipe[2]

Definition at line 453 of file channel.h.

Referenced by __ast_queue_frame(), __ast_read(), ast_channel_free(), ast_do_masquerade(), restore_channel(), and update_features().

int amaflags

Set BEFORE PBX is started to determine AMA flags

Definition at line 428 of file channel.h.

Referenced by __oh323_new(), ast_async_goto(), ast_bridge_call(), ast_cdr_init(), ast_iax2_new(), dahdi_new(), gtalk_new(), handle_chanlist(), handle_chanlist_deprecated(), iax_park(), local_new(), masq_park_call(), mgcp_new(), sip_new(), sip_park(), and skinny_new().

const char* appl

Current application

Definition at line 399 of file channel.h.

Referenced by ast_bridge_call(), ast_bridge_call_thread(), begin_dial(), handle_chanlist(), handle_chanlist_deprecated(), park_call_full(), pbx_exec(), ring_entry(), rpt(), and serialize_showchan().

struct ast_audiohook_list* audiohooks

Definition at line 463 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_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 395 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 397 of file channel.h.

Referenced by ast_hangup(), and serialize_showchan().

const ast_string_field call_forward

Definition at line 374 of file channel.h.

Referenced by __ast_request_and_dial(), ast_call_forward(), feature_request_and_dial(), handle_request_invite(), and handle_response().

ast_group_t callgroup

Call group for call pickups

Definition at line 448 of file channel.h.

Referenced by ast_pickup_call(), dahdi_new(), func_channel_read(), func_channel_write_real(), gtalk_new(), mgcp_new(), read_config(), serialize_showchan(), sip_new(), and skinny_new().

struct ast_cdr* cdr

Call Detail Record

Definition at line 429 of file channel.h.

Referenced by __agent_start_monitoring(), __ast_pbx_run(), __ast_request_and_dial(), __login_exec(), action_status(), agentmonitoroutgoing_exec(), agi_handle_command(), appendcdruserfield_exec(), ast_answer(), ast_async_goto(), ast_bridge_call(), ast_call(), 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_cdr_failed(), ast_pbx_outgoing_exten(), ast_set_callerid(), builtin_blindtransfer(), callerid_write(), cdr_read(), cdr_write(), clear_caller(), custom_log(), end_bridge_callback(), forkcdr_exec(), handle_chanlist(), handle_chanlist_deprecated(), handle_request_info(), handle_showchan(), handle_showchan_deprecated(), nocdr_exec(), ospfinished_exec(), pbx_builtin_resetcdr(), pbx_exec(), ring_entry(), rpt(), rpt_call(), rpt_tele_thread(), serialize_showchan(), setcdruserfield_exec(), start_monitor_exec(), try_calling(), and wait_for_answer().

int cdrflags

Call Detail Record Flags

Definition at line 389 of file channel.h.

Referenced by begin_dial(), dahdi_request(), features_call(), local_call(), and wait_for_answer().

struct { ... } chan_list

This pointer should stay for Asterisk 1.4. It just keeps the struct size the same for the sake of ABI compatability. For easy linking

struct ast_callerid cid

Caller ID, name, presentation etc

Definition at line 415 of file channel.h.

Referenced by __ast_goto_if_exists(), __ast_pbx_run(), __login_exec(), __oh323_new(), _macro_exec(), action_agents(), 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_iax2_new(), ast_parseable_goto(), ast_set_callerid(), ast_setstate(), asyncgoto_exec(), begin_dial(), blacklist_read(), build_rpid(), builtin_atxfer(), builtin_automonitor(), callerid_read(), callerid_write(), cb_events(), check_bridge(), collect_digits(), console_transfer(), console_transfer_deprecated(), copy_message(), dahdi_call(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), dahdi_read(), dial_trunk(), disa_exec(), do_immediate_setup(), features_call(), find_matching_endwhile(), findmeexec(), forward_message(), gtalk_new(), handle_chanlist(), handle_chanlist_deprecated(), handle_setpriority(), handle_showchan(), handle_showchan_deprecated(), iax2_call(), initreqprep(), isAnsweringMachine(), join_queue(), leave_voicemail(), local_call(), lookupblacklist_exec(), lookupcidname_exec(), manager_parking_status(), manager_queues_status(), meetme_cmd(), mgcp_call(), mgcp_hangup(), mgcp_new(), mgcp_ss(), misdn_call(), misdn_hangup(), misdn_new(), misdn_show_cls(), misdn_write(), oh323_call(), ospauth_exec(), osplookup_exec(), oss_call(), oss_new(), park_call_full(), park_exec(), parkandannounce_exec(), pbx_builtin_background(), pbx_retrieve_variable(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), process_ast_dsp(), queue_exec(), read_config(), report_new_callerid(), ring_entry(), rpt_call(), senddialevent(), serialize_showchan(), set_one_cid(), setcallerid_pres_exec(), setup_env(), sip_call(), sip_new(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_ss(), sla_ring_station(), sms_exec(), ss_thread(), update_config(), valid_exit(), wait_for_answer(), waitstream_core(), write_metadata(), and zapateller_exec().

char context[AST_MAX_CONTEXT]

Dialplan: Current extension context

Definition at line 419 of file channel.h.

Referenced by __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), action_status(), agent_new(), agentmonitoroutgoing_exec(), alsa_new(), aqm_exec(), ast_async_goto(), ast_bridge_call(), ast_call_forward(), ast_cdr_init(), ast_cdr_update(), ast_explicit_goto(), ast_iax2_new(), ast_parseable_goto(), ast_pbx_outgoing_exten(), ast_waitstream_exten(), async_wait(), asyncgoto_exec(), builtin_atxfer(), chanavail_exec(), channel_find_locked(), check_availability(), collect_digits(), conf_run(), console_transfer(), console_transfer_deprecated(), controlplayback_exec(), dahdi_handle_dtmf(), dahdi_new(), dialout(), disa_exec(), do_idle_thread(), do_immediate_setup(), do_parking_thread(), extenspy_exec(), find_matching_endwhile(), forward_message(), get_cid_name(), gosub_exec(), gtalk_new(), handle_chanlist(), handle_chanlist_deprecated(), handle_enbloc_call_message(), handle_request_bye(), handle_setcontext(), handle_setpriority(), handle_soft_key_event_message(), handle_stimulus_message(), hasvoicemail_exec(), iax2_call(), iax_park(), leave_voicemail(), local_call(), local_new(), log_exec(), lookupblacklist_exec(), masq_park_call(), mgcp_new(), mgcp_ss(), misdn_call(), misdn_hangup(), nbs_new(), onedigit_goto(), ospauth_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_extension_helper(), pbx_retrieve_variable(), pickup_exec(), playback_exec(), pqm_exec(), print_bc_info(), privacy_exec(), process_ast_dsp(), queue_transfer_fixup(), random_exec(), read_config(), real_ctx(), ring_entry(), rpt_call(), rqm_exec(), sendimage_exec(), sendtext_exec(), sendurl_exec(), serialize_showchan(), set_c_e_p(), setup_env(), sip_new(), sip_park(), skinny_new(), skinny_ss(), socket_process(), ss_thread(), system_exec_helper(), transfer_exec(), upqm_exec(), vm_box_exists(), and wait_for_answer().

const char* data

Data passed to current application

Definition at line 400 of file channel.h.

Referenced by action_originate(), ast_bridge_call(), ast_bridge_call_thread(), ast_call_forward(), begin_dial(), func_channel_write(), handle_chanlist(), handle_chanlist_deprecated(), handle_verbose(), park_call_full(), pbx_exec(), retrydial_exec(), ring_entry(), rpt(), and serialize_showchan().

struct ast_channel::datastores datastores

Data stores on the channel.

Referenced by ast_channel_datastore_add(), ast_channel_datastore_find(), ast_channel_datastore_inherit(), ast_channel_datastore_remove(), ast_channel_free(), and ast_do_masquerade().

char dialcontext[AST_MAX_CONTEXT]

Dial: Extension context that we were called from

Definition at line 425 of file channel.h.

Referenced by pickup_by_exten(), ring_entry(), and wait_for_answer().

struct timeval dtmf_tv

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

Definition at line 473 of file channel.h.

Referenced by __ast_read(), and should_skip_dtmf().

struct ast_frame dtmff

DTMF frame

Definition at line 417 of file channel.h.

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

char emulate_dtmf_digit

Digit being emulated

Definition at line 471 of file channel.h.

Referenced by __ast_read().

unsigned int emulate_dtmf_duration

Number of ms left to emulate DTMF for

Definition at line 472 of file channel.h.

Referenced by __ast_read().

char exten[AST_MAX_EXTENSION]

Dialplan: Current extension number

Definition at line 420 of file channel.h.

Referenced by __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), action_status(), agent_new(), alsa_new(), ast_async_goto(), ast_bridge_call(), ast_cdr_init(), ast_cdr_update(), ast_explicit_goto(), ast_iax2_new(), ast_parseable_goto(), async_wait(), asyncgoto_exec(), builtin_atxfer(), cb_events(), channel_find_locked(), dahdi_handle_dtmf(), dahdi_new(), dialout(), do_idle_thread(), do_immediate_setup(), do_parking_thread(), dundi_exec(), dundi_helper(), find_matching_endwhile(), forward_message(), get_cid_name(), gosub_exec(), gtalk_new(), handle_chanlist(), handle_chanlist_deprecated(), handle_enbloc_call_message(), handle_setextension(), handle_setpriority(), handle_soft_key_event_message(), handle_stimulus_message(), iax_park(), leave_voicemail(), local_call(), local_new(), log_exec(), masq_park_call(), mgcp_new(), mgcp_ss(), misdn_bridge(), misdn_call(), misdn_digit_end(), misdn_hangup(), misdn_new(), misdn_overlap_dial_task(), misdn_show_cls(), misdn_write(), nbs_new(), ospauth_exec(), park_call_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_extension_helper(), pbx_retrieve_variable(), pickup_by_exten(), play_mailbox_owner(), pqm_exec(), print_bc_info(), process_ast_dsp(), queue_transfer_fixup(), random_exec(), read_config(), ring_entry(), rpt_call(), serialize_showchan(), set_c_e_p(), set_ext_pri(), setup_env(), sip_new(), sip_park(), skinny_answer(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_ss(), ss_thread(), upqm_exec(), and wait_for_answer().

int fdno

Which fd had an event detected on

Definition at line 401 of file channel.h.

Referenced by __ast_read(), agent_read(), ast_do_masquerade(), do_parking_thread(), oh323_read(), sip_rtp_read(), and skinny_rtp_read().

int fds[AST_MAX_FDS]

File descriptor for channel -- Drivers will poll on these file descriptors, so at least one must be non -1.

Definition at line 377 of file channel.h.

Referenced by __ast_read(), __dahdi_exception(), __oh323_new(), __oh323_rtp_create(), __oh323_update_info(), alsa_new(), ast_deactivate_generator(), ast_do_masquerade(), conf_run(), dahdi_bridge(), dahdi_new(), do_parking_thread(), flash_exec(), get_input(), gtalk_new(), handle_showchan(), handle_showchan_deprecated(), mgcp_new(), misdn_new(), nbs_new(), oss_new(), p2p_callback_disable(), phone_call(), pri_assign_bearer(), rbi_out(), restore_channel(), rpt(), rpt_call(), rpt_tele_thread(), run_ras(), send_morse(), send_tone_telemetry(), send_waveform_to_channel(), serial_remote_io(), serialize_showchan(), setformat(), sip_new(), skinny_new(), spawn_ras(), start_rtp(), swap_subs(), and update_features().

unsigned int fin

Definition at line 444 of file channel.h.

Referenced by __ast_read(), handle_core_set_debug_channel(), handle_debugchan_deprecated(), handle_nodebugchan_deprecated(), handle_showchan(), handle_showchan_deprecated(), and serialize_showchan().

struct ast_frame* first

Definition at line 452 of file channel.h.

unsigned int flags

channel flags of AST_FLAG_ type

Definition at line 450 of file channel.h.

Referenced by accept_thread(), ast_channel_alloc(), channel_spy(), common_exec(), handle_common_options(), init_manager(), and set_insecure_flags().

unsigned int fout

Definition at line 445 of file channel.h.

Referenced by ast_write(), handle_core_set_debug_channel(), handle_debugchan_deprecated(), handle_nodebugchan_deprecated(), handle_showchan(), handle_showchan_deprecated(), and serialize_showchan().

struct ast_generator* generator

Current active data generator

Definition at line 381 of file channel.h.

Referenced by __ast_read(), ast_activate_generator(), ast_channel_bridge(), ast_deactivate_generator(), ast_hangup(), ast_read_generator_actions(), ast_senddigit_end(), cb_events(), and local_queue_frame().

void* generatordata

Current generator data if there is any

Definition at line 380 of file channel.h.

Referenced by __ast_read(), ast_activate_generator(), ast_deactivate_generator(), ast_hangup(), ast_read_generator_actions(), ast_safe_sleep_conditional(), ast_tonepair(), ast_write(), cb_events(), do_parking_thread(), and play_tone_pair().

int hangupcause

Why is the channel hanged up. See causes.h

Definition at line 446 of file channel.h.

Referenced by __ast_request_and_dial(), __attempt_transmit(), __oh323_update_info(), __transmit_response(), ast_hangup(), ast_pbx_outgoing_exten(), cb_events(), clear_caller(), dahdi_hangup(), dahdi_indicate(), dahdi_r2_on_call_disconnect(), dahdi_r2_on_protocol_error(), feature_request_and_dial(), gtalk_new(), handle_invite_replaces(), handle_request_invite(), handle_request_refer(), handle_response(), hangup_connection(), iax2_hangup(), local_hangup(), misdn_call(), misdn_hangup(), oh323_hangup(), pbx_builtin_hangup(), pbx_retrieve_variable(), retrans_pkt(), send_cause2ast(), sig_pri_kill_call(), sip_call(), sip_hangup(), sip_new(), sip_park(), sip_park_thread(), socket_process(), ss_thread(), wait_for_answer(), and wait_for_winner().

unsigned long insmpl

Track the read/written samples for monitor use

Definition at line 438 of file channel.h.

Referenced by __ast_read(), and ast_write().

struct ast_jb jb

The jitterbuffer state

Definition at line 469 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(), and jb_get_and_deliver().

const ast_string_field language

Definition at line 374 of file channel.h.

Referenced by __ast_play_and_record(), __login_exec(), agent_call(), agent_new(), app_exec(), ast_app_getdata(), ast_app_getdata_full(), ast_control_streamfile(), ast_do_masquerade(), ast_play_and_wait(), ast_record_review(), ast_say_counted_adjective(), ast_say_counted_noun(), ast_say_date_with_format_gr(), ast_say_number_full_gr(), ast_send_image(), bridge_playfile(), builtin_atxfer(), builtin_automonitor(), builtin_blindtransfer(), check_availability(), check_beep(), conf_run(), copy_message(), dictate_exec(), directory_exec(), do_directory(), features_call(), findmeexec(), forward_message(), func_channel_read(), gen_nextfile(), get_folder(), handle_getoption(), handle_recordfile(), handle_sayalpha(), handle_saydate(), handle_saydatetime(), handle_saydigits(), handle_saynumber(), handle_sayphonetic(), handle_saytime(), handle_streamfile(), iax2_call(), invent_message(), ivr_dispatch(), language_read(), leave_voicemail(), local_call(), mgcp_ss(), page_exec(), park_exec(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_saycharacters(), pbx_builtin_saydate(), pbx_builtin_saydigits(), pbx_builtin_saynumber(), pbx_builtin_sayphonetic(), pbx_builtin_saytime(), play_and_wait(), play_file(), play_greeting(), play_mailbox_owner(), play_message(), play_message_callerid(), play_message_datetime(), play_message_duration(), play_record_review(), playback_exec(), privacy_exec(), record_exec(), rpt_tele_thread(), say_position(), saycharstr(), sayfile(), saynum(), sayunixtime_exec(), setup_env(), speech_background(), ss_thread(), vm_browse_messages(), vm_instructions(), vm_intro(), vm_intro_cs(), vm_intro_de(), vm_intro_en(), vm_intro_es(), vm_intro_fr(), vm_intro_gr(), vm_intro_he(), vm_intro_it(), vm_intro_multilang(), vm_intro_nl(), vm_intro_no(), vm_intro_pl(), vm_intro_pt(), vm_intro_pt_BR(), vm_intro_se(), vm_play_folder_name(), wait_file2(), and wait_for_winner().

struct ast_frame* last

Definition at line 452 of file channel.h.

ast_mutex_t lock

Lock, can be used to lock a channel for some operations

Definition at line 396 of file channel.h.

Referenced by alsa_call(), ast_channel_free(), ast_do_masquerade(), asyncgoto_exec(), attempt_transfer(), check_bridge(), cleanup_connection(), complete_ch_helper(), conf_exec(), console_answer(), console_answer_deprecated(), console_dial(), console_dial_deprecated(), console_hangup(), console_hangup_deprecated(), console_sendtext(), console_sendtext_deprecated(), dahdi_bridge(), dahdi_handle_event(), dahdi_hangup(), dahdi_lock_sub_owner(), dahdi_read(), grab_owner(), handle_request_invite(), iax2_destroy(), iax2_queue_control_data(), iax2_queue_frame(), iax2_queue_hangup(), manager_play_dtmf(), mgcp_queue_frame(), mgcp_queue_hangup(), pri_hangup_all(), schedule_delivery(), socket_process(), softhangup_exec(), and wakeup_sub().

char macrocontext[AST_MAX_CONTEXT]

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

Definition at line 422 of file channel.h.

Referenced by _macro_exec(), ast_cdr_init(), ast_cdr_update(), channel_find_locked(), conf_run(), dahdi_handle_dtmf(), do_directory(), get_also_info(), get_cid_name(), get_refer_info(), leave_voicemail(), masq_park_call(), onedigit_goto(), park_call_full(), play_mailbox_owner(), process_ast_dsp(), and real_ctx().

char macroexten[AST_MAX_EXTENSION]

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

Definition at line 423 of file channel.h.

Referenced by _macro_exec(), ast_cdr_init(), ast_cdr_update(), channel_find_locked(), dundi_exec(), dundi_helper(), get_cid_name(), masq_park_call(), park_call_full(), pickup_by_exten(), skinny_answer(), skinny_indicate(), and wait_for_answer().

int macropriority

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

Definition at line 424 of file channel.h.

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

struct ast_channel* masq

Channel that will masquerade as us

Definition at line 387 of file channel.h.

Referenced by __ast_read(), ast_channel_bridge(), ast_channel_masquerade(), ast_do_masquerade(), ast_hangup(), ast_pickup_call(), ast_udptl_bridge(), ast_write(), bridge_native_loop(), bridge_p2p_loop(), builtin_atxfer(), and can_pickup().

struct ast_channel* masqr

Who we are masquerading as

Definition at line 388 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

Channel monitoring

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

Referenced by ast_channel_free(), ast_moh_files_next(), local_ast_moh_cleanup(), local_ast_moh_stop(), moh_files_alloc(), moh_files_generator(), and moh_files_release().

const ast_string_field musicclass

Definition at line 374 of file channel.h.

Referenced by begin_dial(), findmeexec(), func_channel_read(), local_ast_moh_start(), local_call(), and moh_read().

const ast_string_field name

Definition at line 374 of file channel.h.

Referenced by __adsi_transmit_messages(), __ast_pbx_run(), __ast_play_and_record(), __ast_queue_frame(), __ast_read(), __dahdi_exception(), __login_exec(), __oh323_destroy(), __oh323_update_info(), __queues_show(), __sip_destroy(), _dahdi_get_index(), _macro_exec(), action_agents(), action_status(), adsi_prog(), agent_bridgedchannel(), agent_call(), agent_devicestate_cb(), agent_read(), agent_set_base_channel(), agent_write(), agents_show(), agents_show_online(), alarmreceiver_exec(), alsa_indicate(), app_exec(), aqm_exec(), ast_async_goto(), ast_bridge_call(), ast_bridge_call_thread(), ast_cdr_init(), ast_change_name(), ast_channel_bridge(), ast_channel_free(), ast_channel_make_compatible(), ast_channel_masquerade(), ast_channel_start_silence_generator(), ast_channel_stop_silence_generator(), ast_complete_channels(), ast_do_masquerade(), ast_hangup(), ast_indicate_data(), ast_jb_destroy(), ast_jb_put(), ast_monitor_change_fname(), ast_monitor_start(), ast_pbx_outgoing_exten(), ast_pbx_run_app(), ast_pickup_call(), ast_playtones_start(), ast_prod(), ast_rtp_bridge(), ast_rtp_early_bridge(), ast_rtp_make_compatible(), ast_senddigit_begin(), ast_setstate(), ast_softhangup_nolock(), ast_streamfile(), ast_udptl_bridge(), ast_write(), async_wait(), attempt_transfer(), audiohook_inheritance_fixup(), auto_congest(), background_detect_exec(), bridge_native_loop(), builtin_atxfer(), builtin_automonitor(), builtin_blindtransfer(), builtin_parkcall(), chanavail_exec(), channel_find_locked(), channel_spy(), check_availability(), check_beep(), check_compat(), check_goto_on_transfer(), clear_dialed_interfaces(), complete_ch_helper(), conf_exec(), conf_queue_dtmf(), conf_run(), console_transfer(), console_transfer_deprecated(), cpeid_exec(), create_jb(), dahdi_answer(), dahdi_bridge(), dahdi_call(), dahdi_fake_event(), dahdi_fixup(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_hangup(), dahdi_indicate(), dahdi_new(), dahdi_r2_get_channel_category(), dahdi_read(), dahdi_request(), dahdi_setoption(), dahdi_show_channel(), dahdi_softhangup_all(), dahdi_write(), disa_exec(), do_directory(), do_dtmf_local(), do_idle_thread(), do_parking_thread(), do_waiting(), dumpchan_exec(), dundi_lookup_internal(), eagi_exec(), fast_originate(), feature_interpret(), feature_request_and_dial(), features_new(), features_show(), flash_exec(), func_inheritance_write(), get_chan_by_ast_name(), group_count_function_read(), group_show_channels(), gtalk_call(), gtalk_new(), gtalk_show_channels(), handle_chanlist(), handle_chanlist_deprecated(), handle_core_set_debug_channel(), handle_debugchan_deprecated(), handle_frame(), handle_frame_ownerless(), handle_getvariablefull(), handle_invite_replaces(), handle_nodebugchan_deprecated(), handle_offhook_message(), handle_parkedcalls(), handle_recordfile(), handle_request_invite(), handle_request_refer(), handle_response_invite(), handle_showchan(), handle_showchan_deprecated(), handle_softhangup(), handle_stimulus_message(), iax2_call(), iax2_hangup(), iax2_request(), iax2_transfer(), iax_park(), increase_call_count(), is_our_turn(), isAnsweringMachine(), join_queue(), launch_monitor_thread(), leave_queue(), leave_voicemail(), linear_alloc(), linear_release(), local_attended_transfer(), local_setoption(), local_write(), make_email_file(), manager_parking_status(), manager_queues_status(), masq_park_call(), meetme_cmd(), meetmemute(), mgcp_answer(), mgcp_call(), mgcp_fixup(), mgcp_hangup(), mgcp_indicate(), mgcp_new(), mgcp_ss(), milliwatt_generate(), misdn_attempt_transfer(), misdn_bridge(), misdn_call(), misdn_hangup(), misdn_indication(), misdn_show_cl(), moh0_exec(), moh1_exec(), moh_alloc(), moh_files_alloc(), moh_files_release(), moh_generate(), moh_release(), nbs_call(), nbs_hangup(), nbs_xread(), oh323_answer(), oh323_call(), oh323_destroy(), oh323_digit_begin(), oh323_digit_end(), oh323_hangup(), oh323_read(), old_milliwatt_exec(), oss_indicate(), page_exec(), park_call_exec(), park_call_full(), park_exec(), parkandannounce_exec(), pbx_builtin_background(), pbx_extension_helper(), pbx_retrieve_variable(), phone_answer(), phone_call(), phone_hangup(), phone_indicate(), pickup_do(), playback_exec(), playtones_alloc(), post_manager_event(), pri_dchannel(), print_bc_info(), process_ast_dsp(), process_sdp(), queue_exec(), rbi_out(), receive_dtmf_digits(), report_new_callerid(), retrans_pkt(), ring_entry(), rpt(), rpt_tele_thread(), rqm_exec(), run_agi(), run_ras(), say_position(), saycharstr(), sayfile(), saynum(), send_digit_to_chan(), send_talking_event(), senddialevent(), serialize_showchan(), set_format(), setup_env(), sip_answer(), sip_call(), sip_fixup(), sip_handle_t38_reinvite(), sip_new(), sip_park(), sip_park_thread(), sip_read(), sip_rtp_read(), sip_sendtext(), sip_show_channel(), skinny_answer(), skinny_call(), skinny_fixup(), skinny_hangup(), skinny_indicate(), skinny_ss(), socket_process(), softhangup_exec(), ss_thread(), start_monitor_action(), start_spying(), testclient_exec(), testserver_exec(), tonepair_alloc(), transmit_invite(), try_calling(), update_bridgepeer(), update_name(), wait_for_answer(), wait_for_winner(), and waitstream_core().

int nativeformats

Kinds of data this channel can natively handle

Definition at line 455 of file channel.h.

Referenced by __ast_read(), __oh323_new(), __oh323_update_info(), __sip_show_channels(), agent_call(), agent_new(), alsa_new(), ast_channel_bridge(), ast_channel_make_compatible(), ast_do_masquerade(), ast_generic_bridge(), ast_iax2_new(), ast_openvstream(), ast_streamfile(), begin_dial(), builtin_atxfer(), chanavail_exec(), create_addr(), dahdi_new(), echo_exec(), features_new(), findmeexec(), free_translation(), func_channel_read(), gtalk_new(), gtalk_rtp_read(), gtalk_write(), handle_showchan(), handle_showchan_deprecated(), iax2_call(), iax2_request(), local_new(), 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(), sip_new(), sip_rtp_read(), sip_show_channel(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), update_features(), and wait_for_answer().

struct ast_channel* next

Definition at line 467 of file channel.h.

Referenced by common_exec(), handle_common_options(), and set_insecure_flags().

int oldwriteformat

Original writer format

Definition at line 407 of file channel.h.

Referenced by ast_openstream_full(), and ast_stopstream().

unsigned long outsmpl

Definition at line 439 of file channel.h.

Referenced by __ast_read(), and ast_write().

struct ast_pbx* pbx

PBX private structure for this channel

Definition at line 427 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(), ivr_dispatch(), park_exec(), read_newoption(), rpt_call(), speech_background(), and timeout_read().

ast_group_t pickupgroup

Pickup group - which calls groups can be picked up?

Definition at line 449 of file channel.h.

Referenced by ast_pickup_call(), dahdi_new(), gtalk_new(), mgcp_new(), read_config(), serialize_showchan(), sip_new(), and skinny_new().

int priority

Dialplan: Current extension priority

Definition at line 421 of file channel.h.

Referenced by __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), _while_exec(), action_originate(), action_status(), agent_new(), ast_bridge_call(), ast_explicit_goto(), ast_parseable_goto(), async_wait(), builtin_atxfer(), dialout(), do_idle_thread(), do_parking_thread(), find_matching_endwhile(), forward_message(), gosub_exec(), gtalk_new(), handle_chanlist(), handle_chanlist_deprecated(), iax_park(), leave_voicemail(), local_new(), log_exec(), make_email_file(), masq_park_call(), mgcp_new(), misdn_new(), park_call_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_extension_helper(), pbx_retrieve_variable(), pqm_exec(), random_exec(), ring_entry(), rpt_call(), serialize_showchan(), set_c_e_p(), set_ext_pri(), setup_env(), sip_new(), sip_park(), skinny_new(), and upqm_exec().

int rawreadformat

Raw read format

Definition at line 460 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(), features_new(), free_translation(), gtalk_new(), local_new(), mgcp_new(), misdn_new(), nbs_new(), phone_setup(), sip_new(), and skinny_new().

int rawwriteformat

Raw write format

Definition at line 461 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(), features_new(), free_translation(), gtalk_new(), local_new(), mgcp_new(), misdn_new(), nbs_new(), sip_new(), and skinny_new().

int readformat

Requested read format

Definition at line 456 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_make_compatible(), ast_do_masquerade(), ast_iax2_new(), ast_set_read_format(), background_detect_exec(), builtin_atxfer(), check_goto_on_transfer(), dahdi_new(), dictate_exec(), do_waiting(), eagi_exec(), features_new(), func_channel_read(), gtalk_new(), gtalk_rtp_read(), gtalk_show_channels(), gtalk_write(), handle_recordfile(), handle_showchan(), handle_showchan_deprecated(), iax2_request(), iax_park(), ices_exec(), isAnsweringMachine(), local_new(), masq_park_call(), measurenoise(), mgcp_new(), mgcp_rtp_read(), mgcp_write(), misdn_new(), nbs_new(), oh323_rtp_read(), oh323_write(), oss_new(), process_sdp(), serialize_showchan(), setup_rtp_connection(), sip_new(), sip_park(), sip_rtp_read(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), speech_background(), and update_features().

struct { ... } readq

Referenced by __ast_queue_frame(), __ast_read(), ast_channel_clear_softhangup(), ast_channel_free(), ast_do_masquerade(), and check_bridge().

struct ast_trans_pvt* readtrans

Read translation path

Definition at line 459 of file channel.h.

Referenced by __ast_read(), ast_channel_free(), ast_set_read_format(), free_translation(), handle_showchan(), and handle_showchan_deprecated().

int rings

Number of rings so far

Definition at line 414 of file channel.h.

Referenced by __oh323_new(), cb_events(), dahdi_handle_event(), dahdi_new(), gtalk_new(), handle_showchan(), handle_showchan_deprecated(), mgcp_new(), mgcp_ss(), misdn_new(), nbs_new(), phone_answer(), serialize_showchan(), sip_new(), and skinny_new().

struct sched_context* sched

Schedule context

Definition at line 402 of file channel.h.

Referenced by ast_channel_free(), ast_hangup(), speech_background(), wait_for_winner(), and waitstream_core().

struct ast_filestream* stream

Stream itself.

Definition at line 404 of file channel.h.

Referenced by ast_control_streamfile(), ast_filehelper(), ast_hangup(), ast_moh_files_next(), ast_openstream_full(), ast_readstring_full(), ast_stopstream(), dictate_exec(), gen_closestream(), handle_getoption(), handle_recordfile(), 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 403 of file channel.h.

Referenced by speech_background().

struct ast_channel_tech* tech

Technology (point to channel driver).

Definition at line 362 of file channel.h.

Referenced by __ast_read(), __oh323_new(), acf_channel_read(), action_originate(), agent_indicate(), agent_new(), agent_read(), alsa_new(), ast_answer(), ast_bridged_channel(), ast_call(), ast_channel_bridge(), ast_channel_masquerade(), 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_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(), dahdi_accept_r2_call_exec(), dahdi_new(), features_new(), flash_exec(), func_channel_read(), func_channel_write_real(), func_header_read(), function_iaxpeer(), function_sipchaninfo_read(), get_proto(), gtalk_new(), handle_request_invite(), handle_response_invite(), handle_showchan(), handle_showchan_deprecated(), iax2_bridge(), iax2_prov_app(), local_new(), mgcp_new(), misdn_facility_exec(), misdn_new(), misdn_set_opt_exec(), nbs_new(), oss_new(), park_call_full(), schedule_delivery(), sendtext_exec(), serialize_showchan(), setup_env(), sip_dtmfmode(), sip_new(), skinny_new(), softhangup_exec(), ss_thread(), transfer_exec(), and wait_for_answer().

void* tech_pvt

Private data used by the technology driver.

ASCII unique channel name Language requested for voice prompts Default music class Account code for billing Where to forward to if asked to dial on this interface Unique Channel Identifier

Definition at line 368 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_check_hangup(), ast_do_masquerade(), ast_generic_bridge(), ast_iax2_new(), ast_rtp_bridge(), ast_udptl_bridge(), bridge_native_loop(), bridge_p2p_loop(), 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_r2_get_channel_category(), dahdi_read(), dahdi_sendtext(), dahdi_setoption(), dahdi_write(), destroy_dahdi_pvt(), do_idle_thread(), features_answer(), features_call(), features_digit_begin(), features_digit_end(), features_fixup(), features_hangup(), features_indicate(), features_new(), features_read(), features_write(), func_header_read(), function_iaxpeer(), function_sipchaninfo_read(), 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_invite(), handle_response_invite(), handle_soft_key_event_message(), handle_stimulus_message(), 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(), local_answer(), local_call(), local_digit_begin(), local_digit_end(), local_fixup(), local_hangup(), local_indicate(), local_new(), local_sendhtml(), local_sendtext(), local_setoption(), 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(), send_keypad_facility_exec(), sip_answer(), sip_call(), sip_dtmfmode(), sip_fixup(), sip_get_codec(), sip_get_rtp_peer(), sip_get_udptl_peer(), sip_get_vrtp_peer(), sip_handle_t38_reinvite(), sip_hangup(), sip_indicate(), sip_new(), sip_park(), sip_park_thread(), sip_read(), sip_senddigit_begin(), sip_senddigit_end(), 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(), and ss_thread().

void* timingdata

Definition at line 411 of file channel.h.

Referenced by __ast_read(), and ast_settimeout().

int timingfd

Timing fd

Definition at line 409 of file channel.h.

Referenced by __ast_queue_frame(), __ast_read(), ast_channel_free(), ast_do_masquerade(), ast_internal_timing_enabled(), ast_read_generator_actions(), ast_settimeout(), restore_channel(), and update_features().

int(* timingfunc)(const void *data)

Referenced by __ast_read(), ast_read_generator_actions(), ast_settimeout(), speech_background(), and wait_for_winner().

unsigned short transfercapability

ISDN Transfer Capbility - AST_FLAG_DIGITAL is not enough

Definition at line 451 of file channel.h.

Referenced by __oh323_new(), begin_dial(), cb_events(), dahdi_call(), dahdi_new(), dahdi_request(), func_channel_read(), func_channel_write_real(), misdn_call(), oh323_call(), and settransfercapability_exec().

const ast_string_field uniqueid

Definition at line 374 of file channel.h.

Referenced by __agent_start_monitoring(), action_status(), agent_hangup(), agent_read(), aqm_exec(), ast_bridge_call(), ast_cdr_init(), ast_change_name(), ast_channel_bridge(), ast_do_masquerade(), ast_hangup(), ast_setstate(), builtin_automonitor(), conf_run(), fast_originate(), handle_showchan(), handle_showchan_deprecated(), join_queue(), leave_queue(), meetmemute(), pbx_extension_helper(), pbx_retrieve_variable(), queue_exec(), queue_transfer_fixup(), record_abandoned(), report_new_callerid(), rna(), rqm_exec(), send_talking_event(), senddialevent(), serialize_showchan(), setup_env(), try_calling(), and wait_our_turn().

void* unused

Definition at line 464 of file channel.h.

char unused_old_dtmfq[AST_MAX_EXTENSION]

The DTMFQ is deprecated. All frames should go to the readq.

Definition at line 416 of file channel.h.

struct varshead varshead

A linked list for channel variables

Definition at line 447 of file channel.h.

Referenced by ast_channel_free(), ast_channel_inherit_variables(), clone_variables(), local_call(), mgcp_call(), ospauth_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), pbx_builtin_serialize_variables(), pbx_substitute_variables_helper(), pbx_substitute_variables_helper_full(), sip_call(), and transmit_invite().

int visible_indication

Indication currently playing on the channel

Definition at line 475 of file channel.h.

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

struct ast_filestream* vstream

Video Stream itself.

Definition at line 406 of file channel.h.

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

int vstreamid

For streaming video playback, the schedule ID

Definition at line 405 of file channel.h.

time_t whentohangup

Non-zero, set to actual time when channel is to be hung up

Definition at line 394 of file channel.h.

Referenced by ast_channel_cmpwhentohangup(), ast_channel_setwhentohangup(), ast_check_hangup(), ast_do_masquerade(), ast_waitfor_nandfds(), begin_dial(), handle_autohangup(), handle_showchan(), handle_showchan_deprecated(), ring_entry(), rpt(), serialize_showchan(), and timeout_read().

int writeformat

Requested write format

Definition at line 457 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_make_compatible(), ast_channel_start_silence_generator(), ast_do_masquerade(), ast_filehelper(), ast_iax2_new(), ast_openstream_full(), ast_read_generator_actions(), ast_set_write_format(), builtin_atxfer(), chanspy_exec(), check_goto_on_transfer(), dahdi_new(), extenspy_exec(), features_new(), func_channel_read(), gtalk_new(), gtalk_rtp_read(), gtalk_show_channels(), gtalk_write(), handle_showchan(), handle_showchan_deprecated(), iax2_request(), iax_park(), linear_alloc(), local_new(), 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(), serialize_showchan(), setup_rtp_connection(), sip_new(), sip_park(), sip_rtp_read(), sip_write(), skinny_new(), skinny_rtp_read(), skinny_write(), tonepair_alloc(), and update_features().

struct ast_trans_pvt* writetrans

Write translation path

Definition at line 458 of file channel.h.

Referenced by ast_channel_free(), ast_set_write_format(), ast_write(), free_translation(), handle_showchan(), and handle_showchan_deprecated().

struct tone_zone* zone

Tone zone as set in indications.conf or in the CHANNEL dialplan function

Definition at line 432 of file channel.h.

Referenced by ast_app_dtget(), ast_indicate_data(), dialtone_indicate(), func_channel_read(), func_channel_write_real(), function_enum(), handle_playtones(), play_dialtone(), and read_exec().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:07 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7