Asterisk Source/Pbx Config
|
[edit]
AsteriskSource/PbxConfig ¶* pbx/pbx_config.c
* load_module
/* An extension context */
struct ast_context {
/* Name of the context */
char name[AST_MAX_EXTENSION];
/* A lock to prevent multiple threads from clobbering the context */
pthread_mutex_t lock;
/* The root of the list of extensions */
struct ast_exten *root;
/* Link them together */
struct ast_context *next;
};
* struct ast_context *ast_context_create(char *name)
int replace, char *extension, int priority,
char *application, void *data, void (*datad)(void *))
/* An extension */
struct ast_exten {
char exten[AST_MAX_EXTENSION];
int priority;
/* An extension */
struct ast_context *parent;
/* Application to execute */
char app[AST_MAX_EXTENSION];
/* Data to use */
void *data;
/* Data destructor */
void (*datad)(void *);
/* Next highest priority with our extension */
struct ast_exten *peer;
/* Extension with a greater ID */
struct ast_exten *next;
};
|
You have a strong desire for a home and your family interests come first. |









