Sat Mar 26 11:40:26 2011

Asterisk developer's documentation


local_pvt Struct Reference

the local pvt structure for all channels More...

Collaboration diagram for local_pvt:

Collaboration graph
[legend]

Data Fields

struct ast_channel * chan
char context [AST_MAX_CONTEXT]
char exten [AST_MAX_EXTENSION]
unsigned int flags
struct ast_jb_conf jb_conf
struct {
   struct local_pvt *   next
} list
ast_mutex_t lock
struct ast_channel * owner
int reqformat
struct ast_module_user * u_chan
struct ast_module_user * u_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 132 of file chan_local.c.


Field Documentation

struct ast_channel* chan [read]

char context[AST_MAX_CONTEXT]

Context to call

Definition at line 135 of file chan_local.c.

Referenced by local_alloc(), local_devicestate(), local_new(), and locals_show().

char exten[AST_MAX_EXTENSION]

Extension to call

Definition at line 136 of file chan_local.c.

Referenced by local_alloc(), local_devicestate(), local_new(), and locals_show().

unsigned int flags

Private flags

Definition at line 134 of file chan_local.c.

struct ast_jb_conf jb_conf [read]

jitterbuffer configuration for this local channel

Definition at line 138 of file chan_local.c.

Referenced by local_alloc(), and local_new().

struct { ... } list

Next entity

struct local_pvt* next [read]

Definition at line 143 of file chan_local.c.

struct ast_channel* owner [read]

int reqformat

Requested format

Definition at line 137 of file chan_local.c.

Referenced by local_alloc(), and local_new().

struct ast_module_user* u_chan [read]

reference to keep the module loaded while in use

Definition at line 142 of file chan_local.c.

Referenced by local_hangup(), and local_new().

struct ast_module_user* u_owner [read]

reference to keep the module loaded while in use

Definition at line 141 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 Sat Mar 26 11:40:30 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.9