diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 3ec024dd7..6e759060d 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -755,11 +755,6 @@ static void linphone_iphone_display_status(struct _LinphoneCore * lc, const char } } - if(state == LinphoneCallStreamsRunning ){ - [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil]; - [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error:nil]; - } - if (state == LinphoneCallConnected && !mCallCenter) { /*only register CT call center CB for connected call*/ [self setupGSMInteraction];