Azure Communication Call Automation Service client library for Java - version 1.1.4
This package contains a Java SDK for Azure Communication Call Automation Service.
Source code | Package (Maven) | API reference documentation | Product documentation
Getting started
Prerequisites
- An Azure account with an active subscription. Create an account for free.
- Java Development Kit (JDK) version 8 or above.
- Apache Maven.
- A deployed Communication Services resource. You can use the Azure Portal or the Azure PowerShell to set it up.
Include the package
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-callautomation</artifactId>
<version>1.1.4</version>
</dependency>
Key concepts
This is the restart of Call Automation Service. It is renamed to Call Automation service and being more intuitive to use.
CallAutomationClient
provides the functionality to make call, answer/reject incoming call and redirect a call.
CallConnection
provides the functionality to perform actions in an established call connection such as adding participants and terminate the call.
CallMedia
introduces media related functionalities into the call.
CallRecording
provides the functionality of recording the call.
CallAutomationEventParser
provides the functionality to handle events from the ACS resource.
Examples
To be determined.
Troubleshooting
If you recieve a CommunicationErrorException with the messagae: "Action is invalid when call is not in Established state." This usually means the call has ended. This can occur if the participants all leave the call, or participants did not accept the call before the call timed out.
If you fail to start a call because of an HMAC validation error, be sure your access key is correct, and that you are passing in a valid conversation id.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Next steps
- Call Automation Overview
- Incoming Call Concept
- Build a customer interaction workflow using Call Automation
- Redirect inbound telephony calls with Call Automation
- Connect Azure Communication Services with Azure AI services
- Quickstart: Play action
- Quickstart: Recognize action
- Read more about Call Recording in Azure Communication Services
- Record and download calls with Event Grid
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for