remove paging device from chan_skinny.

This has never been used, and noone could give us info about what
it is used for.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Michiel van Baak 18 years ago
parent edbe6b7a25
commit 8caf21863e

@ -1109,10 +1109,6 @@ AST_MUTEX_DEFINE_STATIC(netlock);
AST_MUTEX_DEFINE_STATIC(sessionlock); AST_MUTEX_DEFINE_STATIC(sessionlock);
/* Protect the device list */ /* Protect the device list */
AST_MUTEX_DEFINE_STATIC(devicelock); AST_MUTEX_DEFINE_STATIC(devicelock);
#if 0
/* Protect the paging device list */
AST_MUTEX_DEFINE_STATIC(pagingdevicelock);
#endif
/* This is the thread for the monitor which checks for input on the channels /* This is the thread for the monitor which checks for input on the channels
which are not currently in use. */ which are not currently in use. */
@ -1256,13 +1252,6 @@ static struct skinny_device {
struct skinny_line *activeline; struct skinny_line *activeline;
} *devices = NULL; } *devices = NULL;
struct skinny_paging_device {
char name[80];
char id[16];
struct skinny_device ** devices;
struct skinny_paging_device *next;
};
static struct skinnysession { static struct skinnysession {
pthread_t t; pthread_t t;
ast_mutex_t lock; ast_mutex_t lock;
@ -3003,13 +2992,6 @@ static struct ast_cli_entry cli_skinny[] = {
AST_CLI_DEFINE(handle_skinny_reset, "Reset Skinny device(s)"), AST_CLI_DEFINE(handle_skinny_reset, "Reset Skinny device(s)"),
}; };
#if 0
static struct skinny_paging_device *build_paging_device(const char *cat, struct ast_variable *v)
{
return NULL;
}
#endif
static struct skinny_device *build_device(const char *cat, struct ast_variable *v) static struct skinny_device *build_device(const char *cat, struct ast_variable *v)
{ {
struct skinny_device *d; struct skinny_device *d;
@ -6338,12 +6320,6 @@ static int reload_config(void)
while(cat) { while(cat) {
if (!strcasecmp(cat, "general")) { if (!strcasecmp(cat, "general")) {
/* Nothing to do */ /* Nothing to do */
#if 0
} else if (!strncasecmp(cat, "paging-", 7)) {
p = build_paging_device(cat, ast_variable_browse(cfg, cat));
if (p) {
}
#endif
} else { } else {
d = build_device(cat, ast_variable_browse(cfg, cat)); d = build_device(cat, ast_variable_browse(cfg, cat));
if (d) { if (d) {

Loading…
Cancel
Save