Asterisk - The Open Source Telephony Project
18.5.0
|
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_app * | cached_app |
const char * | cidmatch |
const char * | cidmatch_display |
void * | data |
void(* | datad )(void *) |
char * | exten |
const char * | label |
int | matchcid |
char * | name |
struct ast_exten * | next |
struct ast_context * | parent |
struct ast_exten * | peer |
struct ast_hashtab * | peer_label_table |
struct ast_hashtab * | peer_table |
int | priority |
const char * | registrar |
const char * | registrar_file |
int | registrar_line |
char | stuff [0] |
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.
const char * app |
Application to execute
Definition at line 246 of file pbx.c.
Referenced by action_extensionstatelist(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_add_hint(), ast_get_extension_app(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), context_merge(), extension_presence_state_helper(), extension_state_add_destroy(), internal_extension_state_extended(), main(), pbx_extension_helper(), and pbx_outgoing_exec().
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_context_destroy(), add_exten_to_pattern_tree(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_hint_presence_state(), context_merge(), extension_state_add_destroy(), hashtab_compare_extens(), hashtab_hash_extens(), internal_extension_state_extended(), pbx_find_extension(), and show_dialplan_helper().
const char* cidmatch_display |
Caller id to match (display version)
Definition at line 242 of file pbx.c.
Referenced by ast_add_extension2_lockopt(), and ast_get_extension_cidmatch().
void * data |
Data to use (arguments)
Definition at line 248 of file pbx.c.
Referenced by _extension_match_core(), add_extension(), add_pri(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_get_extension_app_data(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), context_merge(), destroy_exten(), exception_store_free(), extension_state_add_destroy(), hintdevice_remove_cb(), internal_extension_state_extended(), main(), pbx_extension_helper(), and pbx_thread().
void(* datad)(void *) |
Data destructor
Definition at line 249 of file pbx.c.
Referenced by add_pri(), ast_add_extension(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_add_extension2_nolock(), ast_add_extension_nolock(), destroy_exten(), and localized_add_extension2().
char * exten |
Clean Extension id
Extension name
Definition at line 238 of file pbx.c.
Referenced by __ast_context_destroy(), __ast_goto_if_exists(), action_extensionstatelist(), add_exten_to_pattern_tree(), add_pri(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_add_hint(), ast_context_remove_extension_callerid2(), ast_get_context_name(), ast_get_extension_name(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), ast_walk_extension_priorities(), create_match_char_tree(), extension_state_add_destroy(), get_canmatch_exten(), handle_debug_dialplan(), handle_show_device2extenstate(), handle_show_dialplan(), hashtab_compare_extens(), hashtab_hash_extens(), hint_cmp(), internal_extension_state_extended(), main(), manager_show_dialplan(), pbx_find_extension(), pbx_parseable_goto(), raise_exception(), and update_scoreboard().
const char * label |
Label
Definition at line 244 of file pbx.c.
Referenced by _if_exec(), _while_exec(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_get_extension_label(), ast_hint_presence_state(), context_merge(), extension_state_add_destroy(), handle_cli_dialplan_save(), hashtab_compare_exten_labels(), hashtab_hash_labels(), include_valid(), internal_extension_state_extended(), new_find_extension(), and pbx_find_extension().
int matchcid |
Match caller id ?
Definition at line 240 of file pbx.c.
Referenced by __ast_context_destroy(), add_exten_to_pattern_tree(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_get_extension_matchcid(), ast_hint_presence_state(), context_merge(), extension_state_add_destroy(), hashtab_compare_extens(), hashtab_hash_extens(), internal_extension_state_extended(), pbx_find_extension(), and show_dialplan_helper().
char* name |
Extension name (may include '-' eye candy)
Definition at line 239 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_custom_function_find(), ast_get_extension_name(), cli_match_char_tree(), context_merge(), PathSegment::get_child(), Parameter::load(), SwaggerType::load(), Property::load(), new_find_extension(), pbx_find_extension(), and pbx_outgoing_attempt().
struct ast_exten * next |
Extension with a greater ID
Definition at line 256 of file pbx.c.
Referenced by __ast_context_destroy(), __ast_internal_context_destroy(), add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_merge_contexts_and_delete(), ast_walk_context_extensions(), ast_walk_context_ignorepats(), ast_walk_context_includes(), and ast_walk_context_switches().
struct ast_context * parent |
The context this extension belongs to
Definition at line 245 of file pbx.c.
Referenced by action_extensionstatelist(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_get_extension_context(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), extension_state_add_destroy(), and internal_extension_state_extended().
struct ast_exten * peer |
Next higher priority with our extension
Definition at line 250 of file pbx.c.
Referenced by __ast_context_destroy(), __ast_internal_context_destroy(), add_pri(), add_priority(), ast_context_remove_extension_callerid2(), ast_walk_extension_priorities(), and main().
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(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), and destroy_exten().
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 __ast_context_destroy(), add_priority(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), context_merge(), and destroy_exten().
int priority |
Priority
Definition at line 243 of file pbx.c.
Referenced by __ast_context_destroy(), __ast_goto_if_exists(), add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_explicit_goto(), ast_get_extension_priority(), ast_hint_presence_state(), context_merge(), destroy_exten(), extension_state_add_destroy(), hashtab_compare_exten_numbers(), hashtab_hash_priority(), internal_extension_state_extended(), main(), pbx_extension_helper(), pbx_find_extension(), and pbx_outgoing_attempt().
const char * registrar |
Registrar
Definition at line 253 of file pbx.c.
Referenced by __ast_context_destroy(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_context_set_autohints(), ast_get_extension_registrar(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), ast_walk_contexts(), context_merge(), extension_state_add_destroy(), and internal_extension_state_extended().
const char* registrar_file |
File name used to register extension
Definition at line 254 of file pbx.c.
Referenced by ast_add_extension2_lockopt(), ast_get_extension_registrar_file(), and context_merge().
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(), ast_get_extension_registrar_line(), and context_merge().
char stuff |
Definition at line 257 of file pbx.c.
Referenced by ast_add_extension2(), and ast_add_extension2_lockopt().