X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=chan_lcr.c;fp=chan_lcr.c;h=169505653c5e05692ace253c3c29f7483f912f79;hp=dcc9b4151ba14ed1ebac4f1bccc3f2e0533ad996;hb=d2bcbfbaf06eafcf44d8884fd6fb0a7f334b479b;hpb=b4987df679650609097a351aa6861aac11d6b1f1 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);