diff --git a/indications.c b/indications.c index 1f8b555558a6d73ab5c7def81e840baf9bdb302b..fefec9153b2b69939e5a1442116c7363cf637fd7 100755 --- a/indications.c +++ b/indications.c @@ -123,8 +123,6 @@ 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; diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 7d8918f037baca1f2b06e0dfd7e443d9e11db8b3..450442d4b06a77db76d35809b3df0d49c8454018 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -461,8 +461,6 @@ static int moh_generate(struct ast_channel *chan, void *data, int len, int sampl f.samples = res / 2; f.data = buf + AST_FRIENDLY_OFFSET / 2; f.offset = AST_FRIENDLY_OFFSET; - f.delivery.tv_sec = 0; - f.delivery.tv_usec = 0; if (ast_write(chan, &f)< 0) { ast_log(LOG_WARNING, "Failed to write frame to '%s': %s\n", chan->name, strerror(errno)); return -1;