From: Andreas Eversberg Date: Tue, 4 Dec 2012 14:38:25 +0000 (+0100) Subject: Fixed version issue of chan_lcr X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=d2bcbfbaf06eafcf44d8884fd6fb0a7f334b479b Fixed version issue of chan_lcr --- diff --git a/chan_lcr.c b/chan_lcr.c index dcc9b41..1695056 100644 --- a/chan_lcr.c +++ b/chan_lcr.c @@ -2898,7 +2898,11 @@ static struct ast_frame *lcr_read(struct ast_channel *ast) if (call->dsp) f = ast_dsp_process(ast, call->dsp, &call->read_fr); if (f && f->frametype == AST_FRAME_DTMF) +#ifdef AST_1_8_OR_HIGHER CDEBUG(call, ast, "Asterisk detected inband DTMF: %c.\n", f->subclass.integer); +#else + CDEBUG(call, ast, "Asterisk detected inband DTMF: %c.\n", f->subclass); +#endif ast_mutex_unlock(&chan_lock);