24 #ifndef _ASTERISK_EXTCONF_H 25 #define _ASTERISK_EXTCONF_H 27 #if defined(__cplusplus) || defined(c_plusplus) 71 int max_include_level;
86 enum ast_xmldoc_src docsrc;
100 const char *cidmatch;
107 void (*datad)(
void *);
117 unsigned int monthmask;
118 unsigned int daymask;
119 unsigned int dowmask;
120 unsigned int minmask[24];
191 const char *data,
int eval,
const char *
registrar);
196 const char *application,
void *data,
void (*datad)(
void *),
208 #ifndef _ASTERISK_PBX_H 224 #define AST_PBX_MAX_STACK 128 226 #define AST_PBX_MAX_STACK 512 245 #define STATUS_NO_CONTEXT 1 246 #define STATUS_NO_EXTENSION 2 247 #define STATUS_NO_PRIORITY 3 248 #define STATUS_NO_LABEL 4 249 #define STATUS_SUCCESS 5 259 const char *callerid,
263 #if defined(__cplusplus) || defined(c_plusplus) struct ast_config * localized_config_load_with_comments(const char *filename)
ast_include: include= support in extensions.conf
static const char synopsis[]
enum sip_cc_notify_state state
static char exten[AST_MAX_EXTENSION]
Main Channel structure associated with a channel.
struct ast_exten * localized_walk_extension_priorities(struct ast_exten *exten, struct ast_exten *priority)
ast_extension_states
Extension states.
ast_exten: An extension The dialplan is saved as a linked list with each context having it's own link...
struct ast_context * localized_context_find_or_create(struct ast_context **extcontexts, void *tab, const char *name, const char *registrar)
static SQLHSTMT execute(struct odbc_obj *obj, void *data, int silent)
Common execution function for SQL queries.
struct ast_context * localized_walk_contexts(struct ast_context *con)
Structure for variables, used for configurations and for channel variables.
int localized_context_add_ignorepat2(struct ast_context *con, const char *value, const char *registrar)
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
struct ast_exten * localized_walk_context_extensions(struct ast_context *con, struct ast_exten *exten)
int localized_config_text_file_save(const char *configfile, const struct ast_config *cfg, const char *generator)
struct ast_config * localized_config_load(const char *filename)
struct ast_exten * localized_find_extension(struct ast_context *bypass, struct pbx_find_info *q, const char *context, const char *exten, int priority, const char *label, const char *callerid, enum ext_match_t action)
void localized_use_local_dir(void)
ast_sw: Switch statement in extensions.conf
void localized_merge_contexts_and_delete(struct ast_context **extcontexts, void *tab, const char *registrar)
struct sla_ringing_trunk * last
struct ast_sw * localized_walk_context_switches(struct ast_context *con, struct ast_sw *sw)
#define AST_STRING_FIELD(name)
Declare a string field.
structure to hold extensions
int localized_context_add_include2(struct ast_context *con, const char *value, const char *registrar)
struct ast_variable * root
char stuff[0]
Contents of file, name, and value in that order stuffed here.
AST_LIST_HEAD_NOLOCK(contactliststruct, contact)
static struct ast_generator generator
ast_ignorepat: Ignore patterns in dial plan
int localized_context_add_switch2(struct ast_context *con, const char *value, const char *data, int eval, const char *registrar)
#define AST_PBX_MAX_STACK
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
static int matchcid(const char *cidpattern, const char *callerid)
int localized_add_extension2(struct ast_context *con, int replace, const char *extension, int priority, const char *label, const char *callerid, const char *application, void *data, void(*datad)(void *), const char *registrar)
const char * foundcontext
void localized_context_destroy(struct ast_context *con, const char *registrar)
struct ast_include * localized_walk_context_includes(struct ast_context *con, struct ast_include *inc)
int localized_pbx_load_module(void)
struct ast_category * localized_category_get(const struct ast_config *config, const char *category_name)
static int replace(struct ast_channel *chan, const char *cmd, char *data, struct ast_str **buf, ssize_t len)
Structure for rwlock and tracking information.
ast_app: A registered application
int localized_context_verify_includes(struct ast_context *con)
int(* ast_state_cb_type)(const char *context, const char *exten, struct ast_state_cb_info *info, void *data)
Typedef for devicestate and hint callbacks.
static char context[AST_MAX_CONTEXT]
ast_context: An extension context - must remain in sync with fake_context
Structure for mutex and tracking information.
int localized_pbx_builtin_setvar(struct ast_channel *chan, const void *data)
void localized_use_conf_dir(void)