diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 96f7d73c5..860fa91b3 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -795,13 +795,14 @@ static LinphoneCoreVTable linphonec_vtable = { ortp_set_log_level_mask(ORTP_DEBUG|ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL); } [LinphoneLogger logc:LinphoneLoggerLog format:"Create linphonecore"]; - linphone_core_set_user_agent([@"LinphoneIPhone" UTF8String], - [[[NSBundle mainBundle] objectForInfoDictionaryKey:(NSString*)kCFBundleVersionKey] UTF8String]); + theLinphoneCore = linphone_core_new (&linphonec_vtable , [confiFileName cStringUsingEncoding:[NSString defaultCStringEncoding]] , [factoryConfig cStringUsingEncoding:[NSString defaultCStringEncoding]] ,self); + linphone_core_set_user_agent(theLinphoneCore,"LinphoneIPhone", + [[[NSBundle mainBundle] objectForInfoDictionaryKey:(NSString*)kCFBundleVersionKey] UTF8String]); fastAddressBook = [[FastAddressBook alloc] init]; linphone_core_set_root_ca(theLinphoneCore, lRootCa); diff --git a/submodules/externals/exosip b/submodules/externals/exosip index cbb76acfe..cb5a82765 160000 --- a/submodules/externals/exosip +++ b/submodules/externals/exosip @@ -1 +1 @@ -Subproject commit cbb76acfe36aaa0e79911569e218d77c622fa9d4 +Subproject commit cb5a8276531d2436f35bdddaca99665b88ee6e95 diff --git a/submodules/linphone b/submodules/linphone index 3c4bd90ba..30e8bf54b 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 3c4bd90ba3ebbfd600a3180d45a4514e8f641e5d +Subproject commit 30e8bf54b81adb7e99cd5bf012c4ab63fdb8a884