Call Counters
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | history: expand history API include fileinclude/ src/ | +7 | 1 reply | |
| 2/5 | history: expand history APIsrc/ | +24 | 0 replies | |
| 3/5 | voicecall: take into use the new history functionsrc/ | +3 | 0 replies | |
| 4/5 | voicecall: add call counterssrc/ | +388 | 1 reply | |
| 5/5 | Makefile: add call counters to the buildMakefile.am | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Call Counters
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
voicecall: add call counters
Makefile: add call counters to the build
Makefile.am | 3 + include/history.h | 3 + src/callcounters.c | 388 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/history.c | 24 ++++ src/ofono.h | 4 + src/voicecall.c | 3 + 6 files changed, 425 insertions(+), 0 deletions(-) create mode 100644 src/callcounters.c