Do not change identity address to “sips” when transport is pls

This commit is contained in:
QuentinArguillere 2021-10-08 11:30:03 +02:00
parent fea93b82e9
commit eb6cf542fb

View file

@ -549,7 +549,7 @@
LinphoneAddress *linphoneAddress;
linphoneAddress = linphone_core_interpret_url(LC, isTransportTls ? "sips:user@domain.com" : "sip:user@domain.com");
linphoneAddress = linphone_core_interpret_url(LC, "sip:user@domain.com");
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);