projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b4987df
)
Fixed version issue of chan_lcr
author
Andreas Eversberg
<jolly@eversberg.eu>
Tue, 4 Dec 2012 14:38:25 +0000
(15:38 +0100)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Sun, 16 Dec 2012 09:11:47 +0000
(10:11 +0100)
chan_lcr.c
patch
|
blob
|
history
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
dcc9b41
..
1695056
100644
(file)
--- 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);