Issue
I am trying to make a VoIP application and I wanted to know if it is possible to do the following with the Call Logs content provider -
I want to add new Call Log records for the VoIP call along with the call logs for the regular call. How can I add new records to the existing Call logs content provider?
I want to add custom fields to the Call Logs like a session ID and SIP address(name@domain) field. How can I customize the call logs database?
It'll be great if someone can give me an example.
Solution
From a standard SDK application, you cannot directly extend or modify the CallLog
database or content provider. For an SDK-based VOIP application, you should maintain your own call log.
If you are writing your own firmware for your own device, I am sure there are ways you can modify the call log database.
Answered By - CommonsWare
Answer Checked By - David Marino (JavaFixing Volunteer)