From 2206ba0a97aa9daa61530a21b5970f4784f10e07 Mon Sep 17 00:00:00 2001 From: z3bra Date: Thu, 2 Mar 2017 22:37:01 +0100 Subject: Add logmsg() when call goes from RINGING to TRANSMITTING --- ratox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ratox.c b/ratox.c index d12f4b9..1694aca 100644 --- a/ratox.c +++ b/ratox.c @@ -395,6 +395,7 @@ cbcallstate(ToxAV *av, uint32_t fnum, uint32_t state, void *udata) if (f->av.state & RINGING) { f->av.state &= ~RINGING; f->av.state |= TRANSMITTING; + logmsg(": %s : Audio > Transmitting\n", f->name); } } @@ -1690,6 +1691,7 @@ loop(void) } f->av.state &= ~RINGING; f->av.state |= TRANSMITTING; + logmsg(": %s : Audio > Answered\n", f->name); } } -- cgit v1.2.3