forked from mirrors/linphone-iphone
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];
|
||||
} else {
|
||||
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_address_set_username(linphoneAddress, normalizedUserName);
|
||||
if(displayName!=nil) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue