From: rajyalakshmi bommaraju <rajyalakshmi.bommaraju@intel.com>
To: ofono@ofono.org
Subject: Re: Please comment on callhistory API
Date: Fri, 24 Sep 2010 15:00:00 -0700 [thread overview]
Message-ID: <4C9D1F60.6090005@intel.com> (raw)
In-Reply-To: <1285291025.20811.102.camel@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 3091 bytes --]
Hello Marcel,
I have incorporated your feedback into the document . Please let me know
if anything needs to be changed.
Thanks
Raji
Callhistory Adapter-Agent
CallHistory is a built in plugin for ofono. It uses CallHistoryAgent api
exposed by client to push voice call history information.
CallHistoryAgent api is a service interface exposed by client over dbus.
Plugin exposes CallHistory interface that CallHistoryAgent registers and
unregisters with. if the CallHistoryAgent registers with CallHistory
then plugin pushes the history information to the agent soon as it
receives from ofono, otherwise it caches the data in a disk file until
agent registers, once agent registers plugin will read the data from the
disk file and pushes all the records to it.
CallHistory:
it is going to register and unregister the agent. It calls the methods
on the agent for delivering history information whent the agent is up
and running. The history record will be written to the disk if agent
method returns error or if the agent is not running.
CallHistory hierarchy
=============
Service : org.ofono
Interface : org.ofono.CallHistory
Object path : [variable prefix]/{modem0,modem1,...}/CallHistory
Methods void RegisterAgent (objectpath)
RegisterAgent method registers the agent object path. Methods on this
agent will be called if history needs to push data.
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.InUse
void UnregisterAgent (objectpath)
UnregisterAgent method unregister the already registered agent object path.
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidFormat
[service].Error.InUse
CallHistoryAgent hierarchy
================
Service Name : Unique Name
Interface : org.ofono.CallHistoryAgent
Objectpath : Freely definable
Methods void SendHistory( array{dict})
This method gets called by ofono to deliver an array of records. Each
record is represented as a dictionary, all the dict properties are
described in the "Properties" section.
Possible Errors: [service].Error.Unsuccessful
void Release()
Cleans up agent, assumes that agent is already unregistered, so not
needed to unregister.
Properties
=======
integer Uid [Read Only]
Integer representing the unique id of the history record
string Calltype [Read Only]
string representing the call type. Call type can be one of the following
three alternatives
"outgoing" - it is an outgoing call
"incoming" - it is an incoming call
"missed" - it is a missed call
string LineIdentification [Read Only]
string representing the LineIdentification , for outgoing call it is the
phone number dialed. For Incoming call it is the CLIP, or COLP if
received by the underlying implementation.
string StartTime [Read Only]
String representing start time of the call
string EndTime [Read Only]
String representing end time of the call
next prev parent reply other threads:[~2010-09-24 22:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 20:28 Please comment on callhistory API rajyalakshmi bommaraju
2010-09-24 1:17 ` Marcel Holtmann
2010-09-24 22:00 ` rajyalakshmi bommaraju [this message]
2010-09-27 17:50 ` Marcel Holtmann
2010-09-27 20:38 ` rajyalakshmi bommaraju
2010-09-27 22:21 ` Marcel Holtmann
2010-09-27 23:30 ` rajyalakshmi bommaraju
2010-09-28 14:08 ` Marcel Holtmann
2010-09-30 18:41 ` rajyalakshmi bommaraju
2010-10-01 7:33 ` Marcel Holtmann
2010-10-20 23:38 ` rajyalakshmi bommaraju
2010-09-27 23:08 ` Denis Kenzior
2010-09-27 23:14 ` Marcel Holtmann
2010-09-27 23:18 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C9D1F60.6090005@intel.com \
--to=rajyalakshmi.bommaraju@intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.