Can an Audio Session be Restarted After a Call?

Hi All,


We are building an app that analyses audio in the background. When a call comes in the app turns off the audio session and then restarts. Occasionally the audio session is not restarted; we think this is caused by the iOS operating system not allowing it. Is this the case? is it because our app is idle?


Regards,


Feras A.