forked from mirrors/linphone-iphone
Use the account’s identity rather than a generic hard coded string as basis when synchronizing params. This fixes the loss of “sips” identity when exiting the settings menu.
This commit is contained in:
parent
877483201c
commit
7caecad1fb
1 changed files with 1 additions and 1 deletions
|
|
@ -632,7 +632,7 @@
|
|||
goto bad_proxy;
|
||||
|
||||
|
||||
LinphoneAddress *linphoneAddress = linphone_core_interpret_url(LC, "sip:user@domain.com");
|
||||
LinphoneAddress *linphoneAddress = linphone_address_clone(linphone_account_params_get_identity_address(linphone_account_get_params(account)));
|
||||
linphone_address_set_username(linphoneAddress, username.UTF8String);
|
||||
if ([LinphoneManager.instance lpConfigBoolForKey:@"use_phone_number" inSection:@"assistant"]) {
|
||||
char *user = linphone_account_normalize_phone_number(account, username.UTF8String);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue