How do you retrieve the call list and voicemail messages on the iPhone?
<p>I'm developing an iPhone application that replicates the functionality of the built-in phone 
application, but adds a few features on top.  This is for ad hoc distribution only.</p>

<p>In particular, is there a way to programmatically retrieve the last calls received by the phone?  Also, how can an application access the list of voicemail messages?</p>
