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 |
| void * | data |
| void(* | datad )(void *) |
| char * | exten |
| const char * | label |
| int | matchcid |
| 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 |
| 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 850 of file pbx.c.
Referenced by ast_add_extension2_lockopt(), ast_get_extension_app(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), context_merge(), extension_state_add_destroy(), internal_extension_state_extended(), and pbx_extension_helper().
| struct ast_app* cached_app |
Cached location of application
Definition at line 851 of file pbx.c.
Referenced by pbx_extension_helper().
| const char* cidmatch |
Caller id to match for this extension
Definition at line 846 of file pbx.c.
Referenced by __ast_context_destroy(), add_exten_to_pattern_tree(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_get_extension_cidmatch(), ast_hint_presence_state(), context_merge(), extension_state_add_destroy(), handle_cli_dialplan_add_extension(), hashtab_compare_extens(), hashtab_hash_extens(), internal_extension_state_extended(), and show_dialplan_helper().
| void* data |
Data to use (arguments)
Definition at line 852 of file pbx.c.
Referenced by add_priority(), ast_add_extension2_lockopt(), ast_get_extension_app_data(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), context_merge(), destroy_exten(), extension_state_add_destroy(), internal_extension_state_extended(), and pbx_extension_helper().
| void(* datad)(void *) |
Data destructor
Definition at line 853 of file pbx.c.
Referenced by add_priority(), ast_add_extension2_lockopt(), context_merge(), and destroy_exten().
| char* exten |
Extension name
Definition at line 844 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_get_extension_name(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), cli_match_char_tree(), context_merge(), create_match_char_tree(), extension_state_add_destroy(), get_canmatch_exten(), hashtab_compare_extens(), hashtab_hash_extens(), internal_extension_state_extended(), new_find_extension(), pbx_find_extension(), and update_scoreboard().
| const char* label |
Label
Definition at line 848 of file pbx.c.
Referenced by _while_exec(), add_priority(), 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(), internal_extension_state_extended(), new_find_extension(), and pbx_find_extension().
| int matchcid |
Match caller id ?
Definition at line 845 of file pbx.c.
Referenced by __ast_context_destroy(), add_exten_to_pattern_tree(), 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(), and show_dialplan_helper().
Extension with a greater ID
Definition at line 858 of file pbx.c.
Referenced by __ast_internal_context_destroy(), add_priority(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), and ast_walk_context_extensions().
| struct ast_context* parent |
The context this extension belongs to
Definition at line 849 of file pbx.c.
Referenced by 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().
Next higher priority with our extension
Definition at line 854 of file pbx.c.
Referenced by __ast_internal_context_destroy(), add_priority(), ast_context_remove_extension_callerid2(), and ast_walk_extension_priorities().
| struct ast_hashtab* peer_label_table |
labeled priorities in the peers -- only on the head of the peer list
Definition at line 856 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 855 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 847 of file pbx.c.
Referenced by __ast_context_destroy(), add_priority(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_get_extension_priority(), ast_hint_presence_state(), complete_dialplan_remove_extension(), context_merge(), destroy_exten(), extension_state_add_destroy(), hashtab_compare_exten_numbers(), hashtab_hash_priority(), internal_extension_state_extended(), pbx_extension_helper(), and pbx_find_extension().
| const char* registrar |
Registrar
Definition at line 857 of file pbx.c.
Referenced by __ast_context_destroy(), ast_add_extension2_lockopt(), ast_context_remove_extension_callerid2(), ast_get_extension_registrar(), ast_hint_presence_state(), ast_merge_contexts_and_delete(), context_merge(), extension_state_add_destroy(), and internal_extension_state_extended().
| char stuff[0] |
Definition at line 859 of file pbx.c.
Referenced by ast_add_extension2_lockopt().