#include <channel.h>
Public Member Functions | |
AST_LIST_HEAD (varshead, ast_var_t) varshead | |
Data Fields | |
char | name [AST_CHANNEL_NAME] |
char | language [MAX_LANGUAGE] |
char * | type |
int | fds [AST_MAX_FDS] |
char | musicclass [MAX_LANGUAGE] |
void * | generatordata |
ast_generator * | generator |
int | writeinterrupt |
ast_channel * | bridge |
ast_channel * | dialed |
ast_channel * | dialing |
int | reversedialed |
ast_channel * | masq |
ast_channel * | masqr |
int | cdrflags |
int | blocking |
int | _softhangup |
int | zombie |
time_t | whentohangup |
pthread_t | blocker |
ast_mutex_t | lock |
const char * | blockproc |
char * | appl |
char * | data |
int | exception |
int | fdno |
sched_context * | sched |
int | streamid |
ast_filestream * | stream |
int | vstreamid |
ast_filestream * | vstream |
int | oldwriteformat |
int | timingfd |
int(* | timingfunc )(void *data) |
void * | timingdata |
int | _state |
int | rings |
int | stack |
int | nativeformats |
int | readformat |
int | writeformat |
char * | dnid |
char * | callerid |
char * | ani |
char * | rdnis |
int | restrictcid |
int | callingpres |
char | context [AST_MAX_EXTENSION] |
char | macrocontext [AST_MAX_EXTENSION] |
char | macroexten [AST_MAX_EXTENSION] |
int | macropriority |
char | exten [AST_MAX_EXTENSION] |
int | priority |
void * | app [AST_CHANNEL_MAX_STACK] |
char | dtmfq [AST_MAX_EXTENSION] |
int | deferdtmf |
ast_frame | dtmff |
ast_channel_pvt * | pvt |
jmp_buf | jmp [AST_CHANNEL_MAX_STACK] |
ast_pbx * | pbx |
int | amaflags |
char | accountcode [20] |
ast_cdr * | cdr |
int | adsicpe |
char | call_forward [AST_MAX_EXTENSION] |
tone_zone * | zone |
ast_channel_monitor * | monitor |
unsigned long | insmpl |
unsigned long | outsmpl |
unsigned int | fin |
unsigned int | fout |
char | uniqueid [AST_MAX_UNIQUEID] |
int | hangupcause |
ast_var_t * | vars |
unsigned int | callgroup |
unsigned int | pickupgroup |
int | flag |
ast_channel * | next |
This is the side of it mostly used by the pbx and call management.
Definition at line 64 of file channel.h.
|
|
|
Whether or not we have been hung up... Do not set this value directly, use ast_softhangup Definition at line 102 of file channel.h. Referenced by ast_check_hangup(), and ast_do_masquerade(). |
|
State of line -- Don't write directly, use ast_setstate Definition at line 142 of file channel.h. Referenced by __ast_request_and_dial(), ast_async_goto(), ast_channel_alloc(), ast_do_masquerade(), ast_parse_device_state(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_request(), and ast_setstate(). |
|
Account code for billing Definition at line 202 of file channel.h. Referenced by ast_channel_alloc(). |
|
Whether or not ADSI is detected on CPE Definition at line 206 of file channel.h. Referenced by ast_do_masquerade(). |
|
Set BEFORE PBX is started to determine AMA flags Definition at line 200 of file channel.h. Referenced by ast_channel_alloc(). |
|
Malloc'd ANI Definition at line 162 of file channel.h. Referenced by ast_set_callerid(). |
|
Application information -- see assigned numbers |
|
Current application Definition at line 115 of file channel.h. Referenced by ast_channel_alloc(). |
|
If anyone is blocking, this is them |
|
Whether or not we're blocking |
|
Procedure causing blocking |
|
Who are we bridged to, if we're bridged Definition at line 85 of file channel.h. Referenced by ast_channel_bridge(). |
|
Where to forward to if asked to dial on this interface |
|
Malloc'd Caller ID Definition at line 160 of file channel.h. Referenced by __ast_request_and_dial(), ast_do_masquerade(), ast_request(), and ast_set_callerid(). |
|
|
|
Callerid presentation/screening Definition at line 168 of file channel.h. Referenced by __ast_request_and_dial(). |
|
Call Detail Record Definition at line 204 of file channel.h. Referenced by __ast_request_and_dial(). |
|
Call Detail Record Flags |
|
Current extension context Definition at line 172 of file channel.h. Referenced by __ast_request_and_dial(), ast_async_goto(), ast_channel_alloc(), and ast_pbx_outgoing_exten(). |
|
Data passed to current application Definition at line 117 of file channel.h. Referenced by ast_channel_alloc(). |
|
Are DTMF digits being deferred |
|
Who did we call? |
|
Who called us? |
|
Malloc'd Dialed Number Identifier Definition at line 158 of file channel.h. Referenced by ast_do_masquerade(). |
|
DTMF frame |
|
Any/all queued DTMF characters |
|
Has an exception been detected Definition at line 120 of file channel.h. Referenced by ast_do_masquerade(), and ast_waitfor_nandfds(). |
|
Current extension number Definition at line 180 of file channel.h. Referenced by __ast_request_and_dial(), ast_async_goto(), ast_channel_alloc(), and ast_pbx_outgoing_exten(). |
|
Which fd had an event detected on Definition at line 122 of file channel.h. Referenced by ast_do_masquerade(), and ast_waitfor_nandfds(). |
|
File descriptor for channel -- Drivers will poll on these file descriptors, so at least one must be non -1. Definition at line 72 of file channel.h. Referenced by ast_channel_alloc(), and ast_do_masquerade(). |
|
Definition at line 221 of file channel.h. Referenced by ast_channel_alloc(), and ast_read(). |
|
channel flags of AST_FLAG_ type |
|
Definition at line 222 of file channel.h. Referenced by ast_channel_alloc(). |
|
Current active data generator Definition at line 80 of file channel.h. Referenced by ast_activate_generator(), and ast_read(). |
|
Current generator data if there is any Definition at line 78 of file channel.h. Referenced by ast_read(). |
|
Definition at line 228 of file channel.h. Referenced by __ast_request_and_dial(). |
|
Track the read/written samples for monitor use |
|
Jump buffer used for returning from applications |
|
Language requested Definition at line 68 of file channel.h. Referenced by ast_channel_alloc(), and ast_do_masquerade(). |
|
Lock, can be used to lock a channel for some operations Definition at line 110 of file channel.h. Referenced by ast_async_goto(), ast_async_goto_by_name(), ast_channel_alloc(), ast_channel_walk_locked(), ast_do_masquerade(), ast_get_channel_by_name_locked(), ast_get_channel_by_uniqueid_locked(), and ast_parse_device_state(). |
|
Current non-macro context |
|
Current non-macro extension |
|
Current non-macro priority |
|
Channel that will masquerade as us |
|
Who we are masquerading as Definition at line 95 of file channel.h. Referenced by ast_do_masquerade(). |
|
Definition at line 214 of file channel.h. Referenced by ast_channel_free(). |
|
Default music class Definition at line 75 of file channel.h. Referenced by ast_do_masquerade(). |
|
ASCII Description of channel name Definition at line 66 of file channel.h. Referenced by ast_async_goto(), ast_async_goto_by_name(), ast_channel_alloc(), ast_channel_bridge(), ast_channel_walk_locked(), ast_do_masquerade(), ast_get_channel_by_name_locked(), ast_parse_device_state(), ast_pbx_outgoing_app(), ast_pbx_outgoing_exten(), ast_pbx_run_app(), and ast_request(). |
|
Kinds of data this channel can natively handle Definition at line 150 of file channel.h. Referenced by ast_channel_bridge(), and ast_do_masquerade(). |
|
For easy linking Definition at line 241 of file channel.h. Referenced by ast_active_channels(), ast_begin_shutdown(), ast_channel_alloc(), ast_channel_free(), and ast_channel_walk_locked(). |
|
Original writer format |
|
|
|
|
|
|
|
Definition at line 182 of file channel.h. Referenced by __ast_request_and_dial(), ast_async_goto(), ast_channel_alloc(), and ast_pbx_outgoing_exten(). |
|
Private channel implementation details Definition at line 192 of file channel.h. Referenced by ast_channel_alloc(), ast_channel_setoption(), and ast_do_masquerade(). |
|
Malloc'd RDNIS |
|
Requested read format Definition at line 152 of file channel.h. Referenced by ast_async_goto(). |
|
Hide callerid from user |
|
Reverse the dialed link (0 false, 1 true) |
|
Number of rings so far |
|
Schedule context Definition at line 124 of file channel.h. Referenced by ast_channel_alloc(). |
|
Current level of application Definition at line 146 of file channel.h. Referenced by ast_channel_alloc(). |
|
Stream itself. Definition at line 128 of file channel.h. Referenced by ast_closestream(). |
|
For streaming playback, the schedule ID Definition at line 126 of file channel.h. Referenced by ast_channel_alloc(), and ast_closestream(). |
|
|
|
Timing fd Definition at line 137 of file channel.h. Referenced by ast_channel_alloc(), and ast_do_masquerade(). |
|
Referenced by ast_read(). |
|
Type of channel Definition at line 70 of file channel.h. Referenced by ast_do_masquerade(). |
|
Definition at line 225 of file channel.h. Referenced by ast_channel_alloc(), ast_do_masquerade(), ast_get_channel_by_uniqueid_locked(), and ast_request(). |
|
Definition at line 231 of file channel.h. Referenced by ast_channel_alloc(). |
|
Stream itself. Definition at line 132 of file channel.h. Referenced by ast_closestream(). |
|
For streaming playback, the schedule ID Definition at line 130 of file channel.h. Referenced by ast_closestream(). |
|
Non-zero, set to actual time when channel is to be hung up Definition at line 106 of file channel.h. Referenced by ast_channel_setwhentohangup(). |
|
Requested write format Definition at line 154 of file channel.h. Referenced by ast_async_goto(). |
|
Whether or not the generator should be interrupted by write |
|
Non-zero if this is a zombie channel Definition at line 104 of file channel.h. Referenced by ast_do_masquerade(). |
|
Tone zone |