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 custom attributes on BYE method thru X-headers #220

Open
flaviogoncalves opened this issue Nov 11, 2024 · 1 comment
Open

Add custom attributes on BYE method thru X-headers #220

flaviogoncalves opened this issue Nov 11, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@flaviogoncalves
Copy link

We are integrating livekit with our Call Flow Builder. Using custom attributes we can now select agents and send data to the agent. This agents has tools and call these tools during the interaction to get data. Example: SSN. We can set this data to the SIP participant easily in the agent. What we need is the option to add this data to X-Headers in the end of the call to continue the call flow. If we don't have the information we can't go to the next node without the information obtained in the agent.

The modification we are suggesting is an option to send in the BYE the SIP participant attributes in the form of custom X-attribute headers.

@dennwc dennwc self-assigned this Nov 25, 2024
@dennwc dennwc added the enhancement New feature or request label Nov 25, 2024
@dennwc
Copy link
Contributor

dennwc commented Nov 25, 2024

Interesting use case! Indeed, we currently only pass custom attributes to INVITE or 200 OK, but not on BYE. I'll add a field for it as well: livekit/protocol#893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants