mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
Big diet for struct ast_channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -84,7 +84,10 @@ static void * playtones_alloc(struct ast_channel *chan, void *params)
|
||||
ps->items = pd->items;
|
||||
}
|
||||
/* Let interrupts interrupt :) */
|
||||
chan->writeinterrupt = pd->interruptible;
|
||||
if (pd->interruptible)
|
||||
ast_set_flag(chan, AST_FLAG_WRITE_INT);
|
||||
else
|
||||
ast_clear_flag(chan, AST_FLAG_WRITE_INT);
|
||||
return ps;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user