title: How do I know that an audio interruption ended without receiving AVAudioSessionInterruptionTypeEnded?
body: <p>I'm using AVAudioSession in my VOIP app (using also CallKit).
  I understand that the session can get interrupted by a number of things, for example by a second incoming call.
  Apple states towards the bottom of this page:
  <a href="https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/HandlingAudioInterruptions/HandlingAudioInterruptions.html#//apple_ref/doc/uid/TP40007875-CH4-SW5" rel="nofollow noreferrer">https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/HandlingAudioInterruptions/HandlingAudioInterruptions.html#//apple_ref/doc/uid/TP40007875-CH4-SW5</a></p>
  
  <blockquote>
    <p>"Note: There is no guarantee that a begin interruption will have a
    corresponding end interruption. Your app needs to be aware of a switch
    to a foreground running state or the user pressing a Play button. In
    either case, determine whether your app should reactivate its audio
    session."</p>
  </blockquote>
  
  <p>On the mentioned page there is an example for a special case, when the user ignores the incoming call and in that case AVAudioSessionInterruptionTypeEnded is being sent.</p>
  
  <p>But what should I do to know when the interruption has ended in every other case (in which cases I will never receive an AVAudioSessionInterruptionTypeEnded)? (E.g. When the user answers the 2nd call and puts me on hold and later he ends the 2nd call?)</p>
  
  <p>Thanks!</p>