proxy.c: replace + with most generic icp if none set

This commit is contained in:
Gautier Pelloux-Prayer 2016-04-04 13:35:06 +02:00
parent 24cbc11a7a
commit 3f495448e1

View file

@ -939,6 +939,9 @@ char* linphone_proxy_config_normalize_phone_number(LinphoneProxyConfig *proxy, c
, flatten_start);
ms_debug("Prepended prefix resulted in %s", result);
}
}else if (tmpproxy->dial_escape_plus){
/* user did not provide dial prefix, so we'll take the most generic one */
result = replace_plus_with_icp(flatten,most_common_dialplan.icp);
}
if (result==NULL) {
result = flatten;