|
|
@ -29,6 +29,8 @@
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define STATIC_MODULE
|
|
|
|
|
|
|
|
|
|
|
|
#include "asterisk.h"
|
|
|
|
#include "asterisk.h"
|
|
|
|
|
|
|
|
|
|
|
|
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
|
|
|
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
|
|
@ -341,7 +343,7 @@ static int record_exec(struct ast_channel *chan, void *data)
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int unload_module(void)
|
|
|
|
STATIC_MODULE int unload_module(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int res;
|
|
|
|
int res;
|
|
|
|
|
|
|
|
|
|
|
@ -352,24 +354,26 @@ int unload_module(void)
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int load_module(void)
|
|
|
|
STATIC_MODULE int load_module(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return ast_register_application(app, record_exec, synopsis, descrip);
|
|
|
|
return ast_register_application(app, record_exec, synopsis, descrip);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
char *description(void)
|
|
|
|
STATIC_MODULE char *description(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return tdesc;
|
|
|
|
return tdesc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int usecount(void)
|
|
|
|
STATIC_MODULE int usecount(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int res;
|
|
|
|
int res;
|
|
|
|
STANDARD_USECOUNT(res);
|
|
|
|
STANDARD_USECOUNT(res);
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
char *key()
|
|
|
|
STATIC_MODULE char *key(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return ASTERISK_GPL_KEY;
|
|
|
|
return ASTERISK_GPL_KEY;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
STD_MOD(MOD_1, NULL, NULL, NULL);
|
|
|
|