Mon Mar 19 11:30:57 2012

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 815 of file pbx.c.


Field Documentation

const char* app

Application to execute

Definition at line 822 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), ast_extension_state(), ast_extension_state_add_destroy(), ast_get_extension_app(), context_merge(), and pbx_extension_helper().

struct ast_app* cached_app

Cached location of application

Definition at line 823 of file pbx.c.

Referenced by pbx_extension_helper().

const char* cidmatch

Caller id to match for this extension

Definition at line 818 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(), ast_extension_state_add_destroy(), 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 824 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), ast_extension_state(), ast_extension_state_add_destroy(), 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 816 of file pbx.c.

Referenced by __ast_context_destroy(), add_exten_to_pattern_tree(), add_priority(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_extension_state(), ast_extension_state_add_destroy(), cli_match_char_tree(), context_merge(), create_match_char_tree(), get_canmatch_exten(), hashtab_compare_extens(), hashtab_hash_extens(), new_find_extension(), and pbx_find_extension().

const char* label

Label

Definition at line 820 of file pbx.c.

Referenced by add_priority(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_extension_state(), ast_extension_state_add_destroy(), context_merge(), hashtab_compare_exten_labels(), hashtab_hash_labels(), new_find_extension(), and pbx_find_extension().

int matchcid

Match caller id ?

Definition at line 817 of file pbx.c.

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

struct ast_exten* next

Extension with a greater ID

Definition at line 830 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 821 of file pbx.c.

Referenced by ast_add_extension2_lockopt(), ast_extension_state(), and ast_extension_state_add_destroy().

struct ast_exten* peer

Next higher priority with our extension

Definition at line 826 of file pbx.c.

Referenced by __ast_internal_context_destroy(), add_priority(), ast_context_remove_extension_callerid2(), and builtin_blindtransfer().

struct ast_hashtab* peer_label_table

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

Definition at line 828 of file pbx.c.

Referenced by 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 827 of file pbx.c.

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

int priority

Priority

Definition at line 819 of file pbx.c.

Referenced by __ast_context_destroy(), add_priority(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_extension_state(), ast_extension_state_add_destroy(), 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 829 of file pbx.c.

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

char stuff[0]

Definition at line 831 of file pbx.c.

Referenced by ast_add_extension2_lockopt().


The documentation for this struct was generated from the following file:
Generated on Mon Mar 19 11:30:57 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7