summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2017-03-02 22:37:01 +0100
committerz3bra <contactatz3bradotorg>2017-03-02 22:37:01 +0100
commit2206ba0a97aa9daa61530a21b5970f4784f10e07 (patch)
tree1ebf5e1e87dc2a55c11dc8b6158eba87ad6a5bb0
parentadd9f2a1bfa7ee3d225daae16046712d70d724cd (diff)
Add logmsg() when call goes from RINGING to TRANSMITTING
-rw-r--r--ratox.c2
1 files changed, 2 insertions, 0 deletions
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);
}
}