Wed Apr 6 11:30:13 2011

Asterisk developer's documentation


local_pvt Struct Reference

the local pvt structure for all channels More...


Data Fields

ast_channelchan
char context [AST_MAX_CONTEXT]
char exten [AST_MAX_EXTENSION]
unsigned int flags
ast_jb_conf jb_conf
ast_channelowner
int reqformat
ast_module_useru_chan
ast_module_useru_owner


Detailed Description

the local pvt structure for all channels

The local channel pvt has two ast_chan objects - the "owner" and the "next channel", the outbound channel

ast_chan owner -> local_pvt -> ast_chan chan -> yet-another-pvt-depending-on-channel-type

Definition at line 140 of file chan_local.c.


Field Documentation

struct ast_channel* chan

Outbound channel - PBX is run here

Definition at line 147 of file chan_local.c.

Referenced by check_bridge(), local_bridgedchannel(), local_call(), local_fixup(), local_hangup(), local_indicate(), local_new(), local_queryoption(), local_queue_frame(), and local_setoption().

char context[AST_MAX_CONTEXT]

Context to call

Definition at line 142 of file chan_local.c.

Referenced by local_devicestate(), and local_new().

char exten[AST_MAX_EXTENSION]

Extension to call

Definition at line 143 of file chan_local.c.

Referenced by local_devicestate(), and local_new().

unsigned int flags

Private flags

Definition at line 141 of file chan_local.c.

struct ast_jb_conf jb_conf

jitterbuffer configuration for this local channel

Definition at line 145 of file chan_local.c.

Referenced by local_new().

struct ast_channel* owner

Master Channel - Bridging happens here

Definition at line 146 of file chan_local.c.

Referenced by check_bridge(), local_bridgedchannel(), local_call(), local_devicestate(), local_fixup(), local_hangup(), local_indicate(), local_new(), local_queryoption(), local_queue_frame(), local_setoption(), and unload_module().

int reqformat

Requested format

Definition at line 144 of file chan_local.c.

Referenced by local_new().

struct ast_module_user* u_chan

reference to keep the module loaded while in use

Definition at line 149 of file chan_local.c.

Referenced by local_hangup(), and local_new().

struct ast_module_user* u_owner

reference to keep the module loaded while in use

Definition at line 148 of file chan_local.c.

Referenced by local_hangup(), and local_new().


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 11:30:13 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7