24 #ifndef _ASTERISK_EXTCONF_H
25 #define _ASTERISK_EXTCONF_H
27 #if defined(__cplusplus) || defined(c_plusplus)
86 enum ast_xmldoc_src
docsrc;
100 const char *cidmatch;
107 void (*datad)(
void *);
108 struct ast_exten *
peer;
110 struct ast_exten *
next;
117 unsigned int monthmask;
118 unsigned int daymask;
119 unsigned int dowmask;
120 unsigned int minmask[24];
147 struct ast_ignorepat *
next;
191 const char *data,
int eval,
const char *
registrar);
195 int replace,
const char *
extension,
int priority,
const char *label,
const char *callerid,
196 const char *application,
void *data,
void (*datad)(
void *),
208 #ifndef _ASTERISK_PBX_H
223 #define AST_PBX_MAX_STACK 128
241 #define STATUS_NO_CONTEXT 1
242 #define STATUS_NO_EXTENSION 2
243 #define STATUS_NO_PRIORITY 3
244 #define STATUS_NO_LABEL 4
245 #define STATUS_SUCCESS 5
255 const char *callerid,
259 #if defined(__cplusplus) || defined(c_plusplus)
ast_include: include= support in extensions.conf
enum sip_cc_notify_state state
const ast_string_field description
static char exten[AST_MAX_EXTENSION]
struct ast_comment * precomments
Main Channel structure associated with a channel.
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_include * next
static const char config[]
const ast_string_field synopsis
struct ast_category * current
struct ast_include * localized_walk_context_includes(struct ast_context *con, struct ast_include *inc)
int(* ast_state_cb_type)(char *context, char *id, enum ast_extension_states state, void *data)
Typedef for devicestate and hint callbacks.
struct ast_sw * localized_walk_context_switches(struct ast_context *con, struct ast_sw *sw)
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)
struct ast_variable * last
struct ast_category * next
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
int localized_config_text_file_save(const char *configfile, const struct ast_config *cfg, const char *generator)
char stuff[0]
Contents of file, name, and value in that order stuffed here.
struct ast_category * last_browse
struct ast_exten * localized_walk_context_extensions(struct ast_context *con, struct ast_exten *exten)
void localized_use_local_dir(void)
ast_sw: Switch statement in extensions.conf
struct ast_variable * root
void localized_merge_contexts_and_delete(struct ast_context **extcontexts, void *tab, const char *registrar)
#define AST_STRING_FIELD(name)
Declare a string field.
int localized_context_add_include2(struct ast_context *con, const char *value, const char *registrar)
struct ast_config * localized_config_load(const char *filename)
#define AST_LIST_HEAD_NOLOCK(name, type)
Defines a structure to be used to hold a list of specified type (with no lock).
static struct ast_generator generator
const ast_string_field syntax
struct ast_context * localized_walk_contexts(struct ast_context *con)
ast_ignorepat: Ignore patterns in dial plan
struct ast_comment * sameline
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
struct ast_context * next
struct ast_context * localized_context_find_or_create(struct ast_context **extcontexts, void *tab, const char *name, const char *registrar)
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)
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
struct ast_category * localized_category_get(const struct ast_config *config, const char *category_name)
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_exten * localized_walk_extension_priorities(struct ast_exten *exten, struct ast_exten *priority)
int localized_pbx_load_module(void)
struct ast_category * last
static int replace(struct ast_channel *chan, const char *cmd, char *data, struct ast_str **buf, ssize_t len)
struct ast_comment * precomments
struct ast_config * localized_config_load_with_comments(const char *filename)
Structure for rwlock and tracking information.
ast_app: A registered application
struct ast_category * root
int localized_context_verify_includes(struct ast_context *con)
struct ast_comment * sameline
const ast_string_field seealso
struct ast_variable * next
static char context[AST_MAX_CONTEXT]
int(* execute)(struct ast_channel *chan, const char *data)
ast_context: An extension context
struct ast_ignorepat * next
Structure for mutex and tracking information.
int localized_pbx_builtin_setvar(struct ast_channel *chan, const void *data)
const ast_string_field arguments
void localized_use_conf_dir(void)