Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_exten Struct Reference

ast_exten: An extension The dialplan is saved as a linked list with each context having it's own linked list of extensions - one item per priority. More...

Data Fields

const char * app
 
struct ast_appcached_app
 
const char * cidmatch
 
const char * cidmatch_display
 
void * data
 
void(* datad )(void *)
 
char * exten
 
const char * label
 
int matchcid
 
char * name
 
struct ast_extennext
 
struct ast_contextparent
 
struct ast_extenpeer
 
struct ast_hashtabpeer_label_table
 
struct ast_hashtabpeer_table
 
int priority
 
const char * registrar
 
const char * registrar_file
 
int registrar_line
 
char stuff [0]
 

Detailed Description

ast_exten: An extension The dialplan is saved as a linked list with each context having it's own linked list of extensions - one item per priority.

Definition at line 237 of file pbx.c.

Field Documentation

const char * app
struct ast_app * cached_app

Cached location of application

Definition at line 247 of file pbx.c.

Referenced by pbx_extension_helper().

const char * cidmatch

Caller id to match for this extension

Definition at line 241 of file pbx.c.

Referenced by ast_add_extension2(), ast_add_extension2_lockopt(), and ast_hint_presence_state().

const char* cidmatch_display

Caller id to match (display version)

Definition at line 242 of file pbx.c.

Referenced by ast_add_extension2_lockopt().

void * data
void(* datad)(void *)

Data destructor

Definition at line 249 of file pbx.c.

Referenced by add_pri(), ast_add_extension2(), and ast_add_extension2_lockopt().

char * exten

Clean Extension id

Extension name

Definition at line 238 of file pbx.c.

Referenced by add_pri(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_add_hint(), ast_hint_presence_state(), and ast_merge_contexts_and_delete().

const char * label
int matchcid

Match caller id ?

Definition at line 240 of file pbx.c.

Referenced by ast_add_extension2(), ast_add_extension2_lockopt(), and ast_hint_presence_state().

char* name

Extension name (may include '-' eye candy)

Definition at line 239 of file pbx.c.

Referenced by PathSegment::__init__(), add_priority(), ast_add_extension2_lockopt(), and PathSegment::get_child().

struct ast_exten * next

Extension with a greater ID

Definition at line 256 of file pbx.c.

Referenced by add_pri(), add_priority(), ast_add_extension2(), and ast_add_extension2_lockopt().

struct ast_context * parent

The context this extension belongs to

Definition at line 245 of file pbx.c.

Referenced by ast_add_extension2(), ast_add_extension2_lockopt(), ast_hint_presence_state(), and ast_merge_contexts_and_delete().

struct ast_exten * peer

Next higher priority with our extension

Definition at line 250 of file pbx.c.

Referenced by add_pri(), and add_priority().

struct ast_hashtab* peer_label_table

labeled priorities in the peers – only on the head of the peer list

Definition at line 252 of file pbx.c.

Referenced by add_priority(), and ast_add_extension2_lockopt().

struct ast_hashtab* peer_table

Priorities list in hashtab form – only on the head of the peer list

Definition at line 251 of file pbx.c.

Referenced by add_priority(), and ast_add_extension2_lockopt().

int priority
const char * registrar
const char* registrar_file

File name used to register extension

Definition at line 254 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), and ast_get_extension_registrar_file().

int registrar_line

Line number the extension was registered in text

Definition at line 255 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), and ast_get_extension_registrar_line().


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