we only care about the END of a digit. That way, no magic digit emulation stuff
will happen when all we're doing is queueing up END frames.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@94797
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
} else {
/* New entry created */
as->chan = chan;
+ ast_set_flag(chan, AST_FLAG_END_DTMF_ONLY);
as->use_count = 1;
AST_LIST_INSERT_HEAD(&aslist, as, list);
if (asthread == AST_PTHREADT_NULL) { /* need start the thread */
removed = 1;
if (!chan->_softhangup)
res = 0;
+ ast_clear_flag(chan, AST_FLAG_END_DTMF_ONLY);
break;
}
}