diff options
author | Russell Bryant <russell@russellbryant.com> | 2008-02-25 23:56:47 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2008-02-25 23:56:47 +0000 |
commit | f8412a637d0f6aecec0cc400a1f063de21ff2265 (patch) | |
tree | ba7a56409e889e322c78b13d67ca268951501923 | |
parent | 6554a7bf3a4e89ffc01c48f2ea27fecf91b6820a (diff) |
Deprecate the "stripmsd" option in favor of dialplan substring variable syntax.
(closes issue #12060)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | UPGRADE.txt | 3 | ||||
-rw-r--r-- | channels/chan_zap.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/UPGRADE.txt b/UPGRADE.txt index 588bccc10..c860f4b00 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -157,6 +157,9 @@ Channel Drivers: to modify modules.conf to add another "noload" line to ensure that only one of these three modules gets loaded. +* Zap: The "msdstrip" option has been deprecated, as it provides no value over + the method of stripping digits in the dialplan using variable substring syntax. + Configuration: * pbx_dundi.c: tos parameter changed to use new values. Old values like lowdelay, diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 61552421c..36e0f934e 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -13347,6 +13347,7 @@ static int process_zap(struct zt_chan_conf *confp, struct ast_variable *v, int r } else if (!strcasecmp(v->name, "mohsuggest")) { ast_copy_string(confp->chan.mohsuggest, v->value, sizeof(confp->chan.mohsuggest)); } else if (!strcasecmp(v->name, "stripmsd")) { + ast_log(LOG_NOTICE, "Configuration option \"%s\" has been deprecated. Please use dialplan instead\n", v->name); confp->chan.stripmsd = atoi(v->value); } else if (!strcasecmp(v->name, "jitterbuffers")) { numbufs = atoi(v->value); |