I need to run an iPhone app in the background continuously so that it can respond to events thrown by CTCallCenter and CTTelephonyCenter. I have been using Private API's but can not jailbreak the phone. By using Location and VOIP background modes, I have been able to run in the background past the IOS 10 minute limit. Everything works well as long as the iPhone remains active, however, when the system has been asleep for too long or rebooted, the application no longer receives events thrown by CTCallCenter and CTTelephonyCenter and stops regularly logging its background tasks. It can however receive location events at which time it runs for a short period then is suspended again.
How can I ensure that the app always remains in an active background state, even after sleep or reboot?