Fri Jun 19 12:10:59 2009

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


Field Documentation

const char* app

Application to execute

Definition at line 144 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), ast_extension_state_add(), ast_get_extension_app(), context_merge(), and pbx_extension_helper().

struct ast_app* cached_app

Cached location of application

Definition at line 145 of file pbx.c.

Referenced by pbx_extension_helper().

const char* cidmatch

Caller id to match for this extension

Definition at line 140 of file pbx.c.

Referenced by __ast_context_destroy(), add_exten_to_pattern_tree(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_extension_state_add(), ast_get_extension_cidmatch(), context_merge(), hashtab_compare_extens(), hashtab_hash_extens(), and show_dialplan_helper().

void* data

Data to use (arguments)

Definition at line 146 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), ast_extension_state_add(), ast_get_extension_app_data(), context_merge(), and pbx_substitute_variables().

void(* datad)(void *)

Data destructor

Referenced by ast_add_extension2_lockopt(), and context_merge().

char* exten

Extension name

Definition at line 138 of file pbx.c.

Referenced by __ast_context_destroy(), add_exten_to_pattern_tree(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_extension_state_add(), ast_merge_contexts_and_delete(), ast_remove_hint(), cli_match_char_tree(), context_merge(), create_match_char_tree(), get_canmatch_exten(), handle_statechange(), hashtab_compare_extens(), hashtab_hash_extens(), log_match_char_tree(), new_find_extension(), and pbx_find_extension().

const char* label

Label

Definition at line 142 of file pbx.c.

Referenced by add_pri_lockopt(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_extension_state_add(), context_merge(), hashtab_compare_exten_labels(), hashtab_hash_labels(), new_find_extension(), and pbx_find_extension().

int matchcid

Match caller id ?

Definition at line 139 of file pbx.c.

Referenced by add_exten_to_pattern_tree(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_get_extension_matchcid(), hashtab_compare_extens(), hashtab_hash_extens(), and show_dialplan_helper().

struct ast_exten* next

Extension with a greater ID

Definition at line 152 of file pbx.c.

Referenced by __ast_context_destroy(), __ast_internal_context_destroy(), ast_add_extension2_lockopt(), and ast_context_remove_extension_callerid2().

struct ast_context* parent

The context this extension belongs to

Definition at line 143 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), ast_extension_state_add(), ast_merge_contexts_and_delete(), ast_remove_hint(), and handle_statechange().

struct ast_exten* peer

Next higher priority with our extension

Definition at line 148 of file pbx.c.

Referenced by __ast_internal_context_destroy(), add_pri_lockopt(), and ast_context_remove_extension_callerid2().

struct ast_hashtab* peer_label_table

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

Definition at line 150 of file pbx.c.

Referenced by add_pri_lockopt(), ast_add_extension2_lockopt(), and ast_context_remove_extension_callerid2().

struct ast_hashtab* peer_table

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

Definition at line 149 of file pbx.c.

Referenced by __ast_context_destroy(), add_pri_lockopt(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), and context_merge().

int priority

Priority

Definition at line 141 of file pbx.c.

Referenced by __ast_context_destroy(), add_pri_lockopt(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_extension_state_add(), ast_walk_extension_priorities(), complete_dialplan_remove_extension(), context_merge(), destroy_exten(), hashtab_compare_exten_numbers(), hashtab_hash_priority(), pbx_extension_helper(), and pbx_find_extension().

const char* registrar

Registrar

Definition at line 151 of file pbx.c.

Referenced by __ast_context_destroy(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_extension_state_add(), ast_get_extension_registrar(), and context_merge().

char stuff[0]

Definition at line 153 of file pbx.c.

Referenced by ast_add_extension2_lockopt().


The documentation for this struct was generated from the following file:
Generated on Fri Jun 19 12:10:59 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7