I want to create an application for jailbroken iphone (ios 4.0 or greater). I want my application to remain running and whenever my phone starts ringing (for an incoming call), my application should be able to capture that "call incoming" event and based on that i could perform some function e.g. lower speaker volume.
Can anyone guide me to the right direction, as to how can i capture such event, or if it is available in private coretelephony framework ?
Are you sure you want to monitor calls and not use
which is even in default XCode4 template?
If you still want call monitoring - it's available in public part of Core Telephony on iOS 4+