[svn-commits] russell: trunk r104110 - in /trunk: UPGRADE.txt channels/chan_zap.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Feb 25 17:56:48 CST 2008


Author: russell
Date: Mon Feb 25 17:56:47 2008
New Revision: 104110

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104110
Log:
Deprecate the "stripmsd" option in favor of dialplan substring variable syntax.
(closes issue #12060)

Modified:
    trunk/UPGRADE.txt
    trunk/channels/chan_zap.c

Modified: trunk/UPGRADE.txt
URL: http://svn.digium.com/view/asterisk/trunk/UPGRADE.txt?view=diff&rev=104110&r1=104109&r2=104110
==============================================================================
--- trunk/UPGRADE.txt (original)
+++ trunk/UPGRADE.txt Mon Feb 25 17:56:47 2008
@@ -157,6 +157,9 @@
   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,

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=104110&r1=104109&r2=104110
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Mon Feb 25 17:56:47 2008
@@ -13347,6 +13347,7 @@
 		} 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);




More information about the svn-commits mailing list