Skip to content

Commit a0b75f8

Browse files
v-dharmarajvv-saasomaniv-pivamshi
authored
GA6 Release changes (Azure#50342)
* Adding the ga5 changes * updating the azure board review comments * updating the version * Fixing the apiviews * updating the answer failed comment * ARB Comments GA5 Changes (Azure#50124) * Added internal class for TranscriptionMetadata. Converted AudioData to use ROM. Removed length property from AudioMetadata. Recorded live tests. * Exported latest API. * addressing comments * addressing comments * Added dtmf data in streaming data parser and added unit test. (Azure#49992) * Added dtmf data in streaming data parser and added unit test. * Added dtmf meta data and speechRecognitionModelEndpointId property for transcription. * Removed dtmf meta data. * resolving conflicts * resolving conflicts * resolving conflicts * fixing the naming * removing set * Delete sdk/communication/Azure.Communication.CallAutomation/src/Models/Streaming/Transcription/TranscriptionMetaDataInternal.cs --------- Co-authored-by: Vinothini Dharmaraj <[email protected]> Co-authored-by: Vinothini Dharmaraj <[email protected]> * fixing the connect failed event serializer error * fixing the media streaming error * Adding the locale in the transcription subscription * removing the required fields for the transport url * removing the couple of properties for the dtmf data * merging from main * fixing the tests * adding the ga6 changes * version change to beta to unblock creating the apiview * removing merge conflicts files * updating the common package * adding the custom header and startrecordingfailed event * updating the change log * updating to ga communication identifier * GA6 Recorded Tests (Azure#50557) * Recorded all live tests against ga6 pma endpoint. All tests pass successfully (verified with PLAYBACK). Pushed assets.json. * Removed PMA endpoint CallAutomationClient constructors. * Playback tests passed after recording. Pushed assets.json. * merging from main * running generate code * updating the GA communication identifier * Added call connected event fix on the event processor * updating readme link * Adding the appsource * updating the CommunicationIdentifierSerializer_2025_06_30 communication identifier * fixing the connect call event processor issue * updating comments * updating changelog * Addressing the apiview comments * Addressing the apiview comments * removing the reason code as its applicable on ly for media * Addressing Apiview comments * updating changelog * updating the changelog * updating unreleased * reverting version back to check-in the main as the ga6 release is going to delayed for while --------- Co-authored-by: v-saasomani <[email protected]> Co-authored-by: v-pivamshi <[email protected]>
1 parent 6ea7082 commit a0b75f8

File tree

144 files changed

+3642
-2609
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+3642
-2609
lines changed

sdk/communication/Azure.Communication.CallAutomation/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Added support for Teams multipersona users in create call, add participant, transfer, and redirect scenarios in OPS calls
8+
- Added TeamsAppSource for use when creating outbound OPS calls
9+
- Recording with the call connection ID is now supported. OPS calls can be recorded using the call connection ID.
10+
- Added StartRecordingFailed event to indicate when the start recording API is unable to initiate the recording.
11+
- Adds support for SIP headers prefixed with 'X-' and 'X-MS-Custom-' within the CustomCallingContext.
1212

1313
## 1.4.0 (2025-06-04)
1414

sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.net8.0.cs

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public CallAutomationClient(System.Uri endpoint, Azure.Core.TokenCredential cred
143143
}
144144
public partial class CallAutomationClientOptions : Azure.Core.ClientOptions
145145
{
146-
public CallAutomationClientOptions(Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion version = Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion.V2025_05_15) { }
146+
public CallAutomationClientOptions(Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion version = Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion.V2025_06_15) { }
147147
public Azure.Communication.CommunicationUserIdentifier Source { get { throw null; } set { } }
148148
public enum ServiceVersion
149149
{
@@ -152,6 +152,7 @@ public enum ServiceVersion
152152
V2024_04_15 = 3,
153153
V2024_09_15 = 4,
154154
V2025_05_15 = 5,
155+
V2025_06_15 = 6,
155156
}
156157
}
157158
public abstract partial class CallAutomationEventBase
@@ -231,6 +232,7 @@ public static partial class CallAutomationModelFactory
231232
public static Azure.Communication.CallAutomation.SendDtmfTonesFailed SendDtmfTonesFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
232233
public static Azure.Communication.CallAutomation.SendDtmfTonesResult SendDtmfTonesResult(string operationContext = null) { throw null; }
233234
public static Azure.Communication.CallAutomation.SpeechResult SpeechResult(string speech = null, double? confidence = default(double?)) { throw null; }
235+
public static Azure.Communication.CallAutomation.StartRecordingFailed StartRecordingFailed(string recordingId = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
234236
public static Azure.Communication.CallAutomation.TranscriptionFailed TranscriptionFailed(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
235237
public static Azure.Communication.CallAutomation.TranscriptionStarted TranscriptionStarted(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
236238
public static Azure.Communication.CallAutomation.TranscriptionStopped TranscriptionStopped(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
@@ -332,6 +334,7 @@ public partial class CallInvite
332334
public CallInvite(Azure.Communication.CommunicationUserIdentifier targetIdentity) { }
333335
public CallInvite(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { }
334336
public CallInvite(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity, Azure.Communication.PhoneNumberIdentifier callerIdNumber) { }
337+
public CallInvite(Azure.Communication.TeamsExtensionUserIdentifier targetIdentity) { }
335338
public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } }
336339
public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } }
337340
public string SourceDisplayName { get { throw null; } set { } }
@@ -672,6 +675,7 @@ public CreateCallOptions(Azure.Communication.CallAutomation.CallInvite callInvit
672675
public Azure.Communication.CallAutomation.CallInvite CallInvite { get { throw null; } }
673676
public Azure.Communication.CallAutomation.MediaStreamingOptions MediaStreamingOptions { get { throw null; } set { } }
674677
public string OperationContext { get { throw null; } set { } }
678+
public Azure.Communication.MicrosoftTeamsAppIdentifier TeamsAppSource { get { throw null; } set { } }
675679
public Azure.Communication.CallAutomation.TranscriptionOptions TranscriptionOptions { get { throw null; } set { } }
676680
}
677681
public partial class CreateCallResult
@@ -692,6 +696,7 @@ public CreateGroupCallOptions(System.Collections.Generic.IEnumerable<Azure.Commu
692696
public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } }
693697
public string SourceDisplayName { get { throw null; } set { } }
694698
public System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> Targets { get { throw null; } }
699+
public Azure.Communication.MicrosoftTeamsAppIdentifier TeamsAppSource { get { throw null; } set { } }
695700
public Azure.Communication.CallAutomation.TranscriptionOptions TranscriptionOptions { get { throw null; } set { } }
696701
}
697702
public partial class CustomCallingContext
@@ -701,6 +706,7 @@ internal CustomCallingContext() { }
701706
public System.Collections.Generic.IDictionary<string, string> VoipHeaders { get { throw null; } }
702707
public void AddSipUui(string value) { }
703708
public void AddSipX(string key, string value) { }
709+
public void AddSipX(string key, string value, Azure.Communication.CallAutomation.SipHeaderPrefix prefix) { }
704710
public void AddVoip(string key, string value) { }
705711
}
706712
public partial class DtmfData : Azure.Communication.CallAutomation.StreamingData
@@ -1367,6 +1373,12 @@ public ServerCallLocator(string id) { }
13671373
public override int GetHashCode() { throw null; }
13681374
public override string ToString() { throw null; }
13691375
}
1376+
[System.Text.Json.Serialization.JsonConverterAttribute(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
1377+
public enum SipHeaderPrefix
1378+
{
1379+
XmsCustom = 0,
1380+
X = 1,
1381+
}
13701382
public partial class SpeechResult : Azure.Communication.CallAutomation.RecognizeResult
13711383
{
13721384
internal SpeechResult() { }
@@ -1399,9 +1411,16 @@ internal StartRecognizingEventResult() { }
13991411
public bool IsSuccess { get { throw null; } }
14001412
public Azure.Communication.CallAutomation.RecognizeCompleted SuccessResult { get { throw null; } }
14011413
}
1414+
public partial class StartRecordingFailed : Azure.Communication.CallAutomation.CallAutomationEventBase
1415+
{
1416+
internal StartRecordingFailed() { }
1417+
public string RecordingId { get { throw null; } }
1418+
public static Azure.Communication.CallAutomation.StartRecordingFailed Deserialize(string content) { throw null; }
1419+
}
14021420
public partial class StartRecordingOptions
14031421
{
14041422
public StartRecordingOptions(Azure.Communication.CallAutomation.CallLocator callLocator) { }
1423+
public StartRecordingOptions(string callConnectionId) { }
14051424
public System.Collections.Generic.IList<Azure.Communication.CommunicationIdentifier> AudioChannelParticipantOrdering { get { throw null; } }
14061425
public System.Collections.Generic.IList<Azure.Communication.CallAutomation.ChannelAffinity> ChannelAffinity { get { throw null; } set { } }
14071426
public bool PauseOnStart { get { throw null; } set { } }
@@ -1659,6 +1678,7 @@ public partial class TransferToParticipantOptions
16591678
public TransferToParticipantOptions(Azure.Communication.CommunicationUserIdentifier targetIdentity) { }
16601679
public TransferToParticipantOptions(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { }
16611680
public TransferToParticipantOptions(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity) { }
1681+
public TransferToParticipantOptions(Azure.Communication.TeamsExtensionUserIdentifier targetIdentity) { }
16621682
public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } }
16631683
public System.Uri OperationCallbackUri { get { throw null; } set { } }
16641684
public string OperationContext { get { throw null; } set { } }

sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public CallAutomationClient(System.Uri endpoint, Azure.Core.TokenCredential cred
143143
}
144144
public partial class CallAutomationClientOptions : Azure.Core.ClientOptions
145145
{
146-
public CallAutomationClientOptions(Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion version = Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion.V2025_05_15) { }
146+
public CallAutomationClientOptions(Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion version = Azure.Communication.CallAutomation.CallAutomationClientOptions.ServiceVersion.V2025_06_15) { }
147147
public Azure.Communication.CommunicationUserIdentifier Source { get { throw null; } set { } }
148148
public enum ServiceVersion
149149
{
@@ -152,6 +152,7 @@ public enum ServiceVersion
152152
V2024_04_15 = 3,
153153
V2024_09_15 = 4,
154154
V2025_05_15 = 5,
155+
V2025_06_15 = 6,
155156
}
156157
}
157158
public abstract partial class CallAutomationEventBase
@@ -231,6 +232,7 @@ public static partial class CallAutomationModelFactory
231232
public static Azure.Communication.CallAutomation.SendDtmfTonesFailed SendDtmfTonesFailed(string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
232233
public static Azure.Communication.CallAutomation.SendDtmfTonesResult SendDtmfTonesResult(string operationContext = null) { throw null; }
233234
public static Azure.Communication.CallAutomation.SpeechResult SpeechResult(string speech = null, double? confidence = default(double?)) { throw null; }
235+
public static Azure.Communication.CallAutomation.StartRecordingFailed StartRecordingFailed(string recordingId = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
234236
public static Azure.Communication.CallAutomation.TranscriptionFailed TranscriptionFailed(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
235237
public static Azure.Communication.CallAutomation.TranscriptionStarted TranscriptionStarted(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
236238
public static Azure.Communication.CallAutomation.TranscriptionStopped TranscriptionStopped(Azure.Communication.CallAutomation.TranscriptionUpdate transcriptionUpdate = null, string callConnectionId = null, string serverCallId = null, string correlationId = null, string operationContext = null, Azure.Communication.CallAutomation.ResultInformation resultInformation = null) { throw null; }
@@ -332,6 +334,7 @@ public partial class CallInvite
332334
public CallInvite(Azure.Communication.CommunicationUserIdentifier targetIdentity) { }
333335
public CallInvite(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { }
334336
public CallInvite(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity, Azure.Communication.PhoneNumberIdentifier callerIdNumber) { }
337+
public CallInvite(Azure.Communication.TeamsExtensionUserIdentifier targetIdentity) { }
335338
public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } }
336339
public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } }
337340
public string SourceDisplayName { get { throw null; } set { } }
@@ -671,6 +674,7 @@ public CreateCallOptions(Azure.Communication.CallAutomation.CallInvite callInvit
671674
public Azure.Communication.CallAutomation.CallInvite CallInvite { get { throw null; } }
672675
public Azure.Communication.CallAutomation.MediaStreamingOptions MediaStreamingOptions { get { throw null; } set { } }
673676
public string OperationContext { get { throw null; } set { } }
677+
public Azure.Communication.MicrosoftTeamsAppIdentifier TeamsAppSource { get { throw null; } set { } }
674678
public Azure.Communication.CallAutomation.TranscriptionOptions TranscriptionOptions { get { throw null; } set { } }
675679
}
676680
public partial class CreateCallResult
@@ -691,6 +695,7 @@ public CreateGroupCallOptions(System.Collections.Generic.IEnumerable<Azure.Commu
691695
public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } }
692696
public string SourceDisplayName { get { throw null; } set { } }
693697
public System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> Targets { get { throw null; } }
698+
public Azure.Communication.MicrosoftTeamsAppIdentifier TeamsAppSource { get { throw null; } set { } }
694699
public Azure.Communication.CallAutomation.TranscriptionOptions TranscriptionOptions { get { throw null; } set { } }
695700
}
696701
public partial class CustomCallingContext
@@ -700,6 +705,7 @@ internal CustomCallingContext() { }
700705
public System.Collections.Generic.IDictionary<string, string> VoipHeaders { get { throw null; } }
701706
public void AddSipUui(string value) { }
702707
public void AddSipX(string key, string value) { }
708+
public void AddSipX(string key, string value, Azure.Communication.CallAutomation.SipHeaderPrefix prefix) { }
703709
public void AddVoip(string key, string value) { }
704710
}
705711
public partial class DtmfData : Azure.Communication.CallAutomation.StreamingData
@@ -1366,6 +1372,12 @@ public ServerCallLocator(string id) { }
13661372
public override int GetHashCode() { throw null; }
13671373
public override string ToString() { throw null; }
13681374
}
1375+
[System.Text.Json.Serialization.JsonConverterAttribute(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
1376+
public enum SipHeaderPrefix
1377+
{
1378+
XmsCustom = 0,
1379+
X = 1,
1380+
}
13691381
public partial class SpeechResult : Azure.Communication.CallAutomation.RecognizeResult
13701382
{
13711383
internal SpeechResult() { }
@@ -1398,9 +1410,16 @@ internal StartRecognizingEventResult() { }
13981410
public bool IsSuccess { get { throw null; } }
13991411
public Azure.Communication.CallAutomation.RecognizeCompleted SuccessResult { get { throw null; } }
14001412
}
1413+
public partial class StartRecordingFailed : Azure.Communication.CallAutomation.CallAutomationEventBase
1414+
{
1415+
internal StartRecordingFailed() { }
1416+
public string RecordingId { get { throw null; } }
1417+
public static Azure.Communication.CallAutomation.StartRecordingFailed Deserialize(string content) { throw null; }
1418+
}
14011419
public partial class StartRecordingOptions
14021420
{
14031421
public StartRecordingOptions(Azure.Communication.CallAutomation.CallLocator callLocator) { }
1422+
public StartRecordingOptions(string callConnectionId) { }
14041423
public System.Collections.Generic.IList<Azure.Communication.CommunicationIdentifier> AudioChannelParticipantOrdering { get { throw null; } }
14051424
public System.Collections.Generic.IList<Azure.Communication.CallAutomation.ChannelAffinity> ChannelAffinity { get { throw null; } set { } }
14061425
public bool PauseOnStart { get { throw null; } set { } }
@@ -1658,6 +1677,7 @@ public partial class TransferToParticipantOptions
16581677
public TransferToParticipantOptions(Azure.Communication.CommunicationUserIdentifier targetIdentity) { }
16591678
public TransferToParticipantOptions(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { }
16601679
public TransferToParticipantOptions(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity) { }
1680+
public TransferToParticipantOptions(Azure.Communication.TeamsExtensionUserIdentifier targetIdentity) { }
16611681
public Azure.Communication.CallAutomation.CustomCallingContext CustomCallingContext { get { throw null; } }
16621682
public System.Uri OperationCallbackUri { get { throw null; } set { } }
16631683
public string OperationContext { get { throw null; } set { } }

sdk/communication/Azure.Communication.CallAutomation/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "net",
44
"TagPrefix": "net/communication/Azure.Communication.CallAutomation",
5-
"Tag": "net/communication/Azure.Communication.CallAutomation_752c087c19"
5+
"Tag": "net/communication/Azure.Communication.CallAutomation_1a93edd9eb"
66
}

sdk/communication/Azure.Communication.CallAutomation/src/Azure.Communication.CallAutomation.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<Compile Include="..\..\Shared\src\ClientOptionsExtensions.cs" LinkBase="Shared\Communication" />
2323
<Compile Include="..\..\Shared\src\HMACAuthenticationPolicy.cs" LinkBase="Shared\Communication" />
2424
<Compile Include="..\..\Shared\src\CommunicationIdentifierSerializer.cs" LinkBase="Shared\Communication" />
25+
<Compile Include="..\..\Shared\src\CommunicationIdentifierSerializer_2025_06_30.cs" LinkBase="Shared\Communication" />
2526
<Compile Include="$(AzureCoreSharedSources)ArrayBufferWriter.cs" LinkBase="Shared" />
2627
<Compile Include="$(AzureCoreSharedSources)AzureResourceProviderNamespaceAttribute.cs" LinkBase="Shared" />
2728
<Compile Include="$(AzureCoreSharedSources)ConnectionString.cs" LinkBase="Shared" />

0 commit comments

Comments
 (0)