Hi Albert
Many thanks for the reply. I really appreciate it.
The problem
I had installed iOS27 Beta2 on my iPhone and every so often over a few days I was making test calls.
Then one outgoing call failed and every subsequent call failed until I restarted the App.
This was alarming for me because I had never seen such a scenario before.
From my own debug log I could see that didActivateAudioSession had NOT been triggered by iOS.
I then tried to repeat the problem but nearly a week went by before it happened again.
So this is a random bug that I cannot repeat at will.
Is this a new know issue?
Have their been similar reports of this from other VoIP app developers with iOS27?
Has that area of the framework been modified in iOS27?
iOS27 Beta 3
I have installed this version on the iPhone yesterday. I am trying to repeat the problem but it hasn't happened again yet.
If it happens again I will try to get a logfile as you suggest. I wish I could repeat the problem easily but I cannot!
Timeout Mechanism?
You suggest that I use a timeout mechanism so as the App can recover from the lockup.
What should that mechanism do?
For example if didActivateAudioSession does not happen after 10 seconds then what should I do?
Do I need to kill my CXProviderDelegate object and create a new one? Do I need to recreate my Audio Chain?
Historical problems
Back in Oct 2016 (!!) there was a thread for a similar issue
https://developer.apple.com/forums/thread/64544?answerId=191868022#191868022
They were "one off failures" rather than the App completely failing for every subsequent call which is what I see now.
Apple's Stuart Montgomery mentioned it was reported in Radar # 28774388 and suggested workarounds at that time.
At that time I found that if I "configureAudioSession" in the completion block of a successful theMDSCXProvider reportNewIncomingCallWithUUID:theUUID update:theCallUpdate completion
then I got no failures of didActivateAudioSession. My code has been like that for 10 years working well with thousands of users. But now I think iOS27 has broken something!!
Thanks for your help
Many Thanks
Dave