From d4c5abaf0b5612b7df6798892cf1282b185dce08 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 20 Aug 2014 11:08:34 +0200 Subject: [PATCH] Disable route if Outbound proxy is disabled. Default values in the linphonerc force the route to a non-suitable default value otherwise. --- Classes/LinphoneCoreSettingsStore.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/LinphoneCoreSettingsStore.m b/Classes/LinphoneCoreSettingsStore.m index e893b9326..5ab8d7423 100644 --- a/Classes/LinphoneCoreSettingsStore.m +++ b/Classes/LinphoneCoreSettingsStore.m @@ -418,6 +418,8 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args); if (isOutboundProxy) linphone_proxy_config_set_route(proxyCfg, proxy); + else + linphone_proxy_config_set_route(proxyCfg, NULL); if ([self objectForKey:@"prefix_preference"]) { NSString* prefix = [self stringForKey:@"prefix_preference"];