Disable route if Outbound proxy is disabled. Default values in the linphonerc force the route to a non-suitable default value otherwise.

This commit is contained in:
Guillaume BIENKOWSKI 2014-08-20 11:08:34 +02:00
parent 20cde0f4a6
commit d4c5abaf0b

View file

@ -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"];