-
Notifications
You must be signed in to change notification settings - Fork 13k
feat: improve voip error handling #35776
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
Conversation
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 7f363a2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 37 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #35776 +/- ##
===========================================
+ Coverage 61.16% 61.17% +0.01%
===========================================
Files 3003 3005 +2
Lines 71350 71387 +37
Branches 16333 16342 +9
===========================================
+ Hits 43638 43669 +31
- Misses 24745 24751 +6
Partials 2967 2967
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
|
This PR is important for us to test the VoIP solution on Open continuously, and also represents important improvements in how we currently handle call errors. If approved technically, we can move forward with it. |
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Proposed changes (including videos or screenshots)
Determine the reason for a call having ended and if the reason is not natural, show an error message to the user.
Issue(s)
CORE-1081
Steps to test or reproduce
Further comments
This pull request aims to enhance the error handling capabilities for voice calls in the Rocket.Chat application. The changes include:
i18nJSON file.VoipErrorViewcomponent, including new error status code handling and improved default error messages that incorporate status codes.VoipClientto parse SIP invitation cancellation reasons and emit a newincomingcallerrorevent for specific failure scenarios, such as 'USER_NOT_REGISTERED' or unexpected cancellations. This also includes error logging improvements and proper wiring of the new cancellation handler to the invitation delegate.VoipProviderto handle incoming call errors more effectively.These improvements are intended to provide more robust error handling and clearer communication of issues during VoIP calls.