-
Notifications
You must be signed in to change notification settings - Fork 387
Description
if let account = mCore.defaultAccount {
let params = account.params
let cloneParams = params?.clone()
cloneParams?.registerEnabled = false
account.params = cloneParams
if let info = account.findAuthInfo(){
mCore.removeAuthInfo(info: info)
}
mCore.removeAccount(account: account)
mCore.clearAccounts()
mCore.clearAllAuthInfo()
mCore.clearProxyConfig()
mCore.refreshRegisters()
mCore.stop()
}
This is my code. When I log in to the same account on another phone and make a call, I can still see the registration information from the console of the first device, and the call does not reach the currently logged-in phone.
2025-12-01 11:00:57:373 liblinphone-warning- TO header [sip:70037001001990@192.168.0.159] was probably ill-choosen, but an account that matches the username was found [sip:70037001001990@uatwebrtc.diankongcloud.cn:50570], using it
2025-12-01 11:00:57:373 liblinphone-warning- Applying workaround to have this call assigned to a known account.
2025-12-01 11:00:57:382 liblinphone-warning- [LIME] No identity key available, unable to setup identity key for ZRTP auxiliary shared secret
This is the content output from the console of the first device when I made a call on the second device,I want to know how I can completely exit the first device