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
1.0
Mark Spencer 23 years ago
parent 19a080ddd7
commit 6ac10272bc

@ -212,6 +212,7 @@ static int disa_exec(struct ast_channel *chan, void *data)
wf.mallocd = 0;
wf.data = tone_block.buf;
wf.datalen = f->datalen;
wf.delivery.tv_sec = wf.delivery.tv_usec = 0;
make_tone_block(tone_block.buf, 350, 440, f->datalen, &x);
wf.samples = wf.datalen;
ast_frfree(f);

Loading…
Cancel
Save