Skip to content

Krisp inbound trunk setting#866

Merged
frostbyte73 merged 8 commits intomainfrom
krisp-inbound-trunk
Oct 22, 2024
Merged

Krisp inbound trunk setting#866
frostbyte73 merged 8 commits intomainfrom
krisp-inbound-trunk

Conversation

@frostbyte73
Copy link
Copy Markdown
Member

No description provided.

@frostbyte73 frostbyte73 requested a review from a team October 21, 2024 18:30
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Oct 21, 2024

🦋 Changeset detected

Latest commit: 45b14e5

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.

// Max call duration.
google.protobuf.Duration max_call_duration = 12;

bool krisp_enabled = 13;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the motivation to use boolean here rather than with a repeated feature field like for the rpc?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I did it here because it's specific to SIPInboundTrunkInfo, while future features might not apply

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

supported vs unsupported features can be dealt with request validation early in the request processing. Unique booleans for each feature will require us to keep adding fields to the messages, which may become quite long. It would work from a functionality perspective though, of course. Curious what other folks think.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

it seems clearer to have the Trunk definition to be explicit and flat.

// Max call duration.
google.protobuf.Duration max_call_duration = 12;

bool krisp_enabled = 13;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

it seems clearer to have the Trunk definition to be explicit and flat.

@frostbyte73 frostbyte73 merged commit ce8ba5a into main Oct 22, 2024
@frostbyte73 frostbyte73 deleted the krisp-inbound-trunk branch October 22, 2024 05:14
@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.

3 participants