Asterisk - The Open Source Telephony Project
18.5.0
|
ast_context: An extension context - must remain in sync with fake_context More...
Data Fields | |
struct { | |
struct ast_sw * first | |
struct ast_sw * last | |
} | alts |
struct ast_sws | alts |
struct { | |
struct ast_sw * first | |
struct ast_sw * last | |
} | alts |
int | autohints |
struct namelist * | eswitches |
struct namelist * | eswitches_last |
int | extension_count |
struct namelist * | ignorepats |
struct ast_ignorepat * | ignorepats |
struct ast_ignorepats | ignorepats |
struct namelist * | ignorepats_last |
struct namelist * | includes |
struct ast_include * | includes |
struct ast_includes | includes |
struct namelist * | includes_last |
ast_rwlock_t | lock |
ast_mutex_t | macrolock |
char | name [0] |
struct ast_context * | next |
struct match_char * | pattern_tree |
int | refcount |
char | registrar [100] |
const char * | registrar |
char * | registrar |
struct ast_exten * | root |
struct ast_hashtab * | root_table |
struct namelist * | switches |
struct namelist * | switches_last |
ast_context: An extension context - must remain in sync with fake_context
ast_context: An extension context
struct { ... } alts |
Alternative switches
struct ast_sws alts |
Alternative switches
Definition at line 292 of file pbx.c.
Referenced by __ast_context_destroy(), __ast_internal_context_destroy(), ast_context_add_switch2(), ast_context_find_or_create(), ast_context_remove_switch2(), ast_context_switches_count(), ast_context_switches_get(), ast_walk_context_switches(), main(), and pbx_find_extension().
struct { ... } alts |
Alternative switches
int autohints |
Whether autohints support is enabled or not
Definition at line 295 of file pbx.c.
Referenced by ast_context_set_autohints(), context_merge(), context_table_create_autohints(), and show_dialplan_helper().
struct namelist* eswitches |
Definition at line 54 of file ael_main.c.
Referenced by ast_add_extension2(), ast_context_add_switch2(), and main().
struct namelist* eswitches_last |
Definition at line 59 of file ael_main.c.
int extension_count |
Definition at line 48 of file ael_main.c.
Referenced by ast_add_extension2(), and main().
struct ast_sw* first |
Definition at line 181 of file conf2ael.c.
struct namelist* ignorepats |
Definition at line 52 of file ael_main.c.
struct ast_ignorepat* ignorepats |
Patterns for which to continue playing dialtone
Definition at line 179 of file conf2ael.c.
struct ast_ignorepat * ignorepats |
Patterns for which to continue playing dialtone
Definition at line 291 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_internal_context_destroy(), ast_add_extension2(), ast_context_add_ignorepat2(), ast_context_find_or_create(), ast_context_ignorepats_count(), ast_context_ignorepats_get(), ast_context_remove_ignorepat2(), ast_walk_context_ignorepats(), and main().
struct namelist* ignorepats_last |
Definition at line 57 of file ael_main.c.
struct namelist* includes |
Definition at line 51 of file ael_main.c.
struct ast_include* includes |
Include other contexts
Definition at line 178 of file conf2ael.c.
struct ast_include * includes |
Include other contexts
Definition at line 290 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_internal_context_destroy(), ast_add_extension2(), ast_context_add_include2(), ast_context_find_or_create(), ast_context_includes_count(), ast_context_includes_get(), ast_context_remove_include2(), ast_walk_context_includes(), main(), and pbx_find_extension().
struct namelist* includes_last |
Definition at line 56 of file ael_main.c.
struct ast_sw* last |
Definition at line 181 of file conf2ael.c.
ast_rwlock_t lock |
A lock to prevent multiple threads from clobbering the context
Definition at line 285 of file pbx.c.
Referenced by __ast_context_create(), __ast_internal_context_destroy(), ast_context_find_or_create(), ast_rdlock_context(), ast_unlock_context(), and ast_wrlock_context().
ast_mutex_t macrolock |
A lock to implement "exclusive" macros - held whilst a call is executing in the macro
Definition at line 296 of file pbx.c.
Referenced by __ast_context_create(), __ast_internal_context_destroy(), ast_context_find_or_create(), ast_context_lockmacro(), and ast_context_unlockmacro().
char name |
Name of the context
Definition at line 297 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), action_extensionstatelist(), add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_create(), ast_context_find(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), ast_get_context_name(), ast_hashtab_compare_contexts(), ast_hashtab_hash_contexts(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), context_merge(), context_table_create_autohints(), create_match_char_tree(), extension_state_add_destroy(), PathSegment::get_child(), internal_extension_state_extended(), Parameter::load(), SwaggerType::load(), Property::load(), localized_pbx_load_module(), main(), pbx_extension_helper(), pbx_find_extension(), and show_debug_helper().
struct ast_context * next |
Link them together
Definition at line 289 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), ast_context_create(), ast_context_find_or_create(), ast_merge_contexts_and_delete(), ast_walk_contexts(), and main().
struct match_char* pattern_tree |
A tree to speed up extension pattern matching
Definition at line 288 of file pbx.c.
Referenced by __ast_internal_context_destroy(), add_exten_to_pattern_tree(), add_pattern_node(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), pbx_find_extension(), and show_debug_helper().
int refcount |
each module that would have created this context should inc/dec this as appropriate
Definition at line 294 of file pbx.c.
Referenced by __ast_context_destroy(), ast_context_find_or_create(), and context_merge().
char registrar[100] |
Definition at line 50 of file ael_main.c.
const char* registrar |
Registrar
Definition at line 180 of file conf2ael.c.
const char * registrar |
Registrar – make sure you malloc this, as the registrar may have to survive module unloads
Registrar
Definition at line 293 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_internal_context_destroy(), ast_context_create(), ast_context_find_or_create(), ast_get_context_registrar(), ast_merge_contexts_and_delete(), context_merge(), and context_table_create_autohints().
struct ast_exten * root |
The root of the list of extensions
Definition at line 286 of file pbx.c.
Referenced by __ast_context_create(), __ast_context_destroy(), __ast_internal_context_destroy(), add_pri(), add_priority(), ast_add_extension2(), ast_add_extension2_lockopt(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), and ast_walk_context_extensions().
struct ast_hashtab* root_table |
For exact matches on the extensions in the pattern tree, and for traversals of the pattern_tree
Definition at line 287 of file pbx.c.
Referenced by __ast_context_destroy(), __ast_internal_context_destroy(), add_priority(), ast_add_extension2_lockopt(), ast_context_find_or_create(), ast_context_remove_extension_callerid2(), context_merge(), create_match_char_tree(), and pbx_find_extension().
Definition at line 53 of file ael_main.c.
Referenced by ast_add_extension2(), ast_context_add_switch2(), and main().
struct namelist* switches_last |
Definition at line 58 of file ael_main.c.