]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Deprecate the "stripmsd" option in favor of dialplan substring variable syntax.
authorRussell Bryant <russell@russellbryant.com>
Mon, 25 Feb 2008 23:56:47 +0000 (23:56 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 25 Feb 2008 23:56:47 +0000 (23:56 +0000)
(closes issue #12060)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104110 65c4cc65-6c06-0410-ace0-fbb531ad65f3

UPGRADE.txt
channels/chan_zap.c

index 588bccc107918b26f8c489d4a0c0b8f6fafea46e..c860f4b00defc80ced894c365c3d3c4cf6133823 100644 (file)
@@ -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,
index 61552421cdbd65e808a567ff8fd7f1b5a83051ad..36e0f934e0aca705c836bfae2a5344edab2723b4 100644 (file)
@@ -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);