Skip to content

Users/v dharmarajv/beta5 merge from main #49131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 103 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
60e8429
beta4 api changes
May 9, 2024
73cbbee
updating tests
May 10, 2024
059ef5c
updating the even result code
May 10, 2024
5f80777
fixing the test unit test failures
May 10, 2024
af9be93
Added beta4 media streaming apis (#44005)
v-durgeshs May 15, 2024
c3f2a4f
updating the api version on the change log
May 15, 2024
0268c08
adding hold and unhold azure board comments
May 15, 2024
751efcc
running latest api specs
May 15, 2024
06d6bf2
adding the prompt list and removed custom context from group calling
May 15, 2024
f7ff78e
adding unit tests to prompt list
May 17, 2024
15a9c77
updating the prompts access modifier
May 17, 2024
85e260f
Added MediaStreamingSubscription and TranscriptionSubscription proper…
v-durgeshs May 22, 2024
5d3b65a
updating the version numbers and the speech model endpoint to transcr…
May 22, 2024
7f83b9f
Update test records
williamzhao87 May 24, 2024
8f125b0
Addressing azure board review comments
May 28, 2024
28a2bc3
updating duration and offset to timespan
May 30, 2024
2a3ae7c
updating the transcription update to not null
May 30, 2024
3d55fa4
Updating the media streaming update to not null
May 30, 2024
647909f
updating the word data
Jun 17, 2024
a9370bc
Added live tests for media streaming and transcription (#44440)
v-pivamshi Jun 19, 2024
73a8eca
Adding hold and unhold live tests
Jun 20, 2024
f1a6798
Running main apispec
Jun 20, 2024
408af58
Merging connect api to beta4 branch (#44680)
v-dharmarajv Jun 20, 2024
a865909
updating test record
Jun 21, 2024
7e55cef
assets json
Jun 21, 2024
32bc3f6
reverting the azure core package
Jun 21, 2024
5f1afe5
updating api
Jun 21, 2024
4342f70
updating the test records
Jun 21, 2024
be13bba
updating the testdata for media
Jun 21, 2024
47e7742
Adding custom endpoint support for bug bash
Jun 26, 2024
90fe3e0
updating the pma endpoint api
Jun 26, 2024
2093ef4
updating livetest for multiple playsources
Jun 27, 2024
8cfffdd
adding the string based parser
Jul 6, 2024
958e3c9
updating the test records
Jul 15, 2024
dc8ac56
updating the asset json
Jul 15, 2024
8468286
updating the update transcription and media streaming
Jul 15, 2024
05b36e6
update test
Jul 15, 2024
fb74dac
updating the livetest
Jul 16, 2024
609bdd7
updating the assert json
Jul 16, 2024
7d6a90c
updating the test record
Jul 16, 2024
baf8d83
Update macos image from 11 to latest (#44607)
weshaggard Jun 17, 2024
697e6f6
updating the test data
Jul 16, 2024
ffaf50c
updating test data with context
Jul 16, 2024
147b61b
missed adding the operation context for the sync stop media streaming
Jul 17, 2024
862a105
updating the changelog and recording new tests
Jul 17, 2024
4f9ec29
updating the changelog
Jul 17, 2024
da6fbcc
updating the tests
Jul 17, 2024
cf04962
merging from main
Jul 19, 2024
3dbd5a7
merge and aurest fix
Jul 19, 2024
b3e1328
recording new tests
Jul 22, 2024
c5e60a9
updating the test records
Jul 23, 2024
788b0e5
updating tests
Jul 23, 2024
dd0f3f3
Addressing the comments
Jul 29, 2024
488b6b5
updating the release date
Jul 29, 2024
5ad7744
updating release date
Aug 2, 2024
0336158
removing extra headers from changelog
Aug 2, 2024
7b45df6
Increment package version after release of Azure.Communication.CallAu…
azure-sdk Aug 7, 2024
582075f
Adding the create call failed event (#46847)
v-dharmarajv Oct 25, 2024
e3127e5
Update CHANGELOG.md
v-dharmarajv Oct 28, 2024
711228f
Increment package version after release of Azure.Communication.CallAu…
azure-sdk Oct 29, 2024
2c681a4
Adding beta5 changes for bidirectional
Nov 4, 2024
b630b35
addding constructor to the outstreaming data
Nov 4, 2024
4448156
updating the audio data type
Nov 4, 2024
71bce97
adding apiversion
Nov 4, 2024
ccc74c4
pointing latest version
Nov 8, 2024
a48cd1c
version number update
Nov 8, 2024
19c9c35
updating version number
Nov 8, 2024
271c4b0
updating api
Nov 8, 2024
2f46f11
updating beta5 with latest api spec
Nov 11, 2024
beb1783
fixing unit test
Nov 12, 2024
3dfd425
updating the audio and transcription data
Nov 21, 2024
6128974
updating streaming data
Nov 21, 2024
324ebc8
reverting hard coded value
Nov 21, 2024
2ed85f3
moving the audioformat file to models setting the default value for t…
Nov 21, 2024
5e39bc4
adding pma endpoint contructor
Nov 21, 2024
28a0b41
Adding the pma endpoint
Nov 21, 2024
30d57b3
merging from main
Nov 21, 2024
b95f38c
updating the descriptions
Nov 22, 2024
b93f9e5
updating the service version
Nov 22, 2024
629eb52
updating api version
Nov 22, 2024
3cf3232
rerecording the tests
Nov 22, 2024
270865f
updating recording for failure
Nov 22, 2024
2994719
updating the changelog and removing the pma endpoint
Nov 22, 2024
a51cc2f
updating the change log
Nov 22, 2024
585e85d
updating version number and change logs
Nov 23, 2024
66cda7a
updating the api
Nov 23, 2024
a83a094
Increment package version after release of Azure.Communication.CallAu…
azure-sdk Nov 23, 2024
16f632b
Media streaming audio format default Pcm24kMono changed to null. (#47…
v-durgeshs Jan 21, 2025
244521b
Update CHANGELOG.md
v-dharmarajv Jan 21, 2025
92c7492
Updated changes from main. (#47950)
v-durgeshs Jan 29, 2025
5d172a3
updating the change log version
Jan 30, 2025
9566b91
updating the changelog
Jan 31, 2025
be8462e
Increment package version after release of Azure.Communication.CallAu…
azure-sdk Feb 1, 2025
0e77b77
made changes in TranscriptionData for StreamingData Parse and added t…
v-pivamshi Mar 21, 2025
54d93cf
updating the changelog with version and (#49039)
v-dharmarajv Mar 21, 2025
7a31eea
Users/dharmarajv/beta5 update changelog (#49040)
v-dharmarajv Mar 21, 2025
ec44f42
updating changes from main
v-dharmarajv Mar 28, 2025
2731c91
merge conflicts
v-dharmarajv Mar 28, 2025
8e238c9
removing unwanted changes
v-dharmarajv Mar 28, 2025
b65f8c4
deleting unwanted filse
v-dharmarajv Mar 28, 2025
62f64e0
fixing the conflicts
v-dharmarajv Mar 28, 2025
c7dc2ec
fixing the merge conflicts
v-dharmarajv Mar 28, 2025
b8e98c4
fixing the conflicts
v-dharmarajv Mar 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/common/TestResources/New-TestResources.ps1
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -966,4 +966,4 @@ Run this in an Azure DevOps CI (with approrpiate variables configured) before
executing live tests. The script will output variables as secrets (to enable
log redaction).

#>
#>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.Collections.Generic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - resourcemanager - mgmt - ci (Build generate_target_dependencies_test_matrix)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - resourcemanager - mgmt - ci (Build generate_target_dependencies_test_matrix)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Analyze)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.'.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Analyze)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.'.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest (Build generate_target_service_test_matrix)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.'.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest (Build generate_target_service_test_matrix)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest (Build generate_target_service_test_matrix)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest (Build generate_build_matrix)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.'.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest (Build generate_build_matrix)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest (Build generate_build_matrix)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Test Ubuntu2004_NET80_PackageRef_Debug)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Test Ubuntu2004_NET80_PackageRef_Debug)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Test Ubuntu2004_NET90_ProjectRef_Release)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Test Ubuntu2004_NET90_ProjectRef_Release)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Test MacOS_NET80_PackageRef_Debug)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Test MacOS_NET80_PackageRef_Debug)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Test MacOS_NET90_ProjectRef_Release)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci (Build Test MacOS_NET90_ProjectRef_Release)

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.'.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - cloudmachine - ci

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.'.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.'.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - pullrequest

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - resourcemanager - mgmt - ci

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

Check failure on line 1 in sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj

View check run for this annotation

Azure Pipelines / net - resourcemanager - mgmt - ci

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj#L1

sdk/cloudmachine/Azure.Projects.Provisioning/src/Azure.Projects.Provisioning.csproj(1,1): Error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.

<PropertyGroup>
<Description>Azure.Projects.Provisioning simplifies declarative resource provisioning in .NET.</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Usage", "AZC0007:DO provide a minimal constructor that takes only the parameters required to connect to the service.", Justification = "<Pending>", Scope = "member", Target = "~M:Azure.Core.Rest.RestClient.#ctor")]
[assembly: SuppressMessage("Usage", "AZC0007:DO provide a minimal constructor that takes only the parameters required to connect to the service.", Justification = "<Pending>", Scope = "member", Target = "~M:Azure.Core.Rest.RestClient.#ctor(System.ClientModel.Primitives.PipelinePolicy)")]
[assembly: SuppressMessage("Usage", "AZC0007:DO provide a minimal constructor that takes only the parameters required to connect to the service.", Justification = "<Pending>", Scope = "member", Target = "~M:Azure.Projects.ProjectClient.#ctor")]
[assembly: SuppressMessage("Usage", "AZC0007:DO provide a minimal constructor that takes only the parameters required to connect to the service.", Justification = "<Pending>", Scope = "member", Target = "~M:Azure.Projects.ProjectClient.#ctor")]
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Release History

## 1.4.0-beta.2 (Unreleased)
## 1.4.0-beta.3 (2025-03-21)

### Features Added
### Bugs Fixed

### Breaking Changes
- The parsing issue related to setting intermediate results on transcription has been resolved.

## 1.4.0-beta.2 (2025-01-31)

### Bugs Fixed

### Other Changes
- Media streaming with AudioFormat default Pcm24kMono is removed and changed to null if AudioFormat is not passed.

## 1.4.0-beta.1 (2024-11-22)

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/communication/Azure.Communication.CallAutomation",
"Tag": "net/communication/Azure.Communication.CallAutomation_fdf269ce94"
"Tag": "net/communication/Azure.Communication.CallAutomation_a7132f62a6"
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>
This client library enables working with the Microsoft Azure Communication Call Automation service.
For this release, see notes - https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/communication/Azure.Communication.CallAutomation/README.md and https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/communication/Azure.Communication.CallAutomation/CHANGELOG.md.
Microsoft Azure Communication Call Automation quickstart - https://learn.microsoft.com/azure/communication-services/quickstarts/voice-video-calling/callflows-for-customer-interactions?pivots=programming-language-csharp
</Description>
<AssemblyTitle>Azure Communication CallAutomation Service</AssemblyTitle>
<Version>1.4.0-beta.2</Version>
<Version>1.4.0-beta.3</Version>
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
<PackageTags>Microsoft Azure Communication CallAutomation Service;Microsoft;Azure;Azure Communication Service;Azure Communication CallAutomation Service;Calling;Communication;$(PackageCommonTags)</PackageTags>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Azure.Core.Pipeline;
using Azure.Communication.Pipeline;
using System.Collections.Generic;
using System.Net;

namespace Azure.Communication.CallAutomation
{
Expand All @@ -25,7 +26,6 @@ public class CallAutomationClient
internal AzureCommunicationServicesRestClient AzureCommunicationServicesRestClient { get; }
internal CallMediaRestClient CallMediaRestClient { get; }
internal CallRecordingRestClient CallRecordingRestClient { get; }
internal CallDialogRestClient CallDialogRestClient { get; }
internal CallAutomationEventProcessor EventProcessor { get; }

/// <summary>
Expand Down Expand Up @@ -63,31 +63,6 @@ public CallAutomationClient(Uri endpoint, TokenCredential credential, CallAutoma
Argument.CheckNotNull(credential, nameof(credential)),
options ?? new CallAutomationClientOptions())
{ }

/// <summary> Initializes a new instance of <see cref="CallAutomationClient"/> with custom PMA endpoint.</summary>
/// <param name="pmaEndpoint">Endpoint for PMA</param>
/// <param name="connectionString">Connection string acquired from the Azure Communication Services resource.</param>
/// <param name="options">Client option exposing <see cref="ClientOptions.Diagnostics"/>, <see cref="ClientOptions.Retry"/>, <see cref="ClientOptions.Transport"/>, etc.</param>
public CallAutomationClient(Uri pmaEndpoint, string connectionString, CallAutomationClientOptions options = default)
: this(
pmaEndpoint,
options ?? new CallAutomationClientOptions(),
ConnectionString.Parse(connectionString))
{ }

/// <summary> Initializes a new instance of <see cref="CallAutomationClient"/>.</summary>
/// <param name="pmaEndpoint">Endpoint for PMA</param>
/// <param name="acsEndpoint">The URI of the Azure Communication Services resource.</param>
/// <param name="credential">The TokenCredential used to authenticate requests, such as DefaultAzureCredential.</param>
/// <param name="options">Client option exposing <see cref="ClientOptions.Diagnostics"/>, <see cref="ClientOptions.Retry"/>, <see cref="ClientOptions.Transport"/>, etc.</param>
public CallAutomationClient(Uri pmaEndpoint, Uri acsEndpoint, TokenCredential credential, CallAutomationClientOptions options = default)
: this(
pmaEndpoint,
acsEndpoint,
options ?? new CallAutomationClientOptions(),
credential
)
{ }
#endregion

#region private constructors
Expand Down Expand Up @@ -115,18 +90,9 @@ private CallAutomationClient(Uri endpoint, HttpPipeline httpPipeline, CallAutoma
CallConnectionRestClient = new CallConnectionRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion);
CallMediaRestClient = new CallMediaRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion);
CallRecordingRestClient = new CallRecordingRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion);
CallDialogRestClient = new CallDialogRestClient(_clientDiagnostics, httpPipeline, endpoint, options.ApiVersion);
EventProcessor = new CallAutomationEventProcessor();
Source = options.Source;
}

private CallAutomationClient(
Uri pmaEndpoint,
Uri acsEndpoint,
CallAutomationClientOptions options,
TokenCredential tokenCredential)
: this(pmaEndpoint, options.CustomBuildHttpPipeline(acsEndpoint, tokenCredential), options)
{ }
#endregion

/// <summary>Initializes a new instance of <see cref="CallAutomationClient"/> for mocking.</summary>
Expand Down Expand Up @@ -243,23 +209,18 @@ private AnswerCallRequestInternal CreateAnswerCallRequest(AnswerCallOptions opti

// Add CallIntelligenceOptions such as custom cognitive service domain name
string cognitiveServicesEndpoint = options.CallIntelligenceOptions?.CognitiveServicesEndpoint?.AbsoluteUri;
string backupCognitiveServicesEndpoint = options.CallIntelligenceOptions?.BackupCognitiveServicesEndpoint?.AbsoluteUri;
if (!string.IsNullOrWhiteSpace(cognitiveServicesEndpoint))
if (cognitiveServicesEndpoint != null)
{
request.CallIntelligenceOptions = new()
{
CognitiveServicesEndpoint = cognitiveServicesEndpoint,
BackupCognitiveServicesEndpoint = backupCognitiveServicesEndpoint
CognitiveServicesEndpoint = cognitiveServicesEndpoint
};
}

request.MediaStreamingOptions = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions);
request.TranscriptionOptions = CreateTranscriptionOptionsInternal(options.TranscriptionOptions);
request.AnsweredBy = Source == null ? null : new CommunicationUserIdentifierModel(Source.Id);
request.OperationContext = options.OperationContext;
request.CustomCallingContext = new CustomCallingContextInternal(
options.CustomCallingContext?.VoipHeaders ?? new ChangeTrackingDictionary<string, string>(),
options.CustomCallingContext?.SipHeaders ?? new ChangeTrackingDictionary<string, string>());

return request;
}
Expand Down Expand Up @@ -294,10 +255,6 @@ public virtual async Task<Response> RedirectCallAsync(RedirectCallOptions option

RedirectCallRequestInternal request = new RedirectCallRequestInternal(options.IncomingCallContext, CommunicationIdentifierSerializer.Serialize(options.CallInvite.Target));

request.CustomCallingContext = new CustomCallingContextInternal(
options.CallInvite.CustomCallingContext.VoipHeaders == null ? new ChangeTrackingDictionary<string, string>() : options.CallInvite.CustomCallingContext.VoipHeaders,
options.CallInvite.CustomCallingContext.SipHeaders == null ? new ChangeTrackingDictionary<string, string>() : options.CallInvite.CustomCallingContext.SipHeaders);

return await AzureCommunicationServicesRestClient.RedirectCallAsync(request, cancellationToken).ConfigureAwait(false);
}
catch (Exception ex)
Expand Down Expand Up @@ -337,10 +294,6 @@ public virtual Response RedirectCall(RedirectCallOptions options, CancellationTo

RedirectCallRequestInternal request = new RedirectCallRequestInternal(options.IncomingCallContext, CommunicationIdentifierSerializer.Serialize(options.CallInvite.Target));

request.CustomCallingContext = new CustomCallingContextInternal(
options.CallInvite.CustomCallingContext.VoipHeaders == null ? new ChangeTrackingDictionary<string, string>() : options.CallInvite.CustomCallingContext.VoipHeaders,
options.CallInvite.CustomCallingContext.SipHeaders == null ? new ChangeTrackingDictionary<string, string>() : options.CallInvite.CustomCallingContext.SipHeaders);

return AzureCommunicationServicesRestClient.RedirectCall(request, cancellationToken);
}
catch (Exception ex)
Expand Down Expand Up @@ -724,23 +677,16 @@ private CreateCallRequestInternal CreateCallRequest(CreateCallOptions options)
? null
: new PhoneNumberIdentifierModel(options?.CallInvite?.SourceCallerIdNumber?.PhoneNumber),
SourceDisplayName = options?.CallInvite?.SourceDisplayName,
Source = Source == null ? null : new CommunicationUserIdentifierModel(Source.Id),
TeamsAppSource = options.TeamsAppSource == null ? null : new MicrosoftTeamsAppIdentifierModel(options.TeamsAppSource.AppId),
Source = Source == null ? null : new CommunicationUserIdentifierModel(Source.Id)
};

request.CustomCallingContext = new CustomCallingContextInternal(
options.CallInvite.CustomCallingContext.VoipHeaders == null ? new ChangeTrackingDictionary<string, string>() : options.CallInvite.CustomCallingContext.VoipHeaders,
options.CallInvite.CustomCallingContext.SipHeaders == null ? new ChangeTrackingDictionary<string, string>() : options.CallInvite.CustomCallingContext.SipHeaders);

// Add CallIntelligenceOptions such as custom cognitive service domain name
string cognitiveServicesEndpoint = options.CallIntelligenceOptions?.CognitiveServicesEndpoint?.AbsoluteUri;
string backupCognitiveServicesEndpoint = options.CallIntelligenceOptions?.BackupCognitiveServicesEndpoint?.AbsoluteUri;
if (!string.IsNullOrWhiteSpace(cognitiveServicesEndpoint))
if (cognitiveServicesEndpoint != null)
{
request.CallIntelligenceOptions = new()
{
CognitiveServicesEndpoint = cognitiveServicesEndpoint,
BackupCognitiveServicesEndpoint = backupCognitiveServicesEndpoint
CognitiveServicesEndpoint = cognitiveServicesEndpoint
};
}

Expand All @@ -761,23 +707,16 @@ private CreateCallRequestInternal CreateCallRequest(CreateGroupCallOptions optio
? null
: new PhoneNumberIdentifierModel(options?.SourceCallerIdNumber?.PhoneNumber),
SourceDisplayName = options?.SourceDisplayName,
Source = Source == null ? null : new CommunicationUserIdentifierModel(Source.Id),
TeamsAppSource = options.TeamsAppSource == null ? null : new MicrosoftTeamsAppIdentifierModel(options.TeamsAppSource.AppId)
Source = Source == null ? null : new CommunicationUserIdentifierModel(Source.Id)
};

request.CustomCallingContext = new CustomCallingContextInternal(
options.CustomCallingContext.VoipHeaders == null ? new ChangeTrackingDictionary<string, string>() : options.CustomCallingContext.VoipHeaders,
options.CustomCallingContext.SipHeaders == null ? new ChangeTrackingDictionary<string, string>() : options.CustomCallingContext.SipHeaders);

// Add CallIntelligenceOptions such as custom cognitive service domain name
string cognitiveServicesEndpoint = options.CallIntelligenceOptions?.CognitiveServicesEndpoint?.AbsoluteUri;
string backupCognitiveServicesEndpoint = options.CallIntelligenceOptions?.BackupCognitiveServicesEndpoint?.AbsoluteUri;
if (!string.IsNullOrWhiteSpace(cognitiveServicesEndpoint))
if (cognitiveServicesEndpoint != null)
{
request.CallIntelligenceOptions = new()
{
CognitiveServicesEndpoint = cognitiveServicesEndpoint,
BackupCognitiveServicesEndpoint = backupCognitiveServicesEndpoint
CognitiveServicesEndpoint = cognitiveServicesEndpoint
};
}

Expand All @@ -796,15 +735,13 @@ private ConnectRequestInternal ConnectRequest(ConnectCallOptions options)
connectRequest.MediaStreamingOptions = CreateMediaStreamingOptionsInternal(options.MediaStreamingOptions);
connectRequest.TranscriptionOptions = CreateTranscriptionOptionsInternal(options.TranscriptionOptions);

string cognitiveServicesEndpoint = options.CallIntelligenceOptions?.CognitiveServicesEndpoint?.AbsoluteUri;
string backupCognitiveServicesEndpoint = options.CallIntelligenceOptions?.BackupCognitiveServicesEndpoint?.AbsoluteUri;
if (!string.IsNullOrWhiteSpace(cognitiveServicesEndpoint))
if (options.CallIntelligenceOptions != null && options.CallIntelligenceOptions.CognitiveServicesEndpoint != null)
{
connectRequest.CallIntelligenceOptions = new()
CallIntelligenceOptionsInternal callIntelligenceOptionsInternal = new CallIntelligenceOptionsInternal
{
CognitiveServicesEndpoint = cognitiveServicesEndpoint,
BackupCognitiveServicesEndpoint = backupCognitiveServicesEndpoint
CognitiveServicesEndpoint = options.CallIntelligenceOptions?.CognitiveServicesEndpoint?.AbsoluteUri
};
connectRequest.CallIntelligenceOptions = callIntelligenceOptionsInternal;
}

return connectRequest;
Expand Down Expand Up @@ -851,7 +788,7 @@ public virtual CallConnection GetCallConnection(string callConnectionId)
scope.Start();
try
{
return new CallConnection(callConnectionId, CallConnectionRestClient, CallMediaRestClient, CallDialogRestClient, _clientDiagnostics, EventProcessor);
return new CallConnection(callConnectionId, CallConnectionRestClient, CallMediaRestClient, _clientDiagnostics, EventProcessor);
}
catch (Exception ex)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ public class CallAutomationClientOptions : ClientOptions
/// <summary>
/// The latest version of the CallAutomation service.
/// </summary>
internal const ServiceVersion LatestVersion = ServiceVersion.V2024_09_01_Preview;
internal const ServiceVersion LatestVersion = ServiceVersion.V2024_11_15_Preview;

internal string ApiVersion { get; }

/// <summary>
/// The caller source of the call automation client.
/// Mutual exclusive with <see cref="Source"/>.
/// </summary>
public CommunicationUserIdentifier Source { get; set; }

Expand All @@ -33,10 +34,10 @@ public CallAutomationClientOptions(ServiceVersion version = LatestVersion)
ApiVersion = version switch
{
ServiceVersion.V2023_03_06 => "2023-03-06",
ServiceVersion.V2023_06_15_Preview => "2023-06-15-preview",
ServiceVersion.V2023_10_15 => "2023-10-15",
ServiceVersion.V2023_10_03_Preview => "2023-10-03-preview",
ServiceVersion.V2024_09_01_Preview => "2024-09-01-preview",
ServiceVersion.V2024_04_15 => "2024-04-15",
ServiceVersion.V2024_09_15 => "2024-09-15",
ServiceVersion.V2024_11_15_Preview => "2024-11-15-preview",
_ => throw new ArgumentOutOfRangeException(nameof(version)),
};
}
Expand All @@ -53,24 +54,24 @@ public enum ServiceVersion
V2023_03_06 = 1,

/// <summary>
/// The BETA2 (1.1.0-beta) of the CallAutomation service.
/// The GA2 (1.1.0) of the CallAutomation service.
/// </summary>
V2023_06_15_Preview = 2,
V2023_10_15 = 2,

/// <summary>
/// The GA2 (1.1.0) of the CallAutomation service.
/// Latest GA3 (1.2.0) of the CallAutomation service.
/// </summary>
V2023_10_15 = 3,
V2024_04_15 = 3,

/// <summary>
/// Latest ALPHA3 (1.2.0-alpha) preview of the CallAutomation service.
/// Latest GA4 (1.3.0) of the CallAutomation service.
/// </summary>
V2023_10_03_Preview = 4,
V2024_09_15 = 4,

/// <summary>
/// Latest ALPHA4 (1.4.0-alpha) preview of the CallAutomation service.
/// Latest BETA5 (1.4.0-beta.1) preview of the CallAutomation service.
/// </summary>
V2024_09_01_Preview = 5
V2024_11_15_Preview = 5
#pragma warning restore CA1707 // Identifiers should not contain underscores
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ public class AnswerCallEventResult
/// <summary>
/// <see cref="AnswerFailed"/> event will be returned once the call is established with AnswerCall.
/// </summary>
/// <value></value>
public AnswerFailed FailureResult { get; }

internal AnswerCallEventResult(bool isSuccess, CallConnected successResult, AnswerFailed failureResult)
Expand Down
Loading
Loading