mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
Fix dtmf buglet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user