mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Avoid ending ring all other end point on incoming call while being in OS DND mode (that is not the presence mode) - RFC 3261.
Reason.DoNotDisturb send a 600 = "Busy Everywhere", Reason.Busy send a 486 = "Busy Here"
This commit is contained in:
parent
f9feac7b5e
commit
41069f27db
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ class ProviderDelegate: NSObject {
|
|||
let code = (error as NSError?)?.code
|
||||
switch code {
|
||||
case CXErrorCodeIncomingCallError.filteredByDoNotDisturb.rawValue:
|
||||
callInfo?.reason = Reason.DoNotDisturb
|
||||
callInfo?.reason = Reason.Busy // This answer is only for this device. Using Reason.DoNotDisturb will make all other end point stop ringing.
|
||||
case CXErrorCodeIncomingCallError.filteredByBlockList.rawValue:
|
||||
callInfo?.reason = Reason.DoNotDisturb
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue