I'm a newbie and wonder if there is any API to access call statistics in mobile phones. Examples are

call origination success
drop call
sms sent/received
latitude/longitude
state of the phone...