diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-24 13:27:44 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-24 13:27:44 +0000 |
commit | 461824ef0bcd514c3678e297c76010cd3e316f1d (patch) | |
tree | efb011cde3906d2227c05b119ee906285623cf31 /channels/chan_phone.c | |
parent | 687b8a2c01ab7d6239eede1b8c186e06466392df (diff) |
Make sure other drivers also zero delivery (thanks to steven davies)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3295 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_phone.c')
-rwxr-xr-x | channels/chan_phone.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_phone.c b/channels/chan_phone.c index 69c0884bd..536d3ef86 100755 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -368,6 +368,8 @@ static struct ast_frame *phone_exception(struct ast_channel *ast) p->fr.src = type; p->fr.offset = 0; p->fr.mallocd=0; + p->fr.delivery.tv_sec = 0; + p->fr.delivery.tv_usec = 0; phonee.bytes = ioctl(p->fd, PHONE_EXCEPTION); if (phonee.bits.dtmf_ready) { @@ -429,6 +431,8 @@ static struct ast_frame *phone_read(struct ast_channel *ast) p->fr.src = type; p->fr.offset = 0; p->fr.mallocd=0; + p->fr.delivery.tv_sec = 0; + p->fr.delivery.tv_usec = 0; /* Try to read some data... */ CHECK_BLOCKING(ast); |