commit 2206ba0a97aa9daa61530a21b5970f4784f10e07
parent add9f2a1bfa7ee3d225daae16046712d70d724cd
Author: z3bra <contactatz3bradotorg>
Date: Thu, 2 Mar 2017 22:37:01 +0100
Add logmsg() when call goes from RINGING to TRANSMITTING
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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);
}
}