diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 1bd7f1109..ed344fc52 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1655,8 +1655,8 @@ static LinphoneCoreVTable linphonec_vtable = { linphone_core_enable_video_display(theLinphoneCore, FALSE); linphone_core_enable_video_capture(theLinphoneCore, FALSE); } - - [self enableProxyPublish:YES]; + + [self enableProxyPublish:([UIApplication sharedApplication].applicationState == UIApplicationStateActive)]; LOGI(@"Linphone [%s] started on [%s]", linphone_core_get_version(), [[UIDevice currentDevice].model UTF8String]);