iOS incomingCall.reject on background mode doesn't notify caller

Open
#303 2 comments 0 reactions 1 assignee View on GitHub

@raosanat is already working on this.

Since Jul 13, 2021.

Assessment

This issue has not been assessed yet.

Description

Bug Calling iOS Waiting for Author

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.
    image
  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
Dominant language
No language data
Stars
340
Forks
113
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/Communication

All issues in Azure/Communication

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.