Sat Aug 6 00:40:07 2011

Asterisk developer's documentation


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
const char * cidmatch
void * data
void(* datad )(void *)
char * exten
const char * label
int matchcid
ast_extennext
ast_contextparent
ast_extenpeer
int priority
const char * registrar
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 117 of file pbx.c.


Field Documentation

const char* app

Application to execute

Definition at line 124 of file pbx.c.

Referenced by ast_add_extension2(), ast_get_extension_app(), and pbx_extension_helper().

const char* cidmatch

Caller id to match for this extension

Definition at line 120 of file pbx.c.

Referenced by ast_add_extension2(), ast_context_remove_extension_callerid2(), ast_get_extension_cidmatch(), pbx_find_extension(), and show_dialplan_helper().

void* data

Data to use (arguments)

Definition at line 125 of file pbx.c.

Referenced by add_pri(), ast_add_extension2(), ast_get_extension_app_data(), and pbx_substitute_variables().

void(* datad)(void *)

Data destructor

Referenced by add_pri(), and ast_add_extension2().

char* exten

Extension name

Definition at line 118 of file pbx.c.

Referenced by add_pri(), ast_add_extension2(), ast_context_remove_extension_callerid2(), ast_hint_state_changed(), ast_merge_contexts_and_delete(), ast_remove_hint(), and pbx_find_extension().

const char* label

Label

Definition at line 122 of file pbx.c.

Referenced by ast_add_extension2(), and pbx_find_extension().

int matchcid

Match caller id ?

Definition at line 119 of file pbx.c.

Referenced by ast_add_extension2(), ast_get_extension_matchcid(), pbx_find_extension(), and show_dialplan_helper().

struct ast_exten* next

Extension with a greater ID

Definition at line 129 of file pbx.c.

Referenced by __ast_context_destroy(), add_pri(), ast_add_extension2(), and ast_context_remove_extension_callerid2().

struct ast_context* parent

The context this extension belongs to

Definition at line 123 of file pbx.c.

Referenced by ast_add_extension2(), ast_hint_state_changed(), ast_merge_contexts_and_delete(), and ast_remove_hint().

struct ast_exten* peer

Next higher priority with our extension

Definition at line 127 of file pbx.c.

Referenced by __ast_context_destroy(), add_pri(), and ast_context_remove_extension_callerid2().

int priority

Priority

Definition at line 121 of file pbx.c.

Referenced by add_pri(), ast_add_extension2(), ast_context_remove_extension_callerid2(), ast_walk_extension_priorities(), complete_context_remove_extension(), complete_context_remove_extension_deprecated(), destroy_exten(), pbx_extension_helper(), and pbx_find_extension().

const char* registrar

Registrar

Definition at line 128 of file pbx.c.

Referenced by ast_add_extension2(), ast_context_remove_extension_callerid2(), and ast_get_extension_registrar().

char stuff[0]

Definition at line 130 of file pbx.c.

Referenced by ast_add_extension2().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:07 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7