Azure communication callingserver java
Skill chuyentn/coachai/.agent/skills/skills/azure-communication-callingserver-java
Azure Communication Services CallingServer (legacy) Java SDK. Note - This SDK is deprecated. Use azure-communication-callautomation instead for new projects. Only use this skill when maintaining le...From its SKILL.md
npx -y skills add chuyentn/coachai --skill azure-communication-callingserver-javaAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.8 KB, 568 tokens by cl100k_base, as published. Nobody here has run it
Azure Communication CallingServer (Java) - DEPRECATED
⚠️ DEPRECATED: This SDK has been renamed to Call Automation. For new projects, use
azure-communication-callautomationinstead. This skill is for maintaining legacy code only.
Migration to Call Automation
<!-- OLD (deprecated) -->
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-callingserver</artifactId>
<version>1.0.0-beta.5</version>
</dependency>
<!-- NEW (use this instead) -->
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-communication-callautomation</artifactId>
<version>1.6.0</version>
</dependency>
Class Name Changes
| CallingServer (Old) | Call Automation (New) |
|---|---|
CallingServerClient | CallAutomationClient |
CallingServerClientBuilder | CallAutomationClientBuilder |
CallConnection | CallConnection (same) |
ServerCall | Removed - use CallConnection |
Legacy Client Creation
// OLD WAY (deprecated)
import com.azure.communication.callingserver.CallingServerClient;
import com.azure.communication.callingserver.CallingServerClientBuilder;
CallingServerClient client = new CallingServerClientBuilder()
.connectionString("<connection-string>")
.buildClient();
// NEW WAY
import com.azure.communication.callautomation.CallAutomationClient;
import com.azure.communication.callautomation.CallAutomationClientBuilder;
CallAutomationClient client = new CallAutomationClientBuilder()
.connectionString("<connection-string>")
.buildClient();
Legacy Recording
// OLD WAY
StartRecordingOptions options = new StartRecordingOptions(serverCallId)
.setRecordingStateCallbackUri(callbackUri);
StartCallRecordingResult result = client.startRecording(options);
String recordingId = result.getRecordingId();
client.pauseRecording(recordingId);
client.resumeRecording(recordingId);
client.stopRecording(recordingId);
// NEW WAY - see azure-communication-callautomation skill
For New Development
Do not use this SDK for new projects.
See the azure-communication-callautomation-java skill for:
- Making outbound calls
- Answering incoming calls
- Call recording
- DTMF recognition
- Text-to-speech / speech-to-text
- Adding/removing participants
- Call transfer
Trigger Phrases
- "callingserver legacy", "deprecated calling SDK"
- "migrate callingserver to callautomation"
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.