aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_disa.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-04 19:20:20 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-04 19:20:20 +0000
commite21a2421e4707dd4184af7e556091f6b3b30afff (patch)
tree25fcfdd9361ac48b809ce935cb4090fff4b02d28 /apps/app_disa.c
parent5d7c4bb03e33da0be5f91f34313498f3773ef1e3 (diff)
Make sure we don't accidently send weird delivery times on DISA
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2891 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_disa.c')
-rwxr-xr-xapps/app_disa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c
index 26676d4bb..cf199013d 100755
--- a/apps/app_disa.c
+++ b/apps/app_disa.c
@@ -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);