On 10/25/2010 02:43 PM, Aki Niemi wrote:
2010/10/25 Marcel Holtmann <marcel(a)holtmann.org>:
>> I am proposing adding Call counters to Voicecall. Here is the TODO patch:
>> diff --git a/TODO b/TODO
>> index d9a6580..89e180c 100644
>> --- a/TODO
>> +++ b/TODO
>> @@ -329,6 +329,15 @@ Voicecall
>> Complexity: C2
>> Owner: Pekka Pessi <pekka.pessi(a)nokia.com>
>> +- Call counters. Provide total outgoing and incoming call duration
>> + Separate call counters will be maintained for each SIM card. Call
>> + can be read and reset to 0, and must be backed up periodically to a
>> + non-volatile storage place.
> what is wrong with using the history plugin API and working towards a
> bridge to get these information into tracker.
I think what Andras is suggesting here are per-IMSI properties. This
can be done as a history plugin, sure, but probably a more natural
place would be the voicecall atom.
voicecall atom is already pretty complicated, so if possible this should
be done outside of the voicecall atom. Or does the call tracking
require access to the call state information that history api does not