This feels like a sane change (wouldn't compile without this addition), but I'm
not intimately familiar with this code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@191739
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ast_mutex_lock(&p->lock);
dahdi_disable_ec(p);
ast_mutex_unlock(&p->lock);
+#ifdef HAVE_DAHDI_ECHOCANCEL_FAX_MODE
} else if (!strcasecmp(value, "fax")) {
int blah = 1;
ast_log(LOG_WARNING, "Unable to place echocan into voice mode on channel %d: %s\n", p->channel, strerror(errno));
}
ast_mutex_unlock(&p->lock);
+#endif
} else {
ast_log(LOG_WARNING, "Unsupported value '%s' provided for '%s' item.\n", value, data);
res = -1;