projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix dtmf buglet
[asterisk/asterisk.git]
/
apps
/
app_festival.c
diff --git
a/apps/app_festival.c
b/apps/app_festival.c
index
56976c5
..
d9b2f46
100755
(executable)
--- a/
apps/app_festival.c
+++ b/
apps/app_festival.c
@@
-170,7
+170,7
@@
static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in
}
if (f->frametype == AST_FRAME_DTMF) {
ast_log(LOG_DEBUG, "User pressed a key\n");
}
if (f->frametype == AST_FRAME_DTMF) {
ast_log(LOG_DEBUG, "User pressed a key\n");
- if (strchr(intkeys, f->subclass)) {
+ if (intkeys && strchr(intkeys, f->subclass)) {
res = f->subclass;
ast_frfree(f);
break;
res = f->subclass;
ast_frfree(f);
break;