From 369b1df32624e542cb0b9d29f9443768aa20de63 Mon Sep 17 00:00:00 2001
From: Vinothini Dharmaraj <146493756+v-vdharmaraj@users.noreply.github.com>
Date: Tue, 16 Jul 2024 21:49:51 -0700
Subject: [PATCH] updating alpha version (#40818)
* updating alpha version
* updating the change log with ga release change
* fixing the lint errors
* udpating the sample version
* updating the api version number
* Adding recording kind to the recording state which is missed in the ga3 checkin
* Small Change to isPauseOnStart (#40977)
* init commit
* added recordingKind
* fixed typo
* added recordingKind
* changed tests for recordingKind
---------
Co-authored-by: amariwest-msft <139818906+amariwest-msft@users.noreply.github.com>
---
eng/versioning/version_client.txt | 2 +-
.../azure-communication-callautomation/CHANGELOG.md | 5 +----
.../azure-communication-callautomation/README.md | 8 +++++++-
.../azure-communication-callautomation/pom.xml | 2 +-
.../callautomation/CallAutomationServiceVersion.java | 5 +++++
5 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index b56710477294..868bc03bd37b 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -67,7 +67,7 @@ com.azure:azure-aot-graalvm-support-netty;1.0.0-beta.3;1.0.0-beta.4
com.azure:azure-aot-graalvm-samples;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-aot-graalvm-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-code-customization-parent;1.0.0-beta.1;1.0.0-beta.1
-com.azure:azure-communication-callautomation;1.2.2;1.2.0-beta.1
+com.azure:azure-communication-callautomation;1.2.2;1.3.0-beta.1
com.azure:azure-communication-callingserver;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-communication-chat;1.5.2;1.6.0-beta.1
com.azure:azure-communication-common;1.3.4;1.4.0-beta.1
diff --git a/sdk/communication/azure-communication-callautomation/CHANGELOG.md b/sdk/communication/azure-communication-callautomation/CHANGELOG.md
index c0dcec7c1342..379a1a1c0d5b 100644
--- a/sdk/communication/azure-communication-callautomation/CHANGELOG.md
+++ b/sdk/communication/azure-communication-callautomation/CHANGELOG.md
@@ -1,8 +1,6 @@
# Release History
-## 1.2.0-beta.1 (Unreleased)
-
-- Introduced `TeamsRecordingStateChanged` and `TeamsComplianceRecordingStateChanged` events.
+## 1.3.0-beta.1 (Unreleased)
### Features Added
@@ -32,7 +30,6 @@
- Upgraded `azure-communication-common` from `1.3.2` to version `1.3.3`.
- Upgraded `azure-core` from `1.48.0` to version `1.49.0`.
-
## 1.2.0 (2024-05-01)
### Features Added
diff --git a/sdk/communication/azure-communication-callautomation/README.md b/sdk/communication/azure-communication-callautomation/README.md
index 423261a65673..89f0944557d7 100644
--- a/sdk/communication/azure-communication-callautomation/README.md
+++ b/sdk/communication/azure-communication-callautomation/README.md
@@ -17,6 +17,7 @@ This package contains a Java SDK for Azure Communication Call Automation Service
### Include the package
[//]: # ({x-version-update-start;com.azure:azure-communication-callautomation;current})
+
```xml
com.azure
@@ -24,6 +25,7 @@ This package contains a Java SDK for Azure Communication Call Automation Service
1.1.0
```
+
[//]: # ({x-version-update-end})
## Key concepts
@@ -42,8 +44,10 @@ This is the restart of Call Automation Service. It is renamed to Call Automation
## Examples
### Handle Mid-Connection events with CallAutomation's EventProcessor
+
To easily handle mid-connection events, Call Automation's SDK provides easier way to handle these events.
Take a look at `CallAutomationEventProcessor`. This will ensure correlation between call and events more easily.
+
```Java
@RestController
public class ActionController {
@@ -62,6 +66,7 @@ public class ActionController {
}
}
```
+
`processEvents` is required for EventProcessor to work.
After event is being consumed by EventProcessor, you can start using its feature.
@@ -88,6 +93,7 @@ public class commandClass {
}
}
```
+
If timeout was not set when calling "waitForEventProcessorAsync", the default timeout is 4 minutes.
## Troubleshooting
@@ -135,4 +141,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[build4]: https://learn.microsoft.com/azure/communication-services/quickstarts/voice-video-calling/recognize-action?pivots=programming-language-java
[recording1]: https://learn.microsoft.com/azure/communication-services/concepts/voice-video-calling/call-recording
[recording2]: https://learn.microsoft.com/azure/communication-services/quickstarts/voice-video-calling/get-started-call-recording?pivots=programming-language-java
-[cognitive_integration]: https://learn.microsoft.com/azure/communication-services/concepts/call-automation/azure-communication-services-azure-cognitive-services-integration
\ No newline at end of file
+[cognitive_integration]: https://learn.microsoft.com/azure/communication-services/concepts/call-automation/azure-communication-services-azure-cognitive-services-integration
diff --git a/sdk/communication/azure-communication-callautomation/pom.xml b/sdk/communication/azure-communication-callautomation/pom.xml
index 0c00fdf6d79d..3ce38e097ddc 100644
--- a/sdk/communication/azure-communication-callautomation/pom.xml
+++ b/sdk/communication/azure-communication-callautomation/pom.xml
@@ -15,7 +15,7 @@
com.azure
azure-communication-callautomation
jar
- 1.2.0-beta.1
+ 1.3.0-beta.1
Microsoft Azure client library for Call Automation service
diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallAutomationServiceVersion.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallAutomationServiceVersion.java
index cae499022b2f..2ae4c5b376e0 100644
--- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallAutomationServiceVersion.java
+++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallAutomationServiceVersion.java
@@ -20,6 +20,11 @@ public enum CallAutomationServiceVersion implements ServiceVersion {
*/
V2023_10_15("2023-10-15"),
+ /**
+ * Service version {@code 2024-04-15}.
+ */
+ V2024_04_15("2024-04-15"),
+
/**
* Service version {@code 2023-10-03-preview}.
*/