Displaying 1 result from an estimated 1 matches for "alex_exec".
2003 Nov 11
4
Registering an application
...ude <string.h>
#include <stdlib.h>
#include <pthread.h>
static char *tdesc = "Alex's app";
static char *app = "Alex";
static char *synopsis = "Alex test";
static char *descrip ="Test";
STANDARD_LOCAL_USER;
LOCAL_USER_DECL;
static int alex_exec(struct ast_channel *chan, void *data)
{
return 0;
}
int unload_module(void)
{
STANDARD_HANGUP_LOCALUSERS;
return ast_unregister_application(app);
}
int load_module(void)
{
return ast_register_application(app, alex_exec, synopsis, descrip);
}
char *description(void)
{...