mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Make sure we don't accidently send weird delivery times on DISA
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -212,6 +212,7 @@ static int disa_exec(struct ast_channel *chan, void *data)
|
|||||||
wf.mallocd = 0;
|
wf.mallocd = 0;
|
||||||
wf.data = tone_block.buf;
|
wf.data = tone_block.buf;
|
||||||
wf.datalen = f->datalen;
|
wf.datalen = f->datalen;
|
||||||
|
wf.delivery.tv_sec = wf.delivery.tv_usec = 0;
|
||||||
make_tone_block(tone_block.buf, 350, 440, f->datalen, &x);
|
make_tone_block(tone_block.buf, 350, 440, f->datalen, &x);
|
||||||
wf.samples = wf.datalen;
|
wf.samples = wf.datalen;
|
||||||
ast_frfree(f);
|
ast_frfree(f);
|
||||||
|
Reference in New Issue
Block a user