feat(wxcc-second-ringer-widget): WxCC Header Widget playbook for secondary audio alerting#48
Open
fortunesmith wants to merge 1 commit intomainfrom
Open
feat(wxcc-second-ringer-widget): WxCC Header Widget playbook for secondary audio alerting#48fortunesmith wants to merge 1 commit intomainfrom
fortunesmith wants to merge 1 commit intomainfrom
Conversation
…secondary audio alerting Adds a new Webex Contact Center playbook demonstrating how to build an Agent Desktop Header Widget that plays a secondary ringtone on a chosen audio output device when an inbound contact or consult is offered. - Built with @wxcc-desktop/sdk, Lit web components, and the Web Audio API - Bundled with Vite (IIFE output); no backend server required - Audio asset (ring.mp3) bundled via Vite asset import - Desktop layout JSON included for Control Hub upload Made-with: Cursor
Playbook Validation ResultsPlaybook:
|
Playbook Details (from APPHUB.yaml)
Auto-generated from APPHUB.yaml. |
Contentstack: Published to integration
|
adamweeks
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
playbooks/wxcc-second-ringer-widget) demonstrating how to build an Agent Desktop Header Widget that plays a secondary ringtone on a user-selected audio output device when an agent receives an inbound contact or consult requestWhat's included
README.mdAPPHUB.yamlfriendly_id: wxcc-second-ringer-widget-playbook,product_types: [contact_center]diagrams/architecture-diagram.mdsrc/second-ringer.ts@wxcc-desktop/sdkcontact events; routes audio via Web Audio APIsrc/second-ringer_Layout.jsonsrc/env.templateWIDGET_HOST_URLfor deploymentsrc/assets/ring.mp3Tech stack
offered,answered,ended,RONA)ring.mp3handled as a bundled asset importenumerateDevices()+setSinkId()for secondary audio routingTest plan
scripts/ci/validate-playbook-folder.sh playbooks/wxcc-second-ringer-widget)APPHUB.yamlfields valid (friendly_idends with-playbook,product_typesuses allowed value)ring.mp3included and referenced via Vite asset import (not a remote URL)Audio attribution
ring.mp3— "Model 500 Telephone British ring" by CianMcCannSource: https://commons.wikimedia.org/wiki/File:Model_500_Telephone_British_ring.ogg
License: CC BY-SA 3.0 — https://creativecommons.org/licenses/by-sa/3.0/
Attribution noted in
src/second-ringer.tsheader comment.Made with Cursor