ast_channel Struct Reference
Main Channel structure associated with a channel.
More...
#include <channel.h>
Detailed Description
Main Channel structure associated with a channel.
This is the side of it mostly used by the pbx and call management.
Definition at line 59 of file channel.h.
Member Function Documentation
Field Documentation
| char name[AST_CHANNEL_NAME] |
ASCII Description of channel name
Definition at line 61 of file channel.h.
Language requested
Definition at line 63 of file channel.h.
Type of channel
Definition at line 65 of file channel.h.
File descriptor for channel -- Drivers will poll on these file descriptors, so at least one must be non -1.
Definition at line 67 of file channel.h.
Default music class
Definition at line 70 of file channel.h.
Current generator data if there is any
Definition at line 73 of file channel.h.
Current active data generator
Definition at line 75 of file channel.h.
Whether or not the generator should be interrupted by write
Definition at line 77 of file channel.h.
Who are we bridged to, if we're bridged
Definition at line 80 of file channel.h.
Who did we call?
Definition at line 82 of file channel.h.
Who called us?
Definition at line 84 of file channel.h.
Reverse the dialed link (0 false, 1 true)
Definition at line 86 of file channel.h.
Channel that will masquerade as us
Definition at line 88 of file channel.h.
Who we are masquerading as
Definition at line 90 of file channel.h.
Call Detail Record Flags
Definition at line 92 of file channel.h.
Whether or not we're blocking
Definition at line 94 of file channel.h.
Whether or not we have been hung up... Do not set this value directly, use ast_softhangup
Definition at line 97 of file channel.h.
Non-zero if this is a zombie channel
Definition at line 99 of file channel.h.
Non-zero, set to actual time when channel is to be hung up
Definition at line 101 of file channel.h.
If anyone is blocking, this is them
Definition at line 103 of file channel.h.
Lock, can be used to lock a channel for some operations
Definition at line 105 of file channel.h.
Procedure causing blocking
Definition at line 107 of file channel.h.
Current application
Definition at line 110 of file channel.h.
Data passed to current application
Definition at line 112 of file channel.h.
Has an exception been detected
Definition at line 115 of file channel.h.
Which fd had an event detected on
Definition at line 117 of file channel.h.
For streaming playback, the schedule ID
Definition at line 121 of file channel.h.
For streaming playback, the schedule ID
Definition at line 125 of file channel.h.
Original writer format
Definition at line 129 of file channel.h.
State of line -- Don't write directly, use ast_setstate
Definition at line 137 of file channel.h.
Number of rings so far
Definition at line 139 of file channel.h.
Current level of application
Definition at line 141 of file channel.h.
Kinds of data this channel can natively handle
Definition at line 145 of file channel.h.
Requested read format
Definition at line 147 of file channel.h.
Requested write format
Definition at line 149 of file channel.h.
Malloc'd Dialed Number Identifier
Definition at line 153 of file channel.h.
Malloc'd Caller ID
Definition at line 155 of file channel.h.
Hide callerid from user
Definition at line 161 of file channel.h.
Callerid presentation/screening
Definition at line 163 of file channel.h.
Current extension context
Definition at line 167 of file channel.h.
Current non-macro context
Definition at line 169 of file channel.h.
Current non-macro extension
Definition at line 171 of file channel.h.
Current non-macro priority
Definition at line 173 of file channel.h.
| char exten[AST_MAX_EXTENSION] |
Current extension number
Definition at line 175 of file channel.h.
| void* app[AST_CHANNEL_MAX_STACK] |
Application information -- see assigned numbers
Definition at line 179 of file channel.h.
| char dtmfq[AST_MAX_EXTENSION] |
Any/all queued DTMF characters
Definition at line 181 of file channel.h.
Are DTMF digits being deferred
Definition at line 183 of file channel.h.
Private channel implementation details
Definition at line 187 of file channel.h.
| jmp_buf jmp[AST_CHANNEL_MAX_STACK] |
Jump buffer used for returning from applications
Definition at line 191 of file channel.h.
Set BEFORE PBX is started to determine AMA flags
Definition at line 195 of file channel.h.
Account code for billing
Definition at line 197 of file channel.h.
Call Detail Record
Definition at line 199 of file channel.h.
Whether or not ADSI is detected on CPE
Definition at line 201 of file channel.h.
Where to forward to if asked to dial on this interface
Definition at line 203 of file channel.h.
Track the read/written samples for monitor use
Definition at line 212 of file channel.h.
channel flags of AST_FLAG_ type
Definition at line 233 of file channel.h.
The documentation for this struct was generated from the following file: