Skip to content

Conversation

wyrdereodyssey
Copy link

What’s the problem?
When endCall is invoked in CallKit, duplicate CXEndCallAction transactions can be requested if the UUID is invalid or handled multiple times. This may cause inconsistent behavior or unexpected errors on iOS.

What does this fix do?
Validates the callUUID before creating an CXEndCallAction.
Ensures that only valid transactions are sent to CallKit.
Prevents duplicate or invalid transactions that can break call termination.

How was this tested?
Triggered endCall with a valid callUUID → call ends as expected.
Triggered endCall with an invalid callUUID → returns error early, no duplicate transaction created.
Verified logs show correct behavior.

Related Issues

Fixes #<16365>

@jitsi-jenkins
Copy link

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

@wyrdereodyssey
Copy link
Author

signed the cla, do i need to provide something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants