-
Notifications
You must be signed in to change notification settings - Fork 40
Lobby Call Sample #115
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
base: main
Are you sure you want to change the base?
Lobby Call Sample #115
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a complete Java Spring Boot sample application demonstrating Call Automation Lobby Call functionality using Azure Communication Services. The sample showcases how to implement a lobby call system where incoming calls are placed in a waiting room before being transferred to a target call.
Key changes include:
- Implementation of a Spring Boot application with WebSocket support for real-time communication
- Call Automation SDK integration for handling incoming calls, creating target calls, and managing participants
- WebSocket handlers for managing lobby call notifications and user interactions
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| pom.xml | Maven configuration with Azure SDK dependencies and Spring Boot setup |
| application.yml | Spring Boot configuration template with placeholder values |
| Main.java | Spring Boot application entry point with configuration properties |
| ProgramSample.java | Core REST controller implementing Call Automation logic and event handling |
| WebSocketConfig.java | WebSocket configuration with dynamic endpoint registration |
| LobbyWebSocketHandler.java | WebSocket message handler for lobby call interactions |
| WebSocketHandler.java | Generic WebSocket handler for streaming data processing |
| ConfigurationRequest.java | Configuration model for application settings |
| CorsConfig.java | CORS configuration for cross-origin requests |
| README.md | Documentation for setup and usage instructions |
Purpose
This sample demonstrates how to utilize the Call Automation SDK to implement a Lobby Call scenario. Users join a lobby call and remain on hold until an user in the target call confirms their participation. Once approved, Call Automation (bot) automatically connects the lobby users to the designated target call.
The sample uses a client application (java script sample) available in Web Client Quickstart.
Does this introduce a breaking change?
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
What to Check
Verify that the following are valid
Other Information