All skills
microsoft avatar

/azure-communication-callingserver-java

@67ae723
by microsoftmicrosoft/skills3.1k stars
351

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 legacy code.

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-communication-callingserver-java

This session only. Nothing lands on disk.

SKILL.md

≈62 tokens always: the name and description. ≈618 when used: this file. ≈647 more on demand in 1 file.

Azure Communication CallingServer (Java) - DEPRECATED

⚠️ DEPRECATED: This SDK has been renamed to Call Automation. For new projects, use azure-communication-callautomation instead. 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"

Source: SKILL.md on GitHub

1 warning15d4 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill provides documentation and migration guidance for a deprecated Azure Java SDK. It contains code snippets and dependency configurations that follow standard developer documentation practices with no security concerns detected.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

  • Runlayer7mo

    3/3 files flagged

Signed by skilld at 67ae723. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 18 hours ago.

Activeupdated 6 months ago
Other metadata
metadata
{
  "author": "Microsoft",
  "version": "1.0.0",
  "package": "com.azure:azure-communication-callingserver"
}

README badge

README badge for microsoft/skills/azure-communication-callingserver-java