diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-07 20:38:43 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-07 20:38:43 +0000 |
commit | 4d714a548871e5858faa4d7b9bdb0ffebccde161 (patch) | |
tree | b4a1d4ac13b7ad2896d52e705bc10dc76563c489 /indications.c | |
parent | b64c7117dddd2cd4dba0a24a3ba60166ee0167c4 (diff) |
Big diet for struct ast_channel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4399 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'indications.c')
-rwxr-xr-x | indications.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indications.c b/indications.c index 9598c5438..02cc9d016 100755 --- a/indications.c +++ b/indications.c @@ -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; } |