mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 04:26:27 +00:00
Fix domain when performing an outgoing call without outgoing SIP proxy.
This commit is contained in:
parent
5cfe4d211c
commit
892bcefa2c
1 changed files with 1 additions and 1 deletions
|
|
@ -1287,7 +1287,7 @@ static void audioRouteChangeListenerCallback (
|
||||||
[error release];
|
[error release];
|
||||||
} else {
|
} else {
|
||||||
char normalizedUserName[256];
|
char normalizedUserName[256];
|
||||||
LinphoneAddress* linphoneAddress = linphone_address_new("sip:user@domain.com");
|
LinphoneAddress* linphoneAddress = linphone_address_new(linphone_core_get_identity(theLinphoneCore));
|
||||||
linphone_proxy_config_normalize_number(proxyCfg,[address cStringUsingEncoding:[NSString defaultCStringEncoding]],normalizedUserName,sizeof(normalizedUserName));
|
linphone_proxy_config_normalize_number(proxyCfg,[address cStringUsingEncoding:[NSString defaultCStringEncoding]],normalizedUserName,sizeof(normalizedUserName));
|
||||||
linphone_address_set_username(linphoneAddress, normalizedUserName);
|
linphone_address_set_username(linphoneAddress, normalizedUserName);
|
||||||
if(displayName!=nil) {
|
if(displayName!=nil) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue