MR
Mayur Rathi
@mayurrathi
⭐ 5 GitHub stars

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

mkdir -p ./skills/azure-communication-callingserver-java && curl -sfL https://raw.githubusercontent.com/mayurrathi/awesome-agent-skills/main/skills/azure-communication-callingserver-java/SKILL.md -o ./skills/azure-communication-callingserver-java/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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


```xml

<!-- 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


```java

// 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


```java

// 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.

🎯 Best For

  • Claude users
  • Software engineers
  • Development teams
  • Tech leads

💡 Use Cases

  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Azure Communication Callingserver Java to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Is Azure Communication Callingserver Java compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Azure Communication Callingserver Java?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Azure Communication Callingserver Java?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/azure-communication-callingserver-java/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills