[asterisk-commits] tilghman: trunk r43452 - in /trunk: apps/ channels/ doc/ pbx/ res/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Sep 21 14:59:13 MST 2006


Author: tilghman
Date: Thu Sep 21 16:59:12 2006
New Revision: 43452

URL: http://svn.digium.com/view/asterisk?rev=43452&view=rev
Log:
Lots more removal of deprecated things

Removed:
    trunk/apps/app_settransfercapability.c
Modified:
    trunk/channels/chan_agent.c
    trunk/channels/chan_alsa.c
    trunk/channels/chan_features.c
    trunk/channels/chan_h323.c
    trunk/channels/chan_iax2.c
    trunk/channels/chan_local.c
    trunk/channels/chan_mgcp.c
    trunk/channels/chan_oss.c
    trunk/channels/chan_sip.c
    trunk/channels/chan_skinny.c
    trunk/doc/ip-tos.txt
    trunk/pbx/pbx_config.c
    trunk/res/res_agi.c
    trunk/res/res_convert.c
    trunk/res/res_crypto.c
    trunk/res/res_features.c
    trunk/res/res_indications.c
    trunk/res/res_musiconhold.c
    trunk/res/res_odbc.c

Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=43452&r1=43451&r2=43452&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Thu Sep 21 16:59:12 2006
@@ -77,11 +77,9 @@
 static const char config[] = "agents.conf";
 
 static const char app[] = "AgentLogin";
-static const char app2[] = "AgentCallbackLogin";
 static const char app3[] = "AgentMonitorOutgoing";
 
 static const char synopsis[] = "Call agent login";
-static const char synopsis2[] = "Call agent callback login";
 static const char synopsis3[] = "Record agent's outgoing call";
 
 static const char descrip[] =
@@ -92,14 +90,6 @@
 "the star key.\n"
 "The option string may contain zero or more of the following characters:\n"
 "      's' -- silent login - do not announce the login ok segment after agent logged in/off\n";
-
-static const char descrip2[] =
-"  AgentCallbackLogin([AgentNo][|[options][|[exten]@context]]):\n"
-"Asks the agent to login to the system with callback.\n"
-"The agent's callback extension is called (optionally with the specified\n"
-"context).\n"
-"The option string may contain zero or more of the following characters:\n"
-"      's' -- silent login - do not announce the login ok segment agent logged in/off\n";
 
 static const char descrip3[] =
 "  AgentMonitorOutgoing([options]):\n"
@@ -1733,24 +1723,14 @@
 "       Sets an agent as no longer logged in.\n"
 "       If 'soft' is specified, do not hangup existing calls.\n";
 
-static struct ast_cli_entry cli_show_agents_deprecated = {
-	{ "show", "agents", NULL },
-	agents_show, NULL,
-	NULL, NULL };
-
-static struct ast_cli_entry cli_show_agents_online_deprecated = {
-	{ "show", "agents", "online" },
-	agents_show_online, NULL,
-	NULL, NULL };
-
 static struct ast_cli_entry cli_agents[] = {
 	{ { "agent", "list", NULL },
 	agents_show, "Show status of agents",
-	show_agents_usage, NULL, &cli_show_agents_deprecated },
+	show_agents_usage },
 
 	{ { "agent", "list", "online" },
 	agents_show_online, "Show all online agents",
-	show_agents_online_usage, NULL, &cli_show_agents_online_deprecated },
+	show_agents_online_usage },
 
 	{ { "agent", "logoff", NULL },
 	agent_logoff_cmd, "Sets an agent offline",
@@ -2200,117 +2180,6 @@
 	return __login_exec(chan, data, 0);
 }
 
-static void callback_deprecated(void)
-{
-	static int depwarning = 0;
-
-	if (!depwarning) {
-		depwarning = 1;
-
-		ast_log(LOG_WARNING, "AgentCallbackLogin is deprecated and will be removed in a future release.\n");
-		ast_log(LOG_WARNING, "See doc/queues-with-callback-members.txt for an example of how to achieve\n");
-		ast_log(LOG_WARNING, "the same functionality using only dialplan logic.\n");
-	}
-}
-
-/*!
- *  Called by the AgentCallbackLogin application (from the dial plan).
- * 
- * \param chan
- * \param data
- * \returns
- * \sa login_exec(), agentmonitoroutgoing_exec(), load_module().
- */
-static int callback_exec(struct ast_channel *chan, void *data)
-{
-	callback_deprecated();
-
-	return __login_exec(chan, data, 1);
-}
-
-/*!
- * Sets an agent as logged in by callback in the Manager API.
- * It is registered on load_module() and it gets called by the manager backend.
- * \param s
- * \param m
- * \returns 
- * \sa action_agents(), action_agent_logoff(), load_module().
- */
-static int action_agent_callback_login(struct mansession *s, struct message *m)
-{
-	char *agent = astman_get_header(m, "Agent");
-	char *exten = astman_get_header(m, "Exten");
-	char *context = astman_get_header(m, "Context");
-	char *wrapuptime_s = astman_get_header(m, "WrapupTime");
-	char *ackcall_s = astman_get_header(m, "AckCall");
-	struct agent_pvt *p;
-	int login_state = 0;
-
-	callback_deprecated();
-
-	if (ast_strlen_zero(agent)) {
-		astman_send_error(s, m, "No agent specified");
-		return 0;
-	}
-
-	if (ast_strlen_zero(exten)) {
-		astman_send_error(s, m, "No extension specified");
-		return 0;
-	}
-
-	AST_LIST_LOCK(&agents);
-	AST_LIST_TRAVERSE(&agents, p, list) {
-		if (strcmp(p->agent, agent) || p->pending) 
-			continue;
-		if (p->chan) {
-			login_state = 2; /* already logged in (and on the phone)*/
-			break;
-		}
-		ast_mutex_lock(&p->lock);
-		login_state = 1; /* Successful Login */
-		
-		if (ast_strlen_zero(context))
-			ast_copy_string(p->loginchan, exten, sizeof(p->loginchan));
-		else
-			snprintf(p->loginchan, sizeof(p->loginchan), "%s@%s", exten, context);
-
-		if (!ast_strlen_zero(wrapuptime_s)) {
-			p->wrapuptime = atoi(wrapuptime_s);
-			if (p->wrapuptime < 0)
-				p->wrapuptime = 0;
-		}
-
-		if (ast_true(ackcall_s))
-			p->ackcall = 1;
-		else
-			p->ackcall = 0;
-
-		if (p->loginstart == 0)
-			time(&p->loginstart);
-		manager_event(EVENT_FLAG_AGENT, "Agentcallbacklogin",
-			      "Agent: %s\r\n"
-			      "Loginchan: %s\r\n",
-			      p->agent, p->loginchan);
-		ast_queue_log("NONE", "NONE", agent, "AGENTCALLBACKLOGIN", "%s", p->loginchan);
-		if (option_verbose > 1)
-			ast_verbose(VERBOSE_PREFIX_2 "Callback Agent '%s' logged in on %s\n", p->agent, p->loginchan);
-		ast_device_state_changed("Agent/%s", p->agent);
-		ast_mutex_unlock(&p->lock);
-		if (persistent_agents)
-			dump_agents();
-	}
-	AST_LIST_UNLOCK(&agents);
-
-	if (login_state == 1)
-		astman_send_ack(s, m, "Agent logged in");
-	else if (login_state == 0)
-		astman_send_error(s, m, "No such agent");
-	else if (login_state == 2)
-		astman_send_error(s, m, "Agent already logged in");
-
-	return 0;
-}
-
 /*!
  *  \brief Called by the AgentMonitorOutgoing application (from the dial plan).
  *
@@ -2602,13 +2471,11 @@
 		reload_agents();
 	/* Dialplan applications */
 	ast_register_application(app, login_exec, synopsis, descrip);
-	ast_register_application(app2, callback_exec, synopsis2, descrip2);
 	ast_register_application(app3, agentmonitoroutgoing_exec, synopsis3, descrip3);
 
 	/* Manager commands */
 	ast_manager_register2("Agents", EVENT_FLAG_AGENT, action_agents, "Lists agents and their status", mandescr_agents);
 	ast_manager_register2("AgentLogoff", EVENT_FLAG_AGENT, action_agent_logoff, "Sets an agent as no longer logged in", mandescr_agent_logoff);
-	ast_manager_register2("AgentCallbackLogin", EVENT_FLAG_AGENT, action_agent_callback_login, "Sets an agent as logged in by callback", mandescr_agent_callback_login);
 
 	/* CLI Commands */
 	ast_cli_register_multiple(cli_agents, sizeof(cli_agents) / sizeof(struct ast_cli_entry));
@@ -2638,12 +2505,10 @@
 	ast_cli_unregister_multiple(cli_agents, sizeof(cli_agents) / sizeof(struct ast_cli_entry));
 	/* Unregister dialplan applications */
 	ast_unregister_application(app);
-	ast_unregister_application(app2);
 	ast_unregister_application(app3);
 	/* Unregister manager command */
 	ast_manager_unregister("Agents");
 	ast_manager_unregister("AgentLogoff");
-	ast_manager_unregister("AgentCallbackLogin");
 	/* Unregister channel */
 	AST_LIST_LOCK(&agents);
 	/* Hangup all interfaces if they have an owner */

Modified: trunk/channels/chan_alsa.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_alsa.c?rev=43452&r1=43451&r2=43452&view=diff
==============================================================================
--- trunk/channels/chan_alsa.c (original)
+++ trunk/channels/chan_alsa.c Thu Sep 21 16:59:12 2006
@@ -841,31 +841,6 @@
 	return tmp;
 }
 
-static int console_autoanswer_deprecated(int fd, int argc, char *argv[])
-{
-	int res = RESULT_SUCCESS;
-
-	if ((argc != 1) && (argc != 2))
-		return RESULT_SHOWUSAGE;
-
-	ast_mutex_lock(&alsalock);
-
-	if (argc == 1) {
-		ast_cli(fd, "Auto answer is %s.\n", autoanswer ? "on" : "off");
-	} else {
-		if (!strcasecmp(argv[1], "on"))
-			autoanswer = -1;
-		else if (!strcasecmp(argv[1], "off"))
-			autoanswer = 0;
-		else
-			res = RESULT_SHOWUSAGE;
-	}
-
-	ast_mutex_unlock(&alsalock);
-
-	return res;
-}
-
 static int console_autoanswer(int fd, int argc, char *argv[])
 {
 	int res = RESULT_SUCCESS;;
@@ -910,11 +885,11 @@
 	"       argument, displays the current on/off status of autoanswer.\n"
 	"       The default value of autoanswer is in 'alsa.conf'.\n";
 
-static int console_answer_deprecated(int fd, int argc, char *argv[])
+static int console_answer(int fd, int argc, char *argv[])
 {
 	int res = RESULT_SUCCESS;
 
-	if (argc != 1)
+	if (argc != 2)
 		return RESULT_SHOWUSAGE;
 
 	ast_mutex_lock(&alsalock);
@@ -942,48 +917,16 @@
 	return RESULT_SUCCESS;
 }
 
-static int console_answer(int fd, int argc, char *argv[])
-{
-	int res = RESULT_SUCCESS;
-
-	if (argc != 2)
-		return RESULT_SHOWUSAGE;
-
-	ast_mutex_lock(&alsalock);
-
-	if (!alsa.owner) {
-		ast_cli(fd, "No one is calling us\n");
-		res = RESULT_FAILURE;
-	} else {
-		hookstate = 1;
-		cursound = -1;
-		grab_owner();
-		if (alsa.owner) {
-			struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_ANSWER };
-			ast_queue_frame(alsa.owner, &f);
-			ast_mutex_unlock(&alsa.owner->lock);
-		}
-		answer_sound();
-	}
-
-	snd_pcm_prepare(alsa.icard);
-	snd_pcm_start(alsa.icard);
-
-	ast_mutex_unlock(&alsalock);
-
-	return RESULT_SUCCESS;
-}
-
 static char sendtext_usage[] =
 	"Usage: console send text <message>\n"
 	"       Sends a text message for display on the remote terminal.\n";
 
-static int console_sendtext_deprecated(int fd, int argc, char *argv[])
-{
-	int tmparg = 2;
+static int console_sendtext(int fd, int argc, char *argv[])
+{
+	int tmparg = 3;
 	int res = RESULT_SUCCESS;
 
-	if (argc < 2)
+	if (argc < 3)
 		return RESULT_SHOWUSAGE;
 
 	ast_mutex_lock(&alsalock);
@@ -1019,56 +962,15 @@
 	return res;
 }
 
-static int console_sendtext(int fd, int argc, char *argv[])
-{
-	int tmparg = 3;
-	int res = RESULT_SUCCESS;
-
-	if (argc < 3)
-		return RESULT_SHOWUSAGE;
-
-	ast_mutex_lock(&alsalock);
-
-	if (!alsa.owner) {
-		ast_cli(fd, "No one is calling us\n");
-		res = RESULT_FAILURE;
-	} else {
-		struct ast_frame f = { AST_FRAME_TEXT, 0 };
-		char text2send[256] = "";
-		text2send[0] = '\0';
-		while (tmparg < argc) {
-			strncat(text2send, argv[tmparg++], sizeof(text2send) - strlen(text2send) - 1);
-			strncat(text2send, " ", sizeof(text2send) - strlen(text2send) - 1);
-		}
-		text2send[strlen(text2send) - 1] = '\n';
-		f.data = text2send;
-		f.datalen = strlen(text2send) + 1;
-		grab_owner();
-		if (alsa.owner) {
-			ast_queue_frame(alsa.owner, &f);
-			f.frametype = AST_FRAME_CONTROL;
-			f.subclass = AST_CONTROL_ANSWER;
-			f.data = NULL;
-			f.datalen = 0;
-			ast_queue_frame(alsa.owner, &f);
-			ast_mutex_unlock(&alsa.owner->lock);
-		}
-	}
-
-	ast_mutex_unlock(&alsalock);
-
-	return res;
-}
-
 static char answer_usage[] =
 	"Usage: console answer\n"
 	"       Answers an incoming call on the console (ALSA) channel.\n";
 
-static int console_hangup_deprecated(int fd, int argc, char *argv[])
+static int console_hangup(int fd, int argc, char *argv[])
 {
 	int res = RESULT_SUCCESS;
 
-	if (argc != 1)
+	if (argc != 2)
 		return RESULT_SHOWUSAGE;
 
 	cursound = -1;
@@ -1092,94 +994,9 @@
 	return res;
 }
 
-static int console_hangup(int fd, int argc, char *argv[])
-{
-	int res = RESULT_SUCCESS;
-
-	if (argc != 2)
-		return RESULT_SHOWUSAGE;
-
-	cursound = -1;
-
-	ast_mutex_lock(&alsalock);
-
-	if (!alsa.owner && !hookstate) {
-		ast_cli(fd, "No call to hangup up\n");
-		res = RESULT_FAILURE;
-	} else {
-		hookstate = 0;
-		grab_owner();
-		if (alsa.owner) {
-			ast_queue_hangup(alsa.owner);
-			ast_mutex_unlock(&alsa.owner->lock);
-		}
-	}
-
-	ast_mutex_unlock(&alsalock);
-
-	return res;
-}
-
 static char hangup_usage[] =
 	"Usage: console hangup\n"
 	"       Hangs up any call currently placed on the console.\n";
-
-static int console_dial_deprecated(int fd, int argc, char *argv[])
-{
-	char tmp[256], *tmp2;
-	char *mye, *myc;
-	char *d;
-	int res = RESULT_SUCCESS;
-
-	if ((argc != 1) && (argc != 2))
-		return RESULT_SHOWUSAGE;
-
-	ast_mutex_lock(&alsalock);
-
-	if (alsa.owner) {
-		if (argc == 2) {
-			d = argv[1];
-			grab_owner();
-			if (alsa.owner) {
-				struct ast_frame f = { AST_FRAME_DTMF };
-				while (*d) {
-					f.subclass = *d;
-					ast_queue_frame(alsa.owner, &f);
-					d++;
-				}
-				ast_mutex_unlock(&alsa.owner->lock);
-			}
-		} else {
-			ast_cli(fd, "You're already in a call.  You can use this only to dial digits until you hangup\n");
-			res = RESULT_FAILURE;
-		}
-	} else {
-		mye = exten;
-		myc = context;
-		if (argc == 2) {
-			char *stringp = NULL;
-			strncpy(tmp, argv[1], sizeof(tmp) - 1);
-			stringp = tmp;
-			strsep(&stringp, "@");
-			tmp2 = strsep(&stringp, "@");
-			if (!ast_strlen_zero(tmp))
-				mye = tmp;
-			if (!ast_strlen_zero(tmp2))
-				myc = tmp2;
-		}
-		if (ast_exists_extension(NULL, myc, mye, 1, NULL)) {
-			strncpy(alsa.exten, mye, sizeof(alsa.exten) - 1);
-			strncpy(alsa.context, myc, sizeof(alsa.context) - 1);
-			hookstate = 1;
-			alsa_new(&alsa, AST_STATE_RINGING);
-		} else
-			ast_cli(fd, "No such extension '%s' in context '%s'\n", mye, myc);
-	}
-
-	ast_mutex_unlock(&alsalock);
-
-	return res;
-}
 
 static int console_dial(int fd, int argc, char *argv[])
 {
@@ -1242,51 +1059,26 @@
 	"Usage: console dial [extension[@context]]\n"
 	"       Dials a given extension (and context if specified)\n";
 
-static struct ast_cli_entry cli_alsa_answer_deprecated = {
-	{ "answer", NULL },
-	console_answer_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_alsa_hangup_deprecated = {
-	{ "hangup", NULL },
-	console_hangup_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_alsa_dial_deprecated = {
-	{ "dial", NULL },
-	console_dial_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_alsa_send_text_deprecated = {
-	{ "send", "text", NULL },
-	console_sendtext_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_alsa_autoanswer_deprecated = {
-	{ "autoanswer", NULL },
-	console_autoanswer_deprecated, NULL,
-	NULL, autoanswer_complete };
-
 static struct ast_cli_entry cli_alsa[] = {
 	{ { "console", "answer", NULL },
 	console_answer, "Answer an incoming console call",
-	answer_usage, NULL, &cli_alsa_answer_deprecated },
+	answer_usage },
 
 	{ { "console", "hangup", NULL },
 	console_hangup, "Hangup a call on the console",
-	hangup_usage, NULL, &cli_alsa_hangup_deprecated },
+	hangup_usage },
 
 	{ { "console", "dial", NULL },
 	console_dial, "Dial an extension on the console",
-	dial_usage, NULL, &cli_alsa_dial_deprecated },
+	dial_usage },
 
 	{ { "console", "send", "text", NULL },
 	console_sendtext, "Send text to the remote device",
-	sendtext_usage, NULL, &cli_alsa_send_text_deprecated },
+	sendtext_usage },
 
 	{ { "console", "autoanswer", NULL },
 	console_autoanswer, "Sets/displays autoanswer",
-	autoanswer_usage, autoanswer_complete, &cli_alsa_autoanswer_deprecated },
+	autoanswer_usage, autoanswer_complete },
 };
 
 static int load_module(void)

Modified: trunk/channels/chan_features.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_features.c?rev=43452&r1=43451&r2=43452&view=diff
==============================================================================
--- trunk/channels/chan_features.c (original)
+++ trunk/channels/chan_features.c Thu Sep 21 16:59:12 2006
@@ -533,15 +533,10 @@
 "Usage: feature list channels\n"
 "       Provides summary information on feature channels.\n";
 
-static struct ast_cli_entry cli_features_show_channels_deprecated = {
-	{ "feature", "show", "channels", NULL },
-	features_show, NULL,
-	NULL };
-
 static struct ast_cli_entry cli_features[] = {
 	{ { "feature", "list", "channels", NULL },
 	features_show, "List status of feature channels",
-	show_features_usage, NULL, &cli_features_show_channels_deprecated },
+	show_features_usage },
 };
 
 static int load_module(void)

Modified: trunk/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_h323.c?rev=43452&r1=43451&r2=43452&view=diff
==============================================================================
--- trunk/channels/chan_h323.c (original)
+++ trunk/channels/chan_h323.c Thu Sep 21 16:59:12 2006
@@ -1244,9 +1244,6 @@
 	return a;
 }
 
-#define DEPRECATED(_v, _new_opt) \
-	ast_log(LOG_WARNING, "Option %s found at line %d has beed deprecated. Use %s instead.\n", (_v)->name, (_v)->lineno, (_new_opt))
-
 static int update_common_options(struct ast_variable *v, struct call_options *options)
 {
 	int tmp;
@@ -1274,19 +1271,10 @@
 		options->bridge = ast_true(v->value);
 	} else if (!strcasecmp(v->name, "nat")) {
 		options->nat = ast_true(v->value);
-	} else if (!strcasecmp(v->name, "noFastStart")) {
-		DEPRECATED(v, "fastStart");
-		options->fastStart = !ast_true(v->value);
 	} else if (!strcasecmp(v->name, "fastStart")) {
 		options->fastStart = ast_true(v->value);
-	} else if (!strcasecmp(v->name, "noH245Tunneling")) {
-		DEPRECATED(v, "h245Tunneling");
-		options->h245Tunneling = !ast_true(v->value);
 	} else if (!strcasecmp(v->name, "h245Tunneling")) {
 		options->h245Tunneling = ast_true(v->value);
-	} else if (!strcasecmp(v->name, "noSilenceSuppression")) {
-		DEPRECATED(v, "silenceSuppression");
-		options->silenceSuppression = !ast_true(v->value);
 	} else if (!strcasecmp(v->name, "silenceSuppression")) {
 		options->silenceSuppression = ast_true(v->value);
 	} else if (!strcasecmp(v->name, "progress_setup")) {
@@ -1325,7 +1313,6 @@
 
 	return 0;
 }
-#undef DEPRECATED
 
 static struct oh323_user *build_user(char *name, struct ast_variable *v, struct ast_variable *alt, int realtime)
 {

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=43452&r1=43451&r2=43452&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Thu Sep 21 16:59:12 2006
@@ -4441,15 +4441,6 @@
 	return RESULT_SUCCESS;
 }
 
-static int iax2_no_debug_deprecated(int fd, int argc, char *argv[])
-{
-	if (argc != 3)
-		return RESULT_SHOWUSAGE;
-	iaxdebug = 0;
-	ast_cli(fd, "IAX2 Debugging Disabled\n");
-	return RESULT_SUCCESS;
-}
-
 static int iax2_no_debug(int fd, int argc, char *argv[])
 {
 	if (argc != 2)
@@ -4459,31 +4450,12 @@
 	return RESULT_SUCCESS;
 }
 
-static int iax2_no_trunk_debug_deprecated(int fd, int argc, char *argv[])
-{
-	if (argc != 4)
-		return RESULT_SHOWUSAGE;
-	iaxtrunkdebug = 0;
-	ast_cli(fd, "IAX2 Trunk Debugging Disabled\n");
-	return RESULT_SUCCESS;
-}
-
 static int iax2_no_trunk_debug(int fd, int argc, char *argv[])
 {
 	if (argc != 3)
 		return RESULT_SHOWUSAGE;
 	iaxtrunkdebug = 0;
 	ast_cli(fd, "IAX2 Trunk Debugging Disabled\n");
-	return RESULT_SUCCESS;
-}
-
-static int iax2_no_jb_debug_deprecated(int fd, int argc, char *argv[])
-{
-	if (argc != 4)
-		return RESULT_SHOWUSAGE;
-	jb_setoutput(jb_error_output, jb_warning_output, NULL);
-	jb_debug_output("\n");
-	ast_cli(fd, "IAX2 Jitterbuffer Debugging Disabled\n");
 	return RESULT_SUCCESS;
 }
 
@@ -8328,10 +8300,6 @@
 				peer->authmethods = get_auth_methods(v->value);
 			} else if (!strcasecmp(v->name, "encryption")) {
 				peer->encmethods = get_encrypt_methods(v->value);
-			} else if (!strcasecmp(v->name, "notransfer")) {
-				ast_log(LOG_NOTICE, "The option 'notransfer' is deprecated in favor of 'transfer' which has options 'yes', 'no', and 'mediaonly'\n");
-				ast_clear_flag(peer, IAX_TRANSFERMEDIA);	
-				ast_set2_flag(peer, ast_true(v->value), IAX_NOTRANSFER);	
 			} else if (!strcasecmp(v->name, "transfer")) {
 				if (!strcasecmp(v->value, "mediaonly")) {
 					ast_set_flags_to(peer, IAX_NOTRANSFER|IAX_TRANSFERMEDIA, IAX_TRANSFERMEDIA);	
@@ -8568,10 +8536,6 @@
 				user->authmethods = get_auth_methods(v->value);
 			} else if (!strcasecmp(v->name, "encryption")) {
 				user->encmethods = get_encrypt_methods(v->value);
-			} else if (!strcasecmp(v->name, "notransfer")) {
-				ast_log(LOG_NOTICE, "The option 'notransfer' is deprecated in favor of 'transfer' which has options 'yes', 'no', and 'mediaonly'\n");
-				ast_clear_flag(user, IAX_TRANSFERMEDIA);	
-				ast_set2_flag(user, ast_true(v->value), IAX_NOTRANSFER);	
 			} else if (!strcasecmp(v->name, "transfer")) {
 				if (!strcasecmp(v->value, "mediaonly")) {
 					ast_set_flags_to(user, IAX_NOTRANSFER|IAX_TRANSFERMEDIA, IAX_TRANSFERMEDIA);	
@@ -8921,11 +8885,7 @@
 			authdebug = ast_true(v->value);
 		else if (!strcasecmp(v->name, "encryption"))
 			iax2_encryption = get_encrypt_methods(v->value);
-		else if (!strcasecmp(v->name, "notransfer")) {
-			ast_log(LOG_NOTICE, "The option 'notransfer' is deprecated in favor of 'transfer' which has options 'yes', 'no', and 'mediaonly'\n");
-			ast_clear_flag((&globalflags), IAX_TRANSFERMEDIA);	
-			ast_set2_flag((&globalflags), ast_true(v->value), IAX_NOTRANSFER);	
-		} else if (!strcasecmp(v->name, "transfer")) {
+		else if (!strcasecmp(v->name, "transfer")) {
 			if (!strcasecmp(v->value, "mediaonly")) {
 				ast_set_flags_to((&globalflags), IAX_NOTRANSFER|IAX_TRANSFERMEDIA, IAX_TRANSFERMEDIA);	
 			} else if (ast_true(v->value)) {
@@ -9752,111 +9712,42 @@
 "       For testing, simulate maximum jitter of +/- <ms> on <pct> percentage of packets. If <pct> is not specified, adds jitter to all packets.\n";
 #endif /* IAXTESTS */
 
-static struct ast_cli_entry cli_iax2_trunk_debug_deprecated = {
-	{ "iax2", "trunk", "debug", NULL },
-	iax2_do_trunk_debug, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_jb_debug_deprecated = {
-	{ "iax2", "jb", "debug", NULL },
-	iax2_do_jb_debug, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_no_debug_deprecated = {
-	{ "iax2", "no", "debug", NULL },
-	iax2_no_debug_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_no_trunk_debug_deprecated = {
-	{ "iax2", "no", "trunk", "debug", NULL },
-	iax2_no_trunk_debug_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_no_jb_debug_deprecated = {
-	{ "iax2", "no", "jb", "debug", NULL },
-	iax2_no_jb_debug_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_show_cache_deprecated = {
-	{ "iax2", "show", "cache", NULL },
-	iax2_show_cache, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_show_peers_deprecated = {
-	{ "iax2", "show", "peers", NULL },
-	iax2_show_peers, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_show_stats_deprecated = {
-	{ "iax2", "show", "stats", NULL },
-	iax2_show_stats, NULL };
-
-static struct ast_cli_entry cli_iax2_show_firmware_deprecated = {
-	{ "iax2", "show", "firmware", NULL },
-	iax2_show_firmware, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_show_channels_deprecated = {
-	{ "iax2", "show", "channels", NULL },
-	iax2_show_channels, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_show_netstats_deprecated = {
-	{ "iax2", "show", "netstats", NULL },
-	iax2_show_netstats, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_show_users_deprecated = {
-	{ "iax2", "show", "users", NULL },
-	iax2_show_users, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_show_threads_deprecated = {
-	{ "iax2", "show", "threads", NULL },
-	iax2_show_threads, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_iax2_show_registry_deprecated = {
-	{ "iax2", "show", "registry", NULL },
-	iax2_show_registry, "Show IAX registration status",
-	show_reg_usage };
-
 static struct ast_cli_entry cli_iax2[] = {
 	{ { "iax2", "list", "cache", NULL },
 	iax2_show_cache, "Display IAX cached dialplan",
-	show_cache_usage, NULL, &cli_iax2_show_cache_deprecated  },
+	show_cache_usage },
 
 	{ { "iax2", "list", "channels", NULL },
 	iax2_show_channels, "List active IAX channels",
-	show_channels_usage, NULL, &cli_iax2_show_channels_deprecated  },
+	show_channels_usage },
 
 	{ { "iax2", "list", "firmware", NULL },
 	iax2_show_firmware, "List available IAX firmwares",
-	show_firmware_usage, NULL, &cli_iax2_show_firmware_deprecated  },
+	show_firmware_usage },
 
 	{ { "iax2", "list", "netstats", NULL },
 	iax2_show_netstats, "List active IAX channel netstats",
-	show_netstats_usage, NULL, &cli_iax2_show_netstats_deprecated  },
+	show_netstats_usage },
 
 	{ { "iax2", "list", "peers", NULL },
 	iax2_show_peers, "List defined IAX peers",
-	show_peers_usage, NULL, &cli_iax2_show_peers_deprecated  },
+	show_peers_usage },
 
 	{ { "iax2", "list", "registry", NULL },
 	iax2_show_registry, "Display IAX registration status",
-	show_reg_usage, NULL, &cli_iax2_show_registry_deprecated  },
+	show_reg_usage },
 
 	{ { "iax2", "list", "stats", NULL },
 	iax2_show_stats, "Display IAX statistics",
-	show_stats_usage, NULL, &cli_iax2_show_stats_deprecated },
+	show_stats_usage },
 
 	{ { "iax2", "list", "threads", NULL },
 	iax2_show_threads, "Display IAX helper thread info",
-	show_threads_usage, NULL, &cli_iax2_show_threads_deprecated  },
+	show_threads_usage },
 
 	{ { "iax2", "list", "users", NULL },
 	iax2_show_users, "List defined IAX users",
-	show_users_usage, NULL, &cli_iax2_show_users_deprecated  },
+	show_users_usage },
 
 	{ { "iax2", "prune", "realtime", NULL },
 	iax2_prune_realtime, "Prune a cached realtime lookup",
@@ -9876,23 +9767,23 @@
 
 	{ { "iax2", "debug", "trunk", NULL },
 	iax2_do_trunk_debug, "Enable IAX trunk debugging",
-	debug_trunk_usage, NULL, &cli_iax2_trunk_debug_deprecated },
+	debug_trunk_usage },
 
 	{ { "iax2", "debug", "jb", NULL },
 	iax2_do_jb_debug, "Enable IAX jitterbuffer debugging",
-	debug_jb_usage, NULL, &cli_iax2_jb_debug_deprecated },
+	debug_jb_usage },
 
 	{ { "iax2", "nodebug", NULL },
 	iax2_no_debug, "Disable IAX debugging",
-	no_debug_usage, NULL, &cli_iax2_no_debug_deprecated },
+	no_debug_usage },
 
 	{ { "iax2", "nodebug", "trunk", NULL },
 	iax2_no_trunk_debug, "Disable IAX trunk debugging",
-	no_debug_trunk_usage, NULL, &cli_iax2_no_trunk_debug_deprecated },
+	no_debug_trunk_usage },
 
 	{ { "iax2", "nodebug", "jb", NULL },
 	iax2_no_jb_debug, "Disable IAX jitterbuffer debugging",
-	no_debug_jb_usage, NULL, &cli_iax2_no_jb_debug_deprecated },
+	no_debug_jb_usage },
 
 	{ { "iax2", "test", "losspct", NULL },
 	iax2_test_losspct, "Set IAX2 incoming frame loss percentage",

Modified: trunk/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_local.c?rev=43452&r1=43451&r2=43452&view=diff
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Thu Sep 21 16:59:12 2006
@@ -625,15 +625,10 @@
 "Usage: local list channels\n"
 "       Provides summary information on active local proxy channels.\n";
 
-static struct ast_cli_entry cli_local_show_channels_deprecated = {
-	{ "local", "show", "channels", NULL },
-	locals_show, NULL,
-	NULL };
-
 static struct ast_cli_entry cli_local[] = {
 	{ { "local", "list", "channels", NULL },
 	locals_show, "List status of local channels",
-	show_locals_usage, NULL, &cli_local_show_channels_deprecated },
+	show_locals_usage },
 };
 
 /*! \brief Load module into PBX, register channel */

Modified: trunk/channels/chan_mgcp.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_mgcp.c?rev=43452&r1=43451&r2=43452&view=diff
==============================================================================
--- trunk/channels/chan_mgcp.c (original)
+++ trunk/channels/chan_mgcp.c Thu Sep 21 16:59:12 2006
@@ -1122,15 +1122,6 @@
 	return RESULT_SUCCESS;
 }
 
-static int mgcp_no_debug_deprecated(int fd, int argc, char *argv[])
-{
-	if (argc != 3)
-		return RESULT_SHOWUSAGE;
-	mgcpdebug = 0;
-	ast_cli(fd, "MGCP Debugging Disabled\n");
-	return RESULT_SUCCESS;
-}
-
 static int mgcp_no_debug(int fd, int argc, char *argv[])
 {
 	if (argc != 2)
@@ -1140,29 +1131,14 @@
 	return RESULT_SUCCESS;
 }
 
-static struct ast_cli_entry cli_mgcp_no_debug_deprecated = {
-	{ "mgcp", "no", "debug", NULL },
-	mgcp_no_debug_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_mgcp_audit_endpoint_deprecated = {
-	{ "mgcp", "audit", "endpoint", NULL },
-	mgcp_audit_endpoint, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_mgcp_show_endpoints_deprecated = {
-	{ "mgcp", "show", "endpoints", NULL },
-	mgcp_show_endpoints, NULL,
-	NULL };
-
 static struct ast_cli_entry cli_mgcp[] = {
 	{ { "mgcp", "endpoint", "audit", NULL },
 	mgcp_audit_endpoint, "Audit specified MGCP endpoint",
-	audit_endpoint_usage, NULL, &cli_mgcp_audit_endpoint_deprecated },
+	audit_endpoint_usage },
 
 	{ { "mgcp", "endpoint", "list", NULL },
 	mgcp_show_endpoints, "List defined MGCP endpoints",
-	show_endpoints_usage, NULL, &cli_mgcp_show_endpoints_deprecated },
+	show_endpoints_usage },
 
 	{ { "mgcp", "debug", NULL },
 	mgcp_do_debug, "Enable MGCP debugging",
@@ -1170,7 +1146,7 @@
 
 	{ { "mgcp", "nodebug", NULL },
 	mgcp_no_debug, "Disable MGCP debugging",
-	no_debug_usage, NULL, &cli_mgcp_no_debug_deprecated },
+	no_debug_usage },
 
 	{ { "mgcp", "reload", NULL },
 	mgcp_reload, "Reload MGCP configuration",

Modified: trunk/channels/chan_oss.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_oss.c?rev=43452&r1=43451&r2=43452&view=diff
==============================================================================
--- trunk/channels/chan_oss.c (original)
+++ trunk/channels/chan_oss.c Thu Sep 21 16:59:12 2006
@@ -1068,29 +1068,6 @@
 	return c;
 }
 
-static int console_autoanswer_deprecated(int fd, int argc, char *argv[])
-{
-	struct chan_oss_pvt *o = find_desc(oss_active);
-
-	if (argc == 1) {
-		ast_cli(fd, "Auto answer is %s.\n", o->autoanswer ? "on" : "off");
-		return RESULT_SUCCESS;
-	}
-	if (argc != 2)
-		return RESULT_SHOWUSAGE;
-	if (o == NULL) {
-		ast_log(LOG_WARNING, "Cannot find device %s (should not happen!)\n", oss_active);
-		return RESULT_FAILURE;
-	}
-	if (!strcasecmp(argv[1], "on"))
-		o->autoanswer = -1;
-	else if (!strcasecmp(argv[1], "off"))
-		o->autoanswer = 0;
-	else
-		return RESULT_SHOWUSAGE;
-	return RESULT_SUCCESS;
-}
-
 static int console_autoanswer(int fd, int argc, char *argv[])
 {
 	struct chan_oss_pvt *o = find_desc(oss_active);
@@ -1115,13 +1092,6 @@
 	return RESULT_SUCCESS;
 }
 
-static char *autoanswer_complete_deprecated(const char *line, const char *word, int pos, int state)
-{
-	static char *choices[] = { "on", "off", NULL };
-
-	return (pos != 2) ? NULL : ast_cli_complete(word, choices, state);
-}
-
 static char *autoanswer_complete(const char *line, const char *word, int pos, int state)
 {
 	static char *choices[] = { "on", "off", NULL };
@@ -1138,12 +1108,12 @@
 /*
  * answer command from the console
  */
-static int console_answer_deprecated(int fd, int argc, char *argv[])
+static int console_answer(int fd, int argc, char *argv[])
 {
 	struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_ANSWER };
 	struct chan_oss_pvt *o = find_desc(oss_active);
 
-	if (argc != 1)
+	if (argc != 2)
 		return RESULT_SHOWUSAGE;
 	if (!o->owner) {
 		ast_cli(fd, "No one is calling us\n");
@@ -1160,28 +1130,6 @@
 	return RESULT_SUCCESS;
 }
 
-static int console_answer(int fd, int argc, char *argv[])
-{
-	struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_ANSWER };
-	struct chan_oss_pvt *o = find_desc(oss_active);
-
-	if (argc != 2)
-		return RESULT_SHOWUSAGE;
-	if (!o->owner) {
-		ast_cli(fd, "No one is calling us\n");
-		return RESULT_FAILURE;
-	}
-	o->hookstate = 1;
-	o->cursound = -1;
-	o->nosound = 0;
-	ast_queue_frame(o->owner, &f);
-#if 0
-	/* XXX do we really need it ? considering we shut down immediately... */
-	ring(o, AST_CONTROL_ANSWER);
-#endif
-	return RESULT_SUCCESS;
-}
-
 static char answer_usage[] =
 	"Usage: console answer\n"
 	"       Answers an incoming call on the console (OSS) channel.\n";
@@ -1190,31 +1138,6 @@
  * concatenate all arguments into a single string. argv is NULL-terminated
  * so we can use it right away
  */
-static int console_sendtext_deprecated(int fd, int argc, char *argv[])
-{
-	struct chan_oss_pvt *o = find_desc(oss_active);
-	char buf[TEXT_SIZE];
-
-	if (argc < 2)
-		return RESULT_SHOWUSAGE;
-	if (!o->owner) {
-		ast_cli(fd, "Not in a call\n");
-		return RESULT_FAILURE;
-	}
-	ast_join(buf, sizeof(buf) - 1, argv + 2);
-	if (!ast_strlen_zero(buf)) {
-		struct ast_frame f = { 0, };
-		int i = strlen(buf);
-		buf[i] = '\n';
-		f.frametype = AST_FRAME_TEXT;
-		f.subclass = 0;
-		f.data = buf;
-		f.datalen = i + 1;
-		ast_queue_frame(o->owner, &f);
-	}
-	return RESULT_SUCCESS;
-}
-
 static int console_sendtext(int fd, int argc, char *argv[])
 {
 	struct chan_oss_pvt *o = find_desc(oss_active);
@@ -1244,25 +1167,6 @@
 	"Usage: console send text <message>\n"
 	"       Sends a text message for display on the remote terminal.\n";
 
-static int console_hangup_deprecated(int fd, int argc, char *argv[])
-{
-	struct chan_oss_pvt *o = find_desc(oss_active);
-
-	if (argc != 1)
-		return RESULT_SHOWUSAGE;
-	o->cursound = -1;
-	o->nosound = 0;
-	if (!o->owner && !o->hookstate) { /* XXX maybe only one ? */
-		ast_cli(fd, "No call to hang up\n");
-		return RESULT_FAILURE;
-	}
-	o->hookstate = 0;
-	if (o->owner)
-		ast_queue_hangup(o->owner);
-	setformat(o, O_CLOSE);
-	return RESULT_SUCCESS;
-}
-
 static int console_hangup(int fd, int argc, char *argv[])
 {
 	struct chan_oss_pvt *o = find_desc(oss_active);
@@ -1286,25 +1190,6 @@
 	"Usage: console hangup\n"
 	"       Hangs up any call currently placed on the console.\n";
 
-static int console_flash_deprecated(int fd, int argc, char *argv[])
-{
-	struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_FLASH };
-	struct chan_oss_pvt *o = find_desc(oss_active);
-
-	if (argc != 1)
-		return RESULT_SHOWUSAGE;
-	o->cursound = -1;
-	o->nosound = 0; /* when cursound is -1 nosound must be 0 */
-	if (!o->owner) { /* XXX maybe !o->hookstate too ? */
-		ast_cli(fd, "No call to flash\n");
-		return RESULT_FAILURE;
-	}
-	o->hookstate = 0;
-	if (o->owner) /* XXX must be true, right ? */
-		ast_queue_frame(o->owner, &f);
-	return RESULT_SUCCESS;
-}
-
 static int console_flash(int fd, int argc, char *argv[])
 {
 	struct ast_frame f = { AST_FRAME_CONTROL, AST_CONTROL_FLASH };
@@ -1327,47 +1212,6 @@
 static char flash_usage[] =
 	"Usage: console flash\n"
 	"       Flashes the call currently placed on the console.\n";
-
-static int console_dial_deprecated(int fd, int argc, char *argv[])
-{
-	char *s = NULL, *mye = NULL, *myc = NULL;
-	struct chan_oss_pvt *o = find_desc(oss_active);
-
-	if (argc != 1 && argc != 2)
-		return RESULT_SHOWUSAGE;
-	if (o->owner) { /* already in a call */
-		int i;
-		struct ast_frame f = { AST_FRAME_DTMF, 0 };
-
-		if (argc == 1) { /* argument is mandatory here */
-			ast_cli(fd, "Already in a call. You can only dial digits until you hangup.\n");
-			return RESULT_FAILURE;
-		}
-		s = argv[1];
-		/* send the string one char at a time */
-		for (i = 0; i < strlen(s); i++) {
-			f.subclass = s[i];
-			ast_queue_frame(o->owner, &f);
-		}
-		return RESULT_SUCCESS;
-	}
-	/* if we have an argument split it into extension and context */
-	if (argc == 2)
-		s = ast_ext_ctx(argv[1], &mye, &myc);
-	/* supply default values if needed */
-	if (mye == NULL)
-		mye = o->ext;
-	if (myc == NULL)
-		myc = o->ctx;
-	if (ast_exists_extension(NULL, myc, mye, 1, NULL)) {
-		o->hookstate = 1;
-		oss_new(o, mye, myc, AST_STATE_RINGING);
-	} else
-		ast_cli(fd, "No such extension '%s' in context '%s'\n", mye, myc);
-	if (s)
-		free(s);
-	return RESULT_SUCCESS;
-}
 
 static int console_dial(int fd, int argc, char *argv[])
 {
@@ -1422,14 +1266,6 @@
 	return RESULT_SUCCESS;
 }
 
-static int console_mute_deprecated(int fd, int argc, char *argv[])
-{
-	if (argc != 1)
-		return RESULT_SHOWUSAGE;
-
-	return __console_mute_unmute(1);
-}
-
 static int console_mute(int fd, int argc, char *argv[])
 {
 	if (argc != 2)
@@ -1441,14 +1277,6 @@
 static char mute_usage[] =
 	"Usage: console mute\nMutes the microphone\n";
 
-static int console_unmute_deprecated(int fd, int argc, char *argv[])
-{
-	if (argc != 1)
-		return RESULT_SHOWUSAGE;
-
-	return __console_mute_unmute(0);
-}
-
 static int console_unmute(int fd, int argc, char *argv[])
 {
 	if (argc != 2)
@@ -1459,37 +1287,6 @@
 
 static char unmute_usage[] =
 	"Usage: console unmute\nUnmutes the microphone\n";
-
-static int console_transfer_deprecated(int fd, int argc, char *argv[])
-{
-	struct chan_oss_pvt *o = find_desc(oss_active);
-	struct ast_channel *b = NULL;
-	char *tmp, *ext, *ctx;
-
-	if (argc != 2)
-		return RESULT_SHOWUSAGE;
-	if (o == NULL)
-		return RESULT_FAILURE;
-	if (o->owner ==NULL || (b = ast_bridged_channel(o->owner)) == NULL) {
-		ast_cli(fd, "There is no call to transfer\n");
-		return RESULT_SUCCESS;
-	}
-
-	tmp = ast_ext_ctx(argv[1], &ext, &ctx);
-	if (ctx == NULL)		/* supply default context if needed */
-		ctx = o->owner->context;
-	if (!ast_exists_extension(b, ctx, ext, 1, b->cid.cid_num))
-		ast_cli(fd, "No such extension exists\n");
-	else {
-		ast_cli(fd, "Whee, transferring %s to %s@%s.\n",
-			b->name, ext, ctx);
-		if (ast_async_goto(b, ctx, ext, 1))
-			ast_cli(fd, "Failed to transfer :(\n");
-	}
-	if (tmp)
-		free(tmp);
-	return RESULT_SUCCESS;
-}
 
 static int console_transfer(int fd, int argc, char *argv[])
 {
@@ -1525,28 +1322,6 @@
 	"Usage: console transfer <extension>[@context]\n"
 	"       Transfers the currently connected call to the given extension (and\n"
 	"context if specified)\n";
-
-static int console_active_deprecated(int fd, int argc, char *argv[])
-{
-	if (argc == 1)
-		ast_cli(fd, "active console is [%s]\n", oss_active);
-	else if (argc != 2)
-		return RESULT_SHOWUSAGE;
-	else {
-		struct chan_oss_pvt *o;
-		if (strcmp(argv[1], "show") == 0) {
-			for (o = oss_default.next; o; o = o->next)
-				ast_cli(fd, "device [%s] exists\n", o->name);
-			return RESULT_SUCCESS;
-		}
-		o = find_desc(argv[1]);
-		if (o == NULL)
-			ast_cli(fd, "No device [%s] exists\n", argv[1]);
-		else
-			oss_active = o->name;
-	}
-	return RESULT_SUCCESS;
-}
 
 static int console_active(int fd, int argc, char *argv[])
 {
@@ -1609,105 +1384,50 @@
 	return RESULT_SUCCESS;
 }
 
-static struct ast_cli_entry cli_oss_answer_deprecated = {
-	{ "answer", NULL },
-	console_answer_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_oss_hangup_deprecated = {
-	{ "hangup", NULL },
-	console_hangup_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_oss_flash_deprecated = {
-	{ "flash", NULL },
-	console_flash_deprecated, NULL,
-	NULL };
-
-static struct ast_cli_entry cli_oss_dial_deprecated = {
-	{ "dial", NULL },
-	console_dial_deprecated, NULL,
-        NULL };
-
-static struct ast_cli_entry cli_oss_mute_deprecated = {
-	{ "mute", NULL },
-	console_mute_deprecated, NULL,
-        NULL };
-
-static struct ast_cli_entry cli_oss_unmute_deprecated = {
-	{ "unmute", NULL },
-	console_unmute_deprecated, NULL,
-        NULL };
-
-static struct ast_cli_entry cli_oss_transfer_deprecated = {
-	{ "transfer", NULL },
-	console_transfer_deprecated, NULL,
-        NULL };
-
-static struct ast_cli_entry cli_oss_send_text_deprecated = {
-	{ "send", "text", NULL },
-	console_sendtext_deprecated, NULL,
-        NULL };
-
-static struct ast_cli_entry cli_oss_autoanswer_deprecated = {
-	{ "autoanswer", NULL },
-	console_autoanswer_deprecated, NULL,
-        NULL, autoanswer_complete_deprecated };
-
-static struct ast_cli_entry cli_oss_boost_deprecated = {
-	{ "oss", "boost", NULL },
-	do_boost, NULL,
-	NULL };
-

[... 1931 lines stripped ...]


More information about the asterisk-commits mailing list