I am seeing a similar issue, but I am not sure it is exactly the same.
What I am seeing is that upon a fresh launch of the application, the first time I try to accept an incoming call by way of call kit, `provider:didActivateAudioSession:` is never invoked. If I make an outgoing call, everything works and subsequent incoming calls work. So it mainly appears to be an issue when the app first launches?
I initially thought it was an issue with the code that reaches out to our infrastructure and the media layer. So to try and troubleshoot this a bit more, I went back to the Speakerbox sample app.
When I start the app fresh, and make an outbound call with CallKit, I get `provider:didActivateAudioSession:` invoked. Then I used their simulate button using the local notification to start an incoming call and... it worked... I was a little surprised because that was not the experience that I was expecting. I then thought about the differences and realized that, yes, to test this in the exact same way as my application, I will need to have the app notified via a VoIP push. So I set up a VoIP cert for Speakerbox and fired off a push. And low and behold, I get the same behavior as in my app. I do NOT get the `provider:didActivateAudioSession:` callback and I see this in the logs:
Configuring audio session
2016-10-13 16:13:46.096232 Speakerbox[7252:1785573] [aurioc] 889: failed: 'ent?' (enable 3, outf< 1 ch, 44100 Hz, Float32> inf< 1 ch, 44100 Hz, Float32>)
2016-10-13 16:13:46.096288 Speakerbox[7252:1785573] Error returned from setupIOUnit: 1701737535: couldn't initialize Apple Voice Processing IO instance