mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
one more crash…
This commit is contained in:
parent
9e217f5fa4
commit
c6b204fc64
1 changed files with 1 additions and 0 deletions
|
|
@ -1702,6 +1702,7 @@ const char * linphone_friend_phone_number_to_sip_uri(LinphoneFriend *lf, const c
|
|||
}
|
||||
|
||||
proxy_config = linphone_core_get_default_proxy_config(linphone_friend_get_core(lf));
|
||||
if (!proxy_config) return NULL;
|
||||
if (strstr(phone_number, "tel:") == phone_number) phone_number += 4; /* Remove the "tel:" prefix if it is present. */
|
||||
normalized_number = linphone_proxy_config_normalize_phone_number(proxy_config, phone_number);
|
||||
if (!normalized_number) return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue