Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ringing): Auto-Cancel outgoing calls #1217

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

oliverlaz
Copy link
Member

Overview

This PR fixes a bug in the scheduleAutoDrop() function that bailed out from scheduling a cancellation timer when server-side defined timeouts remained the same after consecutive call settings updates.

Also, this PR aligns the implementation and relies only on auto_cancel_timeout_ms. More context:

Fixes: #1215

Copy link
Contributor

@szuperaz szuperaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oliverlaz does this mean that incoming_call_timeout_ms will be removed from BE? I couldn't find that info in the linked Slack conversation

@oliverlaz
Copy link
Member Author

oliverlaz commented Dec 11, 2023

@oliverlaz does this mean that incoming_call_timeout_ms will be removed from BE? I couldn't find that info in the linked Slack conversation

@szuperaz, I'm not sure when this is going to happen, as this is a breaking change. But, if we keep using the two values, we may run into a weird situation.

@oliverlaz oliverlaz merged commit c4d557b into main Dec 11, 2023
18 of 20 checks passed
@oliverlaz oliverlaz deleted the outgoing-call-cancellation branch December 11, 2023 13:12
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.

The owner of a call do not automatically cancel the call when Auto-Cancel Timeout reached
3 participants