This repository contains a sample application demonstrating the use of Webex Contact Center SDK Beta. It showcases how to build a simple agent desktop application with basic call control features.
To run the application:
- Open the project in Visual Studio Code
- Navigate to the
sample-code
directory - Click on the "Go Live" button in VS Code (you may need to install the "Live Server" extension if you don't have it)
- This will open the application in your default web browser
- Enter your access token and follow the on-screen instructions to initialize the SDK
- For a clear-cut guide on how to use the sample app, follow the Sample App Tutorial
This demo showcases the following features:
- SDK initialization with an access token
- Agent login/logout
- Setting agent state
- Handling incoming calls
- Basic call controls (answer, decline, hold, mute, end)
Important Limitations:
- Only basic call control features are fully implemented
- Consult and transfer flows require manual destination entry and may not work as expected in all scenarios
- This is a beta SDK demonstration and some features may change in future releases
For more detailed information:
- Refer to the Webex Contact Center SDK Beta documentation
- See the beta documentation provided with your SDK access for API details and implementation guidelines
sample-code/index.html
- Main HTML file for the applicationsample-code/app.js
- JavaScript implementation of the agent desktopsample-code/styles.css
- Styling for the application
We truly appreciate your contribution to the Webex Samples!
Made with <3 by the Webex Developer Relations Team at Cisco