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

[WEBRTC-1618] Generate random UUID when params are missing #146

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

Oliver-Zimmerman
Copy link
Collaborator

WebRTC-1618 - onRingingReceived missing leg and session ID fix

This PR adds random UUID for the onRingingReceived Call message when the telnyx_session_id and telnyx_leg_id are missing from the jsonObject.

👴 👶 Behaviors

Before changes

If these params are missing (rare, uncertain of cause. Backend related), the application would crash

After changes

Instead of not handling the missing params, we now generate a random UUID. The call still works with these random values.

✋ Manual testing

  1. Do call flow as normal

Copy link

@j0nscalet j0nscalet left a comment

Choose a reason for hiding this comment

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

LGTM

@Oliver-Zimmerman Oliver-Zimmerman merged commit 92422e3 into main Mar 25, 2022
@Oliver-Zimmerman Oliver-Zimmerman deleted the WEBRTC-1618 branch December 2, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants