From fedcab57fef626888c7dd19f804f679b6ef0b271 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Wed, 17 Oct 2012 13:51:27 +0200 Subject: [PATCH] Avoid wrongly busy answer after gsm call --- Classes/LinphoneManager.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 93238e9b2..b6f101bb7 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -970,6 +970,12 @@ static int comp_call_state_paused (const LinphoneCall* call, const void* param) } //kick up network cnx, just in case [LinphoneManager kickOffNetworkConnection]; + + [self setupGSMInteraction]; + //to make sure presence status is correct + if ([callCenter currentCalls]==nil) + linphone_core_set_presence_info(theLinphoneCore, 0, nil, LinphoneStatusAltService); + [self refreshRegisters]; linphone_core_iterate(theLinphoneCore); }