Skip to content
Snippets Groups Projects
Commit 6be62cdb authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix dtmf buglet

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 858ad8ca
No related branches found
No related tags found
No related merge requests found
......@@ -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 (strchr(intkeys, f->subclass)) {
if (intkeys && strchr(intkeys, f->subclass)) {
res = f->subclass;
ast_frfree(f);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment