azure-communication-callingserver-java – skill Lập trình cho agent AI
⚠️ DEPRECATED: SDK này đã được đổi tên thành Call Automation. Với dự án mới, hãy dùng azure-communication-callautomation. Skill này chỉ dành cho bảo trì mã cũ.
Cài skill azure-communication-callingserver-java bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/azure-communication-callingserver-java-44ceb.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /azure-communication-callingserver-java – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/azure-communication-callingserver-java-44ceb.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $azure-communication-callingserver-java – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/azure-communication-callingserver-java-44ceb.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /azure-communication-callingserver-java – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/azure-communication-callingserver-java-44ceb.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /azure-communication-callingserver-java – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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 legacyClient = new CallingServerClientBuilder()
.connectionString("<connection-string>")
.buildClient();
// NEW WAY
import com.azure.communication.callautomation.CallAutomationClient;
import com.azure.communication.callautomation.CallAutomationClientBuilder;
CallAutomationClient automationClient = new CallAutomationClientBuilder()
.connectionString("<connection-string>")
.buildClient();Legacy Recording
// OLD WAY
StartRecordingOptions options = new StartRecordingOptions(serverCallId)
.setRecordingStateCallbackUri(callbackUri);
StartCallRecordingResult result = legacyClient.startRecording(options);
String recordingId = result.getRecordingId();
legacyClient.pauseRecording(recordingId);
legacyClient.resumeRecording(recordingId);
legacyClient.stopRecording(recordingId);
// NEW WAY - see azure-communication-callautomation skillFor 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
Use only when maintaining historical CallingServer code or planning migration to azure-communication-callautomation-java; do not start new integrations with the retired package.
Limitations
- Legacy and new snippets are alternative fragments, not a drop-in migration. Pin reviewed package versions and verify the exact replacement API; the legacy recording options are not assumed compatible with Call Automation.
- Call control and recording can affect real participants, costs and sensitive communications. Obtain call/account authorization and required participant consent, keep credentials out of code/logs, and never place or record a call merely to validate these examples.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- llm-evaluation – Triển khai chiến lược đánh giá toàn diện cho ứng dụng LLM bằng số liệu tự động, phản hồi…
- har-derived-api-client – Ghi lại XHR của trang web thành HAR, rồi suy ra một HTTP client.
- matlab – Xây dựng, rà soát, di chuyển và lập kế hoạch quy trình tính toán số MATLAB hoặc GNU…
- azure-communication-sms-java – Gửi tin nhắn SMS với SDK Java của Azure Communication Services SMS. Dùng khi triển khai…
- azure-compute-batch-java – SDK Azure Batch cho Java. Chạy các job xử lý song song và HPC quy mô lớn với pool, job…
- azure-cosmos-java – SDK Azure Cosmos DB cho Java. Thao tác cơ sở dữ liệu NoSQL với phân tán toàn cầu, hỗ trợ…
- azure-cosmos-rust – SDK Azure Cosmos DB cho Rust (NoSQL API). Dùng cho thao tác CRUD tài liệu, truy vấn…
- azure-data-tables-java – Xây dựng ứng dụng table storage bằng SDK Azure Tables cho Java. Hoạt động với cả Azure…