Tue Sep 30 01:20:07 2008

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>

Collaboration diagram for ast_channel:

Collaboration graph
[legend]

Public Member Functions

 AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(name);AST_STRING_FIELD(language);AST_STRING_FIELD(musicclass);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(call_forward);AST_STRING_FIELD(uniqueid);)
 AST_LIST_ENTRY (ast_channel) chan_list
 AST_LIST_HEAD_NOLOCK (datastores, ast_datastore) datastores
 Data stores on the channel.
 AST_LIST_HEAD_NOLOCK (, ast_frame) readq

Data Fields

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).
int _softhangup
 Whether or not we have been hung up... Do not set this value directly, use ast_softhangup.
enum ast_channel_state _state
enum ast_channel_adsicpe adsicpe
int alertpipe [2]
int amaflags
const char * appl
struct ast_audiohook_listaudiohooks
pthread_t blocker
const char * blockproc
ast_group_t callgroup
struct ast_cdrcdr
int cdrflags
struct ast_callerid cid
char context [AST_MAX_CONTEXT]
const char * data
char dialcontext [AST_MAX_CONTEXT]
struct timeval dtmf_tv
struct ast_frame dtmff
char dtmfq [AST_MAX_EXTENSION]
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
struct ast_generatorgenerator
void * generatordata
int hangupcause
unsigned long insmpl
struct ast_jb jb
ast_mutex_t lock
char lowlayercompat [16]
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
int nativeformats
int oldwriteformat
unsigned long outsmpl
struct ast_pbxpbx
ast_group_t pickupgroup
int priority
int rawreadformat
int rawwriteformat
int readformat
struct ast_trans_pvtreadtrans
int rings
struct sched_contextsched
struct ast_filestreamstream
int streamid
struct 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
void * unused
struct varshead varshead
int visible_indication
struct ast_filestreamvstream
int vstreamid
time_t whentohangup
int writeformat
struct ast_trans_pvtwritetrans
struct tone_zonezone

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


Member Function Documentation

AST_DECLARE_STRING_FIELDS ( AST_STRING_FIELD(name);AST_STRING_FIELD(language);AST_STRING_FIELD(musicclass);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(call_forward);AST_STRING_FIELD(uniqueid);   ) 

AST_LIST_ENTRY ( ast_channel   ) 

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

AST_LIST_HEAD_NOLOCK ( datastores  ,
ast_datastore   
)

Data stores on the channel.

AST_LIST_HEAD_NOLOCK ( ast_frame   ) 


Field Documentation

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

Referenced by action_agents(), action_status(), agent_bridgedchannel(), agent_hangup(), agent_read(), ast_bridged_channel(), ast_channel_bridge(), ast_channel_masquerade(), ast_generic_bridge(), check_bridge(), handle_showchan(), and handle_showchan_deprecated().

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

Definition at line 406 of file channel.h.

Referenced by __ast_read(), __ast_request_and_dial_uniqueid(), __login_exec(), __zt_exception(), action_bridge(), action_status(), add_header_offhook(), agent_hangup(), agent_read(), agi_exec_full(), alarmreceiver_exec(), alsa_read(), app_exec(), ast_answer(), ast_async_goto(), ast_autoanswer_login(), ast_cdr_init(), ast_channel_alloc(), ast_control_streamfile(), ast_do_masquerade(), ast_feature_request_and_dial(), ast_parse_device_state(), ast_pbx_outgoing_app_uniqueid(), ast_pbx_outgoing_exten_uniqueid(), ast_pickup_call(), ast_prod(), ast_quiet_chan(), ast_retrieve_call(), ast_setstate_and_callerid(), async_wait(), attempt_transfer(), auth_exec(), autoanswer_exec(), available(), background_detect_exec(), bridge_exec(), builtin_atxfer(), builtin_parkcall(), can_pickup(), check_goto_on_transfer(), common_exec(), conf_exec(), count_exec(), directory_exec(), disa_exec(), do_bridge_masquerade(), 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_cancel(), 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(), my_pickup_call(), my_pickup_channel(), 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(), pbx_builtin_saycharacters(), pbx_builtin_saydigits(), pbx_builtin_saynumber(), pbx_builtin_sayphonetic(), phone_call(), phone_exception(), phone_write(), playback_exec(), privacy_exec(), read_exec(), record_exec(), release_chan(), rpt(), rpt_exec(), 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(), sms_exec(), speech_background(), ss_thread(), testclient_exec(), testserver_exec(), try_calling(), vm_exec(), vm_execmain(), wait_for_answer(), zapateller_exec(), zapras_exec(), zt_answer(), zt_bridge(), zt_call(), zt_digit_begin(), zt_fixup(), zt_handle_event(), zt_hangup(), zt_indicate(), and zt_read().

int alertpipe[2]

int amaflags

const char* appl

pthread_t blocker

If anyone is blocking, this is them

Definition at line 388 of file channel.h.

Referenced by __ast_read(), ast_do_masquerade(), ast_hangup(), ast_queue_frame(), and ast_softhangup_nolock().

const char* blockproc

Procedure causing blocking

Definition at line 390 of file channel.h.

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

struct ast_cdr* cdr [read]

int cdrflags

Call Detail Record Flags

Definition at line 382 of file channel.h.

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

struct ast_callerid cid [read]

Caller ID, name, presentation etc

Definition at line 408 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_channel_alloc(), ast_channel_bridge(), ast_channel_free(), ast_do_masquerade(), ast_iax2_new(), ast_parseable_goto(), ast_set_callerid(), ast_setstate_and_callerid(), asyncgoto_exec(), background_detect_exec(), begin_dial(), blacklist_read(), build_rpid(), builtin_atxfer(), builtin_automonitor(), builtin_blindtransfer(), callerid_read(), callerid_write(), cb_events(), collect_digits(), conf_run(), console_transfer(), console_transfer_deprecated(), copy_message(), 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_waitexten(), pbx_retrieve_variable(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), process_ast_dsp(), queue_exec(), read_config(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), 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(), sms_exec(), ss_thread(), update_config(), valid_exit(), vm_authenticate(), wait_for_answer(), waitstream_core(), write_metadata(), zapateller_exec(), zt_call(), zt_handle_dtmfup(), zt_handle_event(), and zt_new().

char context[AST_MAX_CONTEXT]

Dialplan: Current extension context

Definition at line 412 of file channel.h.

Referenced by __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial_uniqueid(), __login_exec(), __oh323_new(), _macro_exec(), _while_exec(), action_status(), agent_new(), agentmonitoroutgoing_exec(), alsa_new(), aqm_exec(), ast_async_goto(), ast_cdr_init(), ast_cdr_update(), ast_channel_alloc(), ast_explicit_goto(), ast_iax2_new(), ast_masq_autoanswer_login(), ast_masq_hold_call(), ast_masq_park_call(), ast_parseable_goto(), ast_pbx_outgoing_exten_uniqueid(), ast_waitstream_exten(), async_wait(), asyncgoto_exec(), auth_exec(), background_detect_exec(), bridge_exec(), builtin_atxfer(), chanavail_exec(), channel_find_locked(), check_availability(), collect_digits(), conf_run(), console_transfer(), console_transfer_deprecated(), controlplayback_exec(), dialout(), disa_exec(), do_bridge_masquerade(), 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_setcontext(), handle_setpriority(), handle_showchan(), handle_showchan_deprecated(), handle_soft_key_event_message(), handle_stimulus_message(), hasvoicemail_exec(), iax2_call(), iax_park(), leave_voicemail(), local_new(), log_exec(), lookupblacklist_exec(), 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_builtin_waitexten(), pbx_extension_helper(), pbx_retrieve_variable(), pickup_exec(), playback_exec(), pqm_exec(), print_bc_info(), privacy_exec(), process_ast_dsp(), random_exec(), read_config(), real_ctx(), realtime_exec(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), rqm_exec(), sendimage_exec(), sendtext_exec(), sendurl_exec(), serialize_showchan(), set_c_e_p(), setup_env(), sip_new(), sip_park(), skinny_new(), skinny_ss(), ss_thread(), system_exec_helper(), transfer_exec(), try_calling(), upqm_exec(), vm_box_exists(), vm_exec(), wait_for_answer(), zt_handle_dtmfup(), and zt_new().

const char* data

char dialcontext[AST_MAX_CONTEXT]

Dial: Extension context that we were called from

Definition at line 418 of file channel.h.

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

struct timeval dtmf_tv [read]

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

Definition at line 467 of file channel.h.

Referenced by __ast_read().

struct ast_frame dtmff [read]

DTMF frame

Definition at line 410 of file channel.h.

Referenced by __ast_read(), and gtalk_digit().

char dtmfq[AST_MAX_EXTENSION]

Any/all queued DTMF characters

Definition at line 409 of file channel.h.

Referenced by __ast_read().

Digit being emulated

Definition at line 465 of file channel.h.

Referenced by __ast_read().

unsigned int emulate_dtmf_duration

Number of ms left to emulate DTMF for

Definition at line 466 of file channel.h.

Referenced by __ast_read().

char exten[AST_MAX_EXTENSION]

Dialplan: Current extension number

Definition at line 413 of file channel.h.

Referenced by __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial_uniqueid(), __login_exec(), __oh323_new(), _macro_exec(), _while_exec(), action_status(), agent_new(), agentmonitoroutgoing_exec(), alsa_new(), aqm_exec(), ast_async_goto(), ast_cdr_init(), ast_cdr_update(), ast_channel_alloc(), ast_explicit_goto(), ast_iax2_new(), ast_masq_autoanswer_login(), ast_masq_hold_call(), ast_masq_park_call(), ast_parseable_goto(), async_wait(), asyncgoto_exec(), auth_exec(), bridge_exec(), builtin_atxfer(), builtin_parkcall(), cb_events(), chanavail_exec(), channel_find_locked(), controlplayback_exec(), dialout(), do_bridge_masquerade(), 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_showchan(), handle_showchan_deprecated(), handle_soft_key_event_message(), handle_stimulus_message(), hasvoicemail_exec(), iax_park(), leave_voicemail(), local_new(), log_exec(), lookupblacklist_exec(), mgcp_new(), mgcp_ss(), misdn_bridge(), misdn_call(), misdn_digit_end(), misdn_hangup(), misdn_indication(), misdn_new(), misdn_overlap_dial_task(), misdn_show_cls(), misdn_write(), nbs_new(), ospauth_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), park_call_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_retrieve_variable(), pickup_by_exten(), play_mailbox_owner(), playback_exec(), pqm_exec(), print_bc_info(), privacy_exec(), process_ast_dsp(), random_exec(), read_config(), realtime_exec(), release_chan(), ring_entry(), rpt_call(), rpt_exec(), rqm_exec(), sendimage_exec(), sendtext_exec(), sendurl_exec(), 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(), system_exec_helper(), transfer_exec(), try_calling(), upqm_exec(), vm_box_exists(), vm_exec(), wait_for_answer(), zt_handle_dtmfup(), and zt_new().

int fdno

int fds[AST_MAX_FDS]

unsigned int fin

unsigned int flags

channel flags of AST_FLAG_ type

Definition at line 443 of file channel.h.

Referenced by accept_thread(), ast_channel_alloc(), and init_manager().

unsigned int fout

struct ast_generator* generator [read]

unsigned long insmpl

Track the read/written samples for monitor use

Definition at line 431 of file channel.h.

Referenced by __ast_read(), and ast_write().

struct ast_jb jb [read]

char lowlayercompat[16]

ISDN Low Layer Compatibility

Definition at line 446 of file channel.h.

Referenced by zt_call().

char macrocontext[AST_MAX_CONTEXT]

char macroexten[AST_MAX_EXTENSION]

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

Definition at line 417 of file channel.h.

Referenced by _macro_exec(), and park_call_full().

struct ast_channel* masq [read]

struct ast_channel* masqr [read]

struct ast_channel_monitor* monitor [read]

void* music_state

Original writer format

Definition at line 400 of file channel.h.

Referenced by ast_openstream_full(), and ast_stopstream().

unsigned long outsmpl

Definition at line 432 of file channel.h.

Referenced by __ast_read(), and ast_write().

struct ast_pbx* pbx [read]

int priority

Dialplan: Current extension priority

Definition at line 414 of file channel.h.

Referenced by __ast_pbx_run(), __ast_request_and_dial_uniqueid(), __login_exec(), __oh323_new(), _macro_exec(), _while_exec(), action_originate(), action_status(), agent_new(), agentmonitoroutgoing_exec(), aqm_exec(), ast_channel_alloc(), ast_explicit_goto(), ast_masq_autoanswer_login(), ast_masq_hold_call(), ast_masq_park_call(), ast_parseable_goto(), async_wait(), auth_exec(), bridge_exec(), builtin_atxfer(), builtin_parkcall(), chanavail_exec(), controlplayback_exec(), dialout(), do_bridge_masquerade(), do_parking_thread(), find_matching_endwhile(), forward_message(), gosub_exec(), gtalk_new(), handle_chanlist(), handle_chanlist_deprecated(), handle_showchan(), handle_showchan_deprecated(), hasvoicemail_exec(), iax_park(), leave_voicemail(), local_new(), log_exec(), lookupblacklist_exec(), make_email_file(), mgcp_new(), misdn_new(), ospauth_exec(), ospfinished_exec(), osplookup_exec(), ospnext_exec(), park_call_exec(), park_call_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_builtin_goto(), pbx_builtin_waitexten(), pbx_extension_helper(), pbx_retrieve_variable(), playback_exec(), pqm_exec(), privacy_exec(), random_exec(), realtime_exec(), ring_entry(), rpt_call(), rpt_exec(), rqm_exec(), sendimage_exec(), sendtext_exec(), sendurl_exec(), serialize_showchan(), set_c_e_p(), set_ext_pri(), setup_env(), sip_new(), sip_park(), skinny_new(), system_exec_helper(), transfer_exec(), upqm_exec(), vm_box_exists(), vm_exec(), and wait_for_answer().

struct ast_trans_pvt* readtrans [read]

int rings

struct sched_context* sched [read]

struct ast_filestream* stream [read]

int streamid

For streaming playback, the schedule ID

Definition at line 396 of file channel.h.

Referenced by ast_channel_alloc(), ast_closestream(), ast_readaudio_callback(), and speech_background().

struct ast_channel_tech* tech [read]

void* tech_pvt

Private data used by the technology driver.

Definition at line 358 of file channel.h.

Referenced by __oh323_destroy(), __oh323_new(), __sip_destroy(), __zt_exception(), 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(), app_zapEC(), 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(), 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_write(), mgcp_answer(), mgcp_call(), mgcp_fixup(), mgcp_get_rtp_peer(), mgcp_hangup(), mgcp_indicate(), mgcp_new(), mgcp_read(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_set_rtp_peer(), mgcp_ss(), mgcp_write(), misdn_new(), misdn_send_text(), nbs_call(), nbs_hangup(), nbs_new(), nbs_xread(), nbs_xwrite(), oh323_answer(), oh323_call(), oh323_digit_begin(), oh323_digit_end(), oh323_fixup(), oh323_get_rtp_peer(), oh323_hangup(), oh323_indicate(), oh323_read(), oh323_set_rtp_peer(), oh323_update_info(), oh323_write(), oss_answer(), oss_call(), oss_fixup(), oss_hangup(), oss_indicate(), oss_new(), oss_read(), oss_write(), phone_answer(), phone_call(), phone_digit_end(), phone_exception(), phone_fixup(), phone_hangup(), phone_indicate(), phone_read(), phone_send_text(), phone_setup(), phone_write(), sip_answer(), sip_call(), sip_dtmfmode(), sip_fixup(), sip_get_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(), ss_thread(), zt_answer(), zt_bridge(), zt_call(), zt_callwait(), zt_digit_begin(), zt_digit_end(), zt_exception(), zt_fixup(), zt_func_read(), zt_handle_dtmfup(), zt_handle_event(), zt_hangup(), zt_indicate(), zt_new(), zt_read(), zt_sendmessage(), zt_sendtext(), zt_setoption(), zt_tdd_sendtext(), and zt_write().

void* timingdata

Definition at line 404 of file channel.h.

Referenced by __ast_read(), and ast_settimeout().

int timingfd

int(* timingfunc)(const void *data)

unsigned short transfercapability

ISDN Transfer Capbility - AST_FLAG_DIGITAL is not enough

Definition at line 444 of file channel.h.

Referenced by __oh323_new(), ast_channel_bridge(), begin_dial(), cb_events(), func_channel_read(), func_channel_write(), misdn_call(), oh323_call(), settransfercapability_exec(), zt_call(), zt_new(), and zt_request().

void* unused

Definition at line 458 of file channel.h.

struct varshead varshead [read]

Indication currently playing on the channel

Definition at line 469 of file channel.h.

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

struct ast_filestream* vstream [read]

Video Stream itself.

Definition at line 399 of file channel.h.

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

int vstreamid

For streaming video playback, the schedule ID

Definition at line 398 of file channel.h.

Referenced by ast_closestream(), and ast_readvideo_callback().

time_t whentohangup

struct ast_trans_pvt* writetrans [read]

Write translation path

Definition at line 452 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 [read]

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

Definition at line 425 of file channel.h.

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


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

Generated on Tue Sep 30 01:20:07 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.6