iOS incomingCall.reject on background mode doesn't notify caller
- Dominant language
- No language data
- Stars
- 340
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Reject call on background doesn't notify caller where rejecting in foreground successfully notify rejected state to caller.
**To Reproduce**
Steps to reproduce the behavior:
1. Caller calls to iOS app
2. iOS user rejects call in lock screen
3. Caller is still ringing even though iOS app has successfully rejected the incoming call.

4. Above scenario works ok on foreground and I can see the event on console as below
```
CallClient1:CallAgent1:Call:ad152d9b-9109-4a6a-8d37-662085b79eea:Ringing Call end reason=Declined, code=603, subCode=0
```
But when incoming call is rejected from background or lock screen, caller doesn't get the declined event.
5. When caller hangs up while iOS app is ringing, it properly notifies didEnd incomingCall delegate and works properly on iOS side.
**Expected behavior**
Caller gets declined event when Callee reject from lock screen or background so that Caller doesn't have to wait until timeout.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: BigSir
- Browser Chrome
- Version 90.0.4430.93
**Smartphone (please complete the following information):**
- Device: iPhone SE2
- OS: 14.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.