Deprecate the "stripmsd" option in favor of dialplan substring variable syntax.
[asterisk/asterisk.git] / channels / chan_zap.c
index 6155242..36e0f93 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);