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

Allow requesting a ringtone during SIP call transfers #865

Merged
merged 6 commits into from
Oct 22, 2024

Conversation

biglittlebigben
Copy link
Contributor

No description provided.

Copy link

changeset-bot bot commented Oct 21, 2024

🦋 Changeset detected

Latest commit: 3f00913

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

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

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "github.com/livekit/protocol" specified in the `fixed` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@@ -99,4 +99,7 @@ message InternalCreateSIPParticipantResponse {
message InternalTransferSIPParticipantRequest {
string sip_call_id = 1;
string transfer_to = 2;

// Optionally play ringtone to the SIP participant as an audible indicator of being transferred
bool play_ringtone = 3;
Copy link
Member

Choose a reason for hiding this comment

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

I guess this terminology is already there.. but technically this is the dialtone, not ringtone

Copy link
Member

Choose a reason for hiding this comment

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

should we make a backwards compatible change now? wdyt @biglittlebigben @dennwc ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's wrong, but everybody calls it that way, including our customers. I'm all for changing it, but by backward compatible change, do you mean "wire protocol compatible", ie rename the field with the same id, or code compatible (ie new field and play the dial tone if either of the boolean is true)?

Copy link
Member

Choose a reason for hiding this comment

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

I was thinking code.. because we use twirp APIs.. and there isn't a clean way to change the column names there. but don't feel strongly that we need to change it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True for twirp. Folks will need to set both for some time, until we deploy the new flag everywhere, which is not ideal...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just renaming the field ought to be safe in the internal RPC protobuf though?

Copy link
Member

Choose a reason for hiding this comment

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

yeah internal RPC is totally fine.

@biglittlebigben biglittlebigben merged commit 538889e into main Oct 22, 2024
3 checks passed
@biglittlebigben biglittlebigben deleted the benjamin/sip_transfer_ring branch October 22, 2024 03:13
@github-actions github-actions bot mentioned this pull request Oct 22, 2024
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