diff options
author | z3bra <contactatz3bradotorg> | 2017-03-02 22:37:51 +0100 |
---|---|---|
committer | z3bra <contactatz3bradotorg> | 2017-03-02 22:37:51 +0100 |
commit | 3a0b00460b6e82d920d360accdbe19d09548b7f7 (patch) | |
tree | df8a3917f0104207415ca1337f55d99f554c4833 /ratox.c | |
parent | 8980dc40eef790b5f706068db6c34abaf0637594 (diff) |
Write call state to the FCALL_STATE file
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"); } } |