mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Finalize ast_channel opaquification
Review: https://reviewboard.asterisk.org/r/1786/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2402,7 +2402,7 @@ static void *__analog_ss_thread(void *data)
|
||||
* emulation. The DTMF digits can come so fast that emulation
|
||||
* can drop some of them.
|
||||
*/
|
||||
ast_set_flag(chan, AST_FLAG_END_DTMF_ONLY);
|
||||
ast_set_flag(ast_channel_flags(chan), AST_FLAG_END_DTMF_ONLY);
|
||||
res = 4000;/* This is a typical OFF time between rings. */
|
||||
for (;;) {
|
||||
struct ast_frame *f;
|
||||
@@ -2435,7 +2435,7 @@ static void *__analog_ss_thread(void *data)
|
||||
break; /* Got ring */
|
||||
}
|
||||
}
|
||||
ast_clear_flag(chan, AST_FLAG_END_DTMF_ONLY);
|
||||
ast_clear_flag(ast_channel_flags(chan), AST_FLAG_END_DTMF_ONLY);
|
||||
dtmfbuf[k] = '\0';
|
||||
|
||||
analog_set_linear_mode(p, idx, oldlinearity);
|
||||
|
Reference in New Issue
Block a user