summaryrefslogtreecommitdiff
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-09-21 21:59:12 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-09-21 21:59:12 +0000
commit6ae874151842eef4da11c870c418dc4b2b6c9d4b (patch)
treef166bba69d92b06b74ab2323297f68cfcd7789fb /channels/chan_h323.c
parentf1d824aabacb3dfbda8c406e0d4e22c279cf2638 (diff)
Lots more removal of deprecated things
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r--channels/chan_h323.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c
index cbd017360..b3b58ad2e 100644
--- a/channels/chan_h323.c
+++ b/channels/chan_h323.c
@@ -1244,9 +1244,6 @@ static struct oh323_alias *realtime_alias(const char *alias)
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 @@ static int update_common_options(struct ast_variable *v, struct call_options *op
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 @@ static int update_common_options(struct ast_variable *v, struct call_options *op
return 0;
}
-#undef DEPRECATED
static struct oh323_user *build_user(char *name, struct ast_variable *v, struct ast_variable *alt, int realtime)
{