[asterisk-commits] mvanbaak: trunk r125593 - /trunk/channels/chan_skinny.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 26 18:14:09 CDT 2008
Author: mvanbaak
Date: Thu Jun 26 18:14:08 2008
New Revision: 125593
URL: http://svn.digium.com/view/asterisk?view=rev&rev=125593
Log:
remove paging device from chan_skinny.
This has never been used, and noone could give us info about what
it is used for.
Modified:
trunk/channels/chan_skinny.c
Modified: trunk/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=125593&r1=125592&r2=125593
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Thu Jun 26 18:14:08 2008
@@ -1109,10 +1109,6 @@
AST_MUTEX_DEFINE_STATIC(sessionlock);
/* Protect the device list */
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
which are not currently in use. */
@@ -1255,13 +1251,6 @@
struct skinny_device *next;
struct skinny_line *activeline;
} *devices = NULL;
-
-struct skinny_paging_device {
- char name[80];
- char id[16];
- struct skinny_device ** devices;
- struct skinny_paging_device *next;
-};
static struct skinnysession {
pthread_t t;
@@ -3003,13 +2992,6 @@
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)
{
struct skinny_device *d;
@@ -6338,12 +6320,6 @@
while(cat) {
if (!strcasecmp(cat, "general")) {
/* 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 {
d = build_device(cat, ast_variable_browse(cfg, cat));
if (d) {
More information about the asterisk-commits
mailing list