Call Counters (2nd)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | history: expand history API include fileinclude/ | +3 | 0 replies | |
| 2/5 | history: expand history APIsrc/ src/ | +28 | 0 replies | |
| 3/5 | voicecall: take into use the new history functionsrc/ | +3 | 0 replies | |
| 4/5 | plugins: add call countersMakefile.am plugins/ | +391 | 0 replies | |
| 5/5 | doc: call counters API docdoc/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Call Counters (2nd)
Here a proposal for call counters implementation for keeping track of the total incoming and outgoing call duration counters. Each established call instance is contributing to either of the call duration counters. The 2 counters are updated periodically when there is an established call and the information is stored in a file. The bookkeeping of the call duration counters are per IMSI number.
The implementation makes use of the history framework which had to be expanded with a function for marking the beginning of a voice call. There is a D-Bus interface to call counters for reading and clearing the counters.
Andras Domokos (5):
history: expand history API include file
history: expand history API
voicecall: take into use the new history function
plugins: add call counters
doc: call counters API doc
Makefile.am | 3 + doc/callcounters-api.txt | 18 ++ include/history.h | 3 + plugins/callcounters.c | 388 ++++++++++++++++++++++++++++++++++++++++++++++ src/history.c | 24 +++ src/ofono.h | 4 + src/voicecall.c | 3 + 7 files changed, 443 insertions(+), 0 deletions(-) create mode 100644 doc/callcounters-api.txt create mode 100644 plugins/callcounters.c