diff options
author | Mark Spencer <markster@digium.com> | 2004-06-03 17:06:33 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-06-03 17:06:33 +0000 |
commit | dc7e5f5f033d34ad735e7be5b55092e3243a12c6 (patch) | |
tree | 5a7f7d4287d2eea6b799b0cb74e18599d368f7d1 /indications.c | |
parent | 799b876aa09d913d1ada80e28f9f0f9fb424f2ca (diff) |
Initialize frame for playtones just in case
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'indications.c')
-rwxr-xr-x | indications.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indications.c b/indications.c index fefec9153..1f8b55555 100755 --- a/indications.c +++ b/indications.c @@ -123,6 +123,8 @@ static int playtones_generator(struct ast_channel *chan, void *data, int len, in ps->f.samples = samples; ps->f.offset = AST_FRIENDLY_OFFSET; ps->f.data = ps->data; + ps->f.delivery.tv_sec = 0; + ps->f.delivery.tv_usec = 0; ast_write(chan, &ps->f); ps->pos += x; |