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

"track_subscribed" event is not sent as webhook #262

Open
drew-g-ross opened this issue Jan 20, 2025 · 0 comments
Open

"track_subscribed" event is not sent as webhook #262

drew-g-ross opened this issue Jan 20, 2025 · 0 comments

Comments

@drew-g-ross
Copy link

Hello,

The track_subscribed event is not currently sent as a webhook event. This presents a problem for my app. My app's flow is as follows:

  1. An SIP user is dispatched to a newly created room
  2. On room creation, two agents are explicitly dispatched to the newly created room
  3. The SIP user should be subscribe to agent 1's track, but not to agent 2's track

The current only way to reliably do this is to wait until the SIP user subscribes to agent 2's track, then unsubscribe it when it does (since you cannot turn off autosubscribe for SIP participants). However, neither the webhook server nor the two agents in the room ever get notified of the "track_subscribed" event of the SIP agent. Would it be possible for this event to be sent as a webhook?

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

No branches or pull requests

1 participant