summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ratox.c b/ratox.c
index f54ba93..97a3f55 100644
--- a/ratox.c
+++ b/ratox.c
@@ -1693,6 +1693,9 @@ loop(void)
f->av.state &= ~RINGING;
f->av.state |= TRANSMITTING;
logmsg(": %s : Audio > Answered\n", f->name);
+ ftruncate(f->fd[FCALL_STATE], 0);
+ lseek(f->fd[FCALL_STATE], 0, SEEK_SET);
+ dprintf(f->fd[FCALL_STATE], "transmitting\n");
}
}