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

Add support for REJECT_ALL #838

Merged
merged 3 commits into from
Jul 25, 2023
Merged

Add support for REJECT_ALL #838

merged 3 commits into from
Jul 25, 2023

Conversation

edolix
Copy link
Contributor

@edolix edolix commented Jul 24, 2023

Description

Expose a new method hangupAll (name to review) to allow end user to decide if they want to reject all the legs created to reach all the devices.
Assuming an address resolves to 10 devices, dialing that address will make 10 different legs. With reject all they can hangup all the legs with one request.

Note: useful in CF only for now.

Type of change

  • Internal refactoring
  • Bug fix (bugfix - non-breaking)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Code snippets

await callObject.hangupAll()

@changeset-bot
Copy link

changeset-bot bot commented Jul 24, 2023

🦋 Changeset detected

Latest commit: 7fb7618

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@sw-internal/playground-js Patch
@signalwire/webrtc Minor
@sw-internal/e2e-js Patch
@signalwire/js Patch

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

@edolix edolix changed the title WIP: Add support for REJECT_ALL Add support for REJECT_ALL Jul 24, 2023
@edolix edolix merged commit a7ae544 into main Jul 25, 2023
@edolix edolix deleted the eg/reject-all branch July 25, 2023 09:40
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