Fix call transfer to an email address.

This commit is contained in:
Ghislain MARY 2013-03-21 14:16:02 +01:00
parent 5e6098e14f
commit 453f5bf5c4

View file

@ -1294,7 +1294,7 @@ static void audioRouteChangeListenerCallback (
linphone_address_set_display_name(linphoneAddress, [displayName cStringUsingEncoding:[NSString defaultCStringEncoding]]);
}
if(transfer) {
linphone_core_transfer_call(theLinphoneCore, linphone_core_get_current_call(theLinphoneCore), normalizedUserName);
linphone_core_transfer_call(theLinphoneCore, linphone_core_get_current_call(theLinphoneCore), linphone_address_as_string_uri_only(linphoneAddress));
} else {
call=linphone_core_invite_address_with_params(theLinphoneCore, linphoneAddress, lcallParams);
}