diff --git a/sdk/communication/azure-communication-callautomation/CHANGELOG.md b/sdk/communication/azure-communication-callautomation/CHANGELOG.md index 1a4f8136946f..cc0e91c4f586 100644 --- a/sdk/communication/azure-communication-callautomation/CHANGELOG.md +++ b/sdk/communication/azure-communication-callautomation/CHANGELOG.md @@ -4,11 +4,11 @@ ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Added support for Teams multipersona users in create call, add participant, transfer, and redirect scenarios in OPS calls +- Added TeamsAppSource for use when creating outbound OPS calls +- Recording with the call connection ID is now supported. OPS calls can be recorded using the call connection ID. +- Added StartRecordingFailed event to indicate when the start recording API is unable to initiate the recording. +- Adds support for SIP headers prefixed with 'X-' and 'X-MS-Custom-' within the CustomCallingContext. ## 1.4.1 (2025-06-19) diff --git a/sdk/communication/azure-communication-callautomation/README.md b/sdk/communication/azure-communication-callautomation/README.md index 3cbec422b2d5..ceb6c1978bf5 100644 --- a/sdk/communication/azure-communication-callautomation/README.md +++ b/sdk/communication/azure-communication-callautomation/README.md @@ -22,7 +22,7 @@ This package contains a Java SDK for Azure Communication Call Automation Service com.azure azure-communication-callautomation - 1.4.1 + 1.5.0 ``` @@ -41,61 +41,6 @@ This is the restart of Call Automation Service. It is renamed to Call Automation `CallAutomationEventParser` provides the functionality to handle events from the ACS resource. -## 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 { - // Controller implementation... - - @RequestMapping(value = "/api/events", method = POST) - public ResponseEntity handleCallEvents(@RequestBody String requestBody) { - try { - CallAutomationAsyncClient client = getCallAutomationAsyncClient(); - client.getEventProcessor().processEvents(requestBody); - - return new ResponseEntity<>(HttpStatus.OK); - } catch (Exception e) { - return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR); - } - } -} -``` - -`processEvents` is required for EventProcessor to work. -After event is being consumed by EventProcessor, you can start using its feature. - -See below for example: where you are making a call with `CreateCall`, and wait for `CallConnected` event of the call. - -```Java -public class commandClass { - // Class implementation... - - public void createCallCommand() { - CallAutomationAsyncClient client = getCallAutomationAsyncClient(); // Should be the same instance as the one used in the example above. - String callbackUrl = ""; - CallInvite callInvite = new CallInvite(new CommunicationUserIdentifier("")); - CreateCallResult result = client.createCall(callInvite, callbackUrl).block(); - - try { - // This will wait until CallConnected event is arrived or Timesout! - CreateCallEventResult eventResult = result.waitForEventProcessorAsync(Duration.ofSeconds(30)).block(); - CallConnected returnedEvent = eventResult.successResult(); - } catch (Exception e) { - // Timeout exception happend! - // Call likely was never answered. - } - } -} -``` - -If timeout was not set when calling "waitForEventProcessorAsync", the default timeout is 4 minutes. - ## Troubleshooting If you receive a CommunicationErrorException with the message: "Action is invalid when call is not in Established state." This usually means the call has ended. This can occur if the participants all leave diff --git a/sdk/communication/azure-communication-callautomation/assets.json b/sdk/communication/azure-communication-callautomation/assets.json index 21b7d98c5e78..43bbe6d065d5 100644 --- a/sdk/communication/azure-communication-callautomation/assets.json +++ b/sdk/communication/azure-communication-callautomation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "java", "TagPrefix": "java/communication/azure-communication-callautomation", - "Tag": "java/communication/azure-communication-callautomation_33108318f9" + "Tag": "java/communication/azure-communication-callautomation_89c8cc481e" } diff --git a/sdk/communication/azure-communication-callautomation/pom.xml b/sdk/communication/azure-communication-callautomation/pom.xml index 0697ee368557..238cb0d20f3f 100644 --- a/sdk/communication/azure-communication-callautomation/pom.xml +++ b/sdk/communication/azure-communication-callautomation/pom.xml @@ -96,7 +96,8 @@ org.hamcrest hamcrest-all - 1.3 + 1.3 + test diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallAutomationAsyncClient.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallAutomationAsyncClient.java index 53ab302185bd..d6fcf59c0c29 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallAutomationAsyncClient.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallAutomationAsyncClient.java @@ -11,6 +11,7 @@ import com.azure.communication.callautomation.implementation.converters.CommunicationIdentifierConverter; import com.azure.communication.callautomation.implementation.converters.CommunicationUserIdentifierConverter; import com.azure.communication.callautomation.implementation.converters.PhoneNumberIdentifierConverter; +import com.azure.communication.callautomation.implementation.converters.MicrosoftTeamsAppIdentifierConverter; import com.azure.communication.callautomation.implementation.models.AnswerCallRequestInternal; import com.azure.communication.callautomation.implementation.models.AudioFormatInternal; import com.azure.communication.callautomation.implementation.models.CallIntelligenceOptionsInternal; @@ -239,6 +240,11 @@ private CreateCallRequestInternal getCreateCallRequestInternal(CreateCallOptions request.setTranscriptionOptions(transcriptionOptionsInternal); } + if (createCallOptions.getTeamsAppSource() != null) { + request + .setTeamsAppSource(MicrosoftTeamsAppIdentifierConverter.convert(createCallOptions.getTeamsAppSource())); + } + return request; } @@ -278,6 +284,11 @@ private CreateCallRequestInternal getCreateCallRequestInternal(CreateGroupCallOp request.setTranscriptionOptions(transcriptionOptionsInternal); } + if (createCallGroupOptions.getTeamsAppSource() != null) { + request.setTeamsAppSource( + MicrosoftTeamsAppIdentifierConverter.convert(createCallGroupOptions.getTeamsAppSource())); + } + return request; } 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 c7409ab1b0c8..b5ac8324b70d 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 @@ -33,7 +33,11 @@ public enum CallAutomationServiceVersion implements ServiceVersion { /** * Service version {@code 2025-05-15}. */ - V2025_05_15("2025-05-15"); + V2025_05_15("2025-05-15"), + /** + * Service version {@code 2025-06-15}. + */ + V2025_06_15("2025-06-15"); private final String version; @@ -55,6 +59,6 @@ public String getVersion() { * @return The latest {@link CallAutomationServiceVersion} object. */ public static CallAutomationServiceVersion getLatest() { - return V2025_05_15; + return V2025_06_15; } } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallConnectionAsync.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallConnectionAsync.java index 9426805497bb..873a4a5b5348 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallConnectionAsync.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallConnectionAsync.java @@ -38,6 +38,7 @@ import com.azure.communication.common.MicrosoftTeamsAppIdentifier; import com.azure.communication.common.MicrosoftTeamsUserIdentifier; import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.communication.common.TeamsExtensionUserIdentifier; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; import com.azure.core.exception.HttpResponseException; @@ -259,6 +260,10 @@ public Mono transferCallToParticipant(CommunicationIdentifie return transferCallToParticipantWithResponse( new TransferCallToParticipantOptions((MicrosoftTeamsAppIdentifier) targetParticipant)) .flatMap(FluxUtil::toMono); + } else if (targetParticipant instanceof TeamsExtensionUserIdentifier) { + return transferCallToParticipantWithResponse( + new TransferCallToParticipantOptions((TeamsExtensionUserIdentifier) targetParticipant)) + .flatMap(FluxUtil::toMono); } else { throw logger.logExceptionAsError(new IllegalArgumentException("targetParticipant type is invalid.")); } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallRecordingAsync.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallRecordingAsync.java index e9a0d4672ceb..c5290114fd79 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallRecordingAsync.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/CallRecordingAsync.java @@ -186,6 +186,9 @@ private StartCallRecordingRequestInternal getStartCallRecordingRequest(StartReco if (options.isPauseOnStart() != null) { request.setPauseOnStart(options.isPauseOnStart()); } + if (options.getCallConnectionId() != null) { + request.setCallConnectionId(options.getCallConnectionId()); + } return request; } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/AzureCommunicationCallAutomationServiceImplBuilder.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/AzureCommunicationCallAutomationServiceImplBuilder.java index 27901c896aa5..681836533320 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/AzureCommunicationCallAutomationServiceImplBuilder.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/AzureCommunicationCallAutomationServiceImplBuilder.java @@ -275,7 +275,7 @@ public AzureCommunicationCallAutomationServiceImplBuilder retryPolicy(RetryPolic public AzureCommunicationCallAutomationServiceImpl buildClient() { this.validateClient(); HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline(); - String localApiVersion = (apiVersion != null) ? apiVersion : "2025-05-15"; + String localApiVersion = (apiVersion != null) ? apiVersion : "2025-06-15"; SerializerAdapter localSerializerAdapter = (serializerAdapter != null) ? serializerAdapter : JacksonAdapter.createDefaultSerializerAdapter(); AzureCommunicationCallAutomationServiceImpl client = new AzureCommunicationCallAutomationServiceImpl( diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/CallRecordingsImpl.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/CallRecordingsImpl.java index 454555930fa1..1b67ac66b05f 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/CallRecordingsImpl.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/CallRecordingsImpl.java @@ -63,7 +63,7 @@ public final class CallRecordingsImpl { @ServiceInterface(name = "AzureCommunicationCallAutomationServiceCallRecordings") public interface CallRecordingsService { @Post("/calling/recordings") - @ExpectedResponses({ 200 }) + @ExpectedResponses({ 200, 202 }) @UnexpectedResponseExceptionType(CommunicationErrorResponseException.class) Mono> startRecording(@HostParam("endpoint") String endpoint, @QueryParam("api-version") String apiVersion, diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/converters/CommunicationIdentifierConverter.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/converters/CommunicationIdentifierConverter.java index a7ae95fb6a45..7cf5e7712709 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/converters/CommunicationIdentifierConverter.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/converters/CommunicationIdentifierConverter.java @@ -10,12 +10,14 @@ import com.azure.communication.callautomation.implementation.models.MicrosoftTeamsAppIdentifierModel; import com.azure.communication.callautomation.implementation.models.MicrosoftTeamsUserIdentifierModel; import com.azure.communication.callautomation.implementation.models.PhoneNumberIdentifierModel; +import com.azure.communication.callautomation.implementation.models.TeamsExtensionUserIdentifierModel; import com.azure.communication.common.CommunicationCloudEnvironment; import com.azure.communication.common.CommunicationIdentifier; import com.azure.communication.common.CommunicationUserIdentifier; import com.azure.communication.common.MicrosoftTeamsAppIdentifier; import com.azure.communication.common.MicrosoftTeamsUserIdentifier; import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.communication.common.TeamsExtensionUserIdentifier; import com.azure.communication.common.UnknownIdentifier; import java.util.ArrayList; @@ -66,6 +68,25 @@ public static CommunicationIdentifier convert(CommunicationIdentifierModel ident CommunicationCloudEnvironment.fromString(teamsUserIdentifierModel.getCloud().toString())); } + if (kind == CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER + && identifier.getTeamsExtensionUser() != null) { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel = identifier.getTeamsExtensionUser(); + Objects.requireNonNull(teamsExtensionUserIdentifierModel.getUserId(), + "'UserID' of the CommunicationIdentifierModel cannot be null."); + Objects.requireNonNull(teamsExtensionUserIdentifierModel.getResourceId(), + "'ResourceId' of the CommunicationIdentifierModel cannot be null."); + Objects.requireNonNull(teamsExtensionUserIdentifierModel.getTenantId(), + "'TenantId' of the CommunicationIdentifierModel cannot be null."); + Objects.requireNonNull(teamsExtensionUserIdentifierModel.getCloud(), + "'Cloud' of the CommunicationIdentifierModel cannot be null."); + Objects.requireNonNull(rawId, "'RawID' of the CommunicationIdentifierModel cannot be null."); + return new TeamsExtensionUserIdentifier(teamsExtensionUserIdentifierModel.getUserId(), + teamsExtensionUserIdentifierModel.getTenantId(), teamsExtensionUserIdentifierModel.getResourceId()) + .setRawId(rawId) + .setCloudEnvironment(CommunicationCloudEnvironment + .fromString(teamsExtensionUserIdentifierModel.getCloud().toString())); + } + if (kind == CommunicationIdentifierModelKind.MICROSOFT_TEAMS_APP && identifier.getMicrosoftTeamsApp() != null) { MicrosoftTeamsAppIdentifierModel teamsUserIdentifierModel = identifier.getMicrosoftTeamsApp(); Objects.requireNonNull(teamsUserIdentifierModel.getAppId(), @@ -122,6 +143,17 @@ public static CommunicationIdentifierModel convert(CommunicationIdentifier ident .fromString(teamsAppIdentifier.getCloudEnvironment().toString()))); } + if (identifier instanceof TeamsExtensionUserIdentifier) { + TeamsExtensionUserIdentifier teamsExtensionUserIdentifier = (TeamsExtensionUserIdentifier) identifier; + return new CommunicationIdentifierModel().setRawId(teamsExtensionUserIdentifier.getRawId()) + .setTeamsExtensionUser( + new TeamsExtensionUserIdentifierModel().setResourceId(teamsExtensionUserIdentifier.getResourceId()) + .setUserId(teamsExtensionUserIdentifier.getUserId()) + .setTenantId(teamsExtensionUserIdentifier.getTenantId()) + .setCloud(CommunicationCloudEnvironmentModel + .fromString(teamsExtensionUserIdentifier.getCloudEnvironment().toString()))); + } + if (identifier instanceof UnknownIdentifier) { UnknownIdentifier unknownIdentifier = (UnknownIdentifier) identifier; return new CommunicationIdentifierModel().setRawId(unknownIdentifier.getId()); @@ -171,6 +203,9 @@ private static CommunicationIdentifierModelKind extractKind(CommunicationIdentif if (identifier.getMicrosoftTeamsApp() != null) { return CommunicationIdentifierModelKind.MICROSOFT_TEAMS_APP; } + if (identifier.getTeamsExtensionUser() != null) { + return CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER; + } return CommunicationIdentifierModelKind.UNKNOWN; } } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/CommunicationIdentifierModel.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/CommunicationIdentifierModel.java index ade71b4685a3..f974e0adc7be 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/CommunicationIdentifierModel.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/CommunicationIdentifierModel.java @@ -55,6 +55,12 @@ public final class CommunicationIdentifierModel implements JsonSerializable { /* - * The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user. + * The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of the user. */ @Generated private String userId; @@ -43,8 +43,8 @@ public MicrosoftTeamsUserIdentifierModel() { } /** - * Get the userId property: The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the - * user. + * Get the userId property: The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of + * the user. * * @return the userId value. */ @@ -54,8 +54,8 @@ public String getUserId() { } /** - * Set the userId property: The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the - * user. + * Set the userId property: The Id of the Microsoft Teams user. If not anonymous, this is the Entra ID object Id of + * the user. * * @param userId the userId value to set. * @return the MicrosoftTeamsUserIdentifierModel object itself. diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PhoneNumberIdentifierModel.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PhoneNumberIdentifierModel.java index c2539c22fadd..8c6a1427ed7d 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PhoneNumberIdentifierModel.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/PhoneNumberIdentifierModel.java @@ -18,11 +18,25 @@ @Fluent public final class PhoneNumberIdentifierModel implements JsonSerializable { /* - * The phone number in E.164 format. + * The phone number, usually in E.164 format. */ @Generated private String value; + /* + * True if the phone number is anonymous. By default false if missing. If the phone number is anonymous, the value + * will be the string 'anonymous'. + */ + @Generated + private Boolean isAnonymous; + + /* + * The asserted Id of the phone number. An asserted Id gets generated when the same phone number joins the same call + * more than once. + */ + @Generated + private String assertedId; + /** * Creates an instance of PhoneNumberIdentifierModel class. */ @@ -31,7 +45,7 @@ public PhoneNumberIdentifierModel() { } /** - * Get the value property: The phone number in E.164 format. + * Get the value property: The phone number, usually in E.164 format. * * @return the value value. */ @@ -41,7 +55,7 @@ public String getValue() { } /** - * Set the value property: The phone number in E.164 format. + * Set the value property: The phone number, usually in E.164 format. * * @param value the value value to set. * @return the PhoneNumberIdentifierModel object itself. @@ -52,6 +66,54 @@ public PhoneNumberIdentifierModel setValue(String value) { return this; } + /** + * Get the isAnonymous property: True if the phone number is anonymous. By default false if missing. If the phone + * number is anonymous, the value will be the string 'anonymous'. + * + * @return the isAnonymous value. + */ + @Generated + public Boolean isAnonymous() { + return this.isAnonymous; + } + + /** + * Set the isAnonymous property: True if the phone number is anonymous. By default false if missing. If the phone + * number is anonymous, the value will be the string 'anonymous'. + * + * @param isAnonymous the isAnonymous value to set. + * @return the PhoneNumberIdentifierModel object itself. + */ + @Generated + public PhoneNumberIdentifierModel setIsAnonymous(Boolean isAnonymous) { + this.isAnonymous = isAnonymous; + return this; + } + + /** + * Get the assertedId property: The asserted Id of the phone number. An asserted Id gets generated when the same + * phone number joins the same call more than once. + * + * @return the assertedId value. + */ + @Generated + public String getAssertedId() { + return this.assertedId; + } + + /** + * Set the assertedId property: The asserted Id of the phone number. An asserted Id gets generated when the same + * phone number joins the same call more than once. + * + * @param assertedId the assertedId value to set. + * @return the PhoneNumberIdentifierModel object itself. + */ + @Generated + public PhoneNumberIdentifierModel setAssertedId(String assertedId) { + this.assertedId = assertedId; + return this; + } + /** * {@inheritDoc} */ @@ -60,6 +122,8 @@ public PhoneNumberIdentifierModel setValue(String value) { public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("value", this.value); + jsonWriter.writeBooleanField("isAnonymous", this.isAnonymous); + jsonWriter.writeStringField("assertedId", this.assertedId); return jsonWriter.writeEndObject(); } @@ -82,6 +146,10 @@ public static PhoneNumberIdentifierModel fromJson(JsonReader jsonReader) throws if ("value".equals(fieldName)) { deserializedPhoneNumberIdentifierModel.value = reader.getString(); + } else if ("isAnonymous".equals(fieldName)) { + deserializedPhoneNumberIdentifierModel.isAnonymous = reader.getNullable(JsonReader::getBoolean); + } else if ("assertedId".equals(fieldName)) { + deserializedPhoneNumberIdentifierModel.assertedId = reader.getString(); } else { reader.skipChildren(); } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/StartCallRecordingRequestInternal.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/StartCallRecordingRequestInternal.java index 3c2fca1789ec..1cafcdf62f2b 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/StartCallRecordingRequestInternal.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/StartCallRecordingRequestInternal.java @@ -19,11 +19,17 @@ @Fluent public final class StartCallRecordingRequestInternal implements JsonSerializable { /* - * The call locator. + * The call locator. (Only one of callLocator or callConnectionId to be used) */ @Generated private CallLocatorInternal callLocator; + /* + * The call connection Id. (Only one of callLocator or callConnectionId to be used) + */ + @Generated + private String callConnectionId; + /* * The uri to send notifications to. */ @@ -87,7 +93,7 @@ public StartCallRecordingRequestInternal() { } /** - * Get the callLocator property: The call locator. + * Get the callLocator property: The call locator. (Only one of callLocator or callConnectionId to be used). * * @return the callLocator value. */ @@ -97,7 +103,7 @@ public CallLocatorInternal getCallLocator() { } /** - * Set the callLocator property: The call locator. + * Set the callLocator property: The call locator. (Only one of callLocator or callConnectionId to be used). * * @param callLocator the callLocator value to set. * @return the StartCallRecordingRequestInternal object itself. @@ -108,6 +114,30 @@ public StartCallRecordingRequestInternal setCallLocator(CallLocatorInternal call return this; } + /** + * Get the callConnectionId property: The call connection Id. (Only one of callLocator or callConnectionId to be + * used). + * + * @return the callConnectionId value. + */ + @Generated + public String getCallConnectionId() { + return this.callConnectionId; + } + + /** + * Set the callConnectionId property: The call connection Id. (Only one of callLocator or callConnectionId to be + * used). + * + * @param callConnectionId the callConnectionId value to set. + * @return the StartCallRecordingRequestInternal object itself. + */ + @Generated + public StartCallRecordingRequestInternal setCallConnectionId(String callConnectionId) { + this.callConnectionId = callConnectionId; + return this; + } + /** * Get the recordingStateCallbackUri property: The uri to send notifications to. * @@ -309,6 +339,7 @@ public StartCallRecordingRequestInternal setExternalStorage(RecordingStorageInte public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeJsonField("callLocator", this.callLocator); + jsonWriter.writeStringField("callConnectionId", this.callConnectionId); jsonWriter.writeStringField("recordingStateCallbackUri", this.recordingStateCallbackUri); jsonWriter.writeStringField("recordingContentType", this.recordingContentType == null ? null : this.recordingContentType.toString()); @@ -331,7 +362,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * @param jsonReader The JsonReader being read. * @return An instance of StartCallRecordingRequestInternal if the JsonReader was pointing to an instance of it, or * null if it was pointing to JSON null. - * @throws IllegalStateException If the deserialized JSON object was missing any required properties. * @throws IOException If an error occurs while reading the StartCallRecordingRequestInternal. */ @Generated @@ -345,6 +375,8 @@ public static StartCallRecordingRequestInternal fromJson(JsonReader jsonReader) if ("callLocator".equals(fieldName)) { deserializedStartCallRecordingRequestInternal.callLocator = CallLocatorInternal.fromJson(reader); + } else if ("callConnectionId".equals(fieldName)) { + deserializedStartCallRecordingRequestInternal.callConnectionId = reader.getString(); } else if ("recordingStateCallbackUri".equals(fieldName)) { deserializedStartCallRecordingRequestInternal.recordingStateCallbackUri = reader.getString(); } else if ("recordingContentType".equals(fieldName)) { diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/StartRecordingFailed.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/StartRecordingFailed.java index fa756feab460..4c65e8e4504e 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/StartRecordingFailed.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/StartRecordingFailed.java @@ -5,6 +5,7 @@ package com.azure.communication.callautomation.implementation.models; import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; import com.azure.json.JsonReader; import com.azure.json.JsonSerializable; import com.azure.json.JsonToken; @@ -16,32 +17,65 @@ */ @Fluent public final class StartRecordingFailed implements JsonSerializable { + /* + * The call recording Id. + */ + @Generated + private String recordingId; + /* * Call connection ID. */ + @Generated private String callConnectionId; /* - * Correlation ID for event to call correlation. + * Server call ID. + */ + @Generated + private String serverCallId; + + /* + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + @Generated private String correlationId; /* - * The call recording id + * Used by customers when calling mid-call actions to correlate the request to the response event. */ - private String recordingId; + @Generated + private String operationContext; + + /* + * Contains the resulting SIP code, sub-code and message. + */ + @Generated + private ResultInformation resultInformation; /** * Creates an instance of StartRecordingFailed class. */ + @Generated public StartRecordingFailed() { } + /** + * Get the recordingId property: The call recording Id. + * + * @return the recordingId value. + */ + @Generated + public String getRecordingId() { + return this.recordingId; + } + /** * Get the callConnectionId property: Call connection ID. * * @return the callConnectionId value. */ + @Generated public String getCallConnectionId() { return this.callConnectionId; } @@ -52,48 +86,116 @@ public String getCallConnectionId() { * @param callConnectionId the callConnectionId value to set. * @return the StartRecordingFailed object itself. */ + @Generated public StartRecordingFailed setCallConnectionId(String callConnectionId) { this.callConnectionId = callConnectionId; return this; } /** - * Get the correlationId property: Correlation ID for event to call correlation. + * Get the serverCallId property: Server call ID. + * + * @return the serverCallId value. + */ + @Generated + public String getServerCallId() { + return this.serverCallId; + } + + /** + * Set the serverCallId property: Server call ID. + * + * @param serverCallId the serverCallId value to set. + * @return the StartRecordingFailed object itself. + */ + @Generated + public StartRecordingFailed setServerCallId(String serverCallId) { + this.serverCallId = serverCallId; + return this; + } + + /** + * Get the correlationId property: Correlation ID for event to call correlation. Also called ChainId for skype chain + * ID. * * @return the correlationId value. */ + @Generated public String getCorrelationId() { return this.correlationId; } /** - * Set the correlationId property: Correlation ID for event to call correlation. + * Set the correlationId property: Correlation ID for event to call correlation. Also called ChainId for skype chain + * ID. * * @param correlationId the correlationId value to set. * @return the StartRecordingFailed object itself. */ + @Generated public StartRecordingFailed setCorrelationId(String correlationId) { this.correlationId = correlationId; return this; } /** - * Get the recordingId property: The call recording id. + * Get the operationContext property: Used by customers when calling mid-call actions to correlate the request to + * the response event. * - * @return the recordingId value. + * @return the operationContext value. */ - public String getRecordingId() { - return this.recordingId; + @Generated + public String getOperationContext() { + return this.operationContext; + } + + /** + * Set the operationContext property: Used by customers when calling mid-call actions to correlate the request to + * the response event. + * + * @param operationContext the operationContext value to set. + * @return the StartRecordingFailed object itself. + */ + @Generated + public StartRecordingFailed setOperationContext(String operationContext) { + this.operationContext = operationContext; + return this; + } + + /** + * Get the resultInformation property: Contains the resulting SIP code, sub-code and message. + * + * @return the resultInformation value. + */ + @Generated + public ResultInformation getResultInformation() { + return this.resultInformation; + } + + /** + * Set the resultInformation property: Contains the resulting SIP code, sub-code and message. + * + * @param resultInformation the resultInformation value to set. + * @return the StartRecordingFailed object itself. + */ + @Generated + public StartRecordingFailed setResultInformation(ResultInformation resultInformation) { + this.resultInformation = resultInformation; + return this; } /** * {@inheritDoc} */ + @Generated @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { jsonWriter.writeStartObject(); jsonWriter.writeStringField("callConnectionId", this.callConnectionId); + jsonWriter.writeStringField("serverCallId", this.serverCallId); jsonWriter.writeStringField("correlationId", this.correlationId); + jsonWriter.writeStringField("operationContext", this.operationContext); + jsonWriter.writeJsonField("resultInformation", this.resultInformation); return jsonWriter.writeEndObject(); } @@ -105,6 +207,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { * was pointing to JSON null. * @throws IOException If an error occurs while reading the StartRecordingFailed. */ + @Generated public static StartRecordingFailed fromJson(JsonReader jsonReader) throws IOException { return jsonReader.readObject(reader -> { StartRecordingFailed deserializedStartRecordingFailed = new StartRecordingFailed(); @@ -112,12 +215,18 @@ public static StartRecordingFailed fromJson(JsonReader jsonReader) throws IOExce String fieldName = reader.getFieldName(); reader.nextToken(); - if ("callConnectionId".equals(fieldName)) { + if ("recordingId".equals(fieldName)) { + deserializedStartRecordingFailed.recordingId = reader.getString(); + } else if ("callConnectionId".equals(fieldName)) { deserializedStartRecordingFailed.callConnectionId = reader.getString(); + } else if ("serverCallId".equals(fieldName)) { + deserializedStartRecordingFailed.serverCallId = reader.getString(); } else if ("correlationId".equals(fieldName)) { deserializedStartRecordingFailed.correlationId = reader.getString(); - } else if ("recordingId".equals(fieldName)) { - deserializedStartRecordingFailed.recordingId = reader.getString(); + } else if ("operationContext".equals(fieldName)) { + deserializedStartRecordingFailed.operationContext = reader.getString(); + } else if ("resultInformation".equals(fieldName)) { + deserializedStartRecordingFailed.resultInformation = ResultInformation.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TeamsExtensionUserIdentifierModel.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TeamsExtensionUserIdentifierModel.java new file mode 100644 index 000000000000..7e39e76a691b --- /dev/null +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/implementation/models/TeamsExtensionUserIdentifierModel.java @@ -0,0 +1,190 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callautomation.implementation.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * A Microsoft Teams Phone user who is using a Communication Services resource to extend their Teams Phone set up. + */ +@Fluent +public final class TeamsExtensionUserIdentifierModel implements JsonSerializable { + /* + * The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user. + */ + @Generated + private String userId; + + /* + * The tenant Id of the Microsoft Teams Extension user. + */ + @Generated + private String tenantId; + + /* + * The Communication Services resource Id. + */ + @Generated + private String resourceId; + + /* + * The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if missing. + */ + @Generated + private CommunicationCloudEnvironmentModel cloud; + + /** + * Creates an instance of TeamsExtensionUserIdentifierModel class. + */ + @Generated + public TeamsExtensionUserIdentifierModel() { + } + + /** + * Get the userId property: The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user. + * + * @return the userId value. + */ + @Generated + public String getUserId() { + return this.userId; + } + + /** + * Set the userId property: The Id of the Microsoft Teams Extension user, i.e. the Entra ID object Id of the user. + * + * @param userId the userId value to set. + * @return the TeamsExtensionUserIdentifierModel object itself. + */ + @Generated + public TeamsExtensionUserIdentifierModel setUserId(String userId) { + this.userId = userId; + return this; + } + + /** + * Get the tenantId property: The tenant Id of the Microsoft Teams Extension user. + * + * @return the tenantId value. + */ + @Generated + public String getTenantId() { + return this.tenantId; + } + + /** + * Set the tenantId property: The tenant Id of the Microsoft Teams Extension user. + * + * @param tenantId the tenantId value to set. + * @return the TeamsExtensionUserIdentifierModel object itself. + */ + @Generated + public TeamsExtensionUserIdentifierModel setTenantId(String tenantId) { + this.tenantId = tenantId; + return this; + } + + /** + * Get the resourceId property: The Communication Services resource Id. + * + * @return the resourceId value. + */ + @Generated + public String getResourceId() { + return this.resourceId; + } + + /** + * Set the resourceId property: The Communication Services resource Id. + * + * @param resourceId the resourceId value to set. + * @return the TeamsExtensionUserIdentifierModel object itself. + */ + @Generated + public TeamsExtensionUserIdentifierModel setResourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + + /** + * Get the cloud property: The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if + * missing. + * + * @return the cloud value. + */ + @Generated + public CommunicationCloudEnvironmentModel getCloud() { + return this.cloud; + } + + /** + * Set the cloud property: The cloud that the Microsoft Teams Extension user belongs to. By default 'public' if + * missing. + * + * @param cloud the cloud value to set. + * @return the TeamsExtensionUserIdentifierModel object itself. + */ + @Generated + public TeamsExtensionUserIdentifierModel setCloud(CommunicationCloudEnvironmentModel cloud) { + this.cloud = cloud; + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("userId", this.userId); + jsonWriter.writeStringField("tenantId", this.tenantId); + jsonWriter.writeStringField("resourceId", this.resourceId); + jsonWriter.writeStringField("cloud", this.cloud == null ? null : this.cloud.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of TeamsExtensionUserIdentifierModel from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of TeamsExtensionUserIdentifierModel if the JsonReader was pointing to an instance of it, or + * null if it was pointing to JSON null. + * @throws IllegalStateException If the deserialized JSON object was missing any required properties. + * @throws IOException If an error occurs while reading the TeamsExtensionUserIdentifierModel. + */ + @Generated + public static TeamsExtensionUserIdentifierModel fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + TeamsExtensionUserIdentifierModel deserializedTeamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("userId".equals(fieldName)) { + deserializedTeamsExtensionUserIdentifierModel.userId = reader.getString(); + } else if ("tenantId".equals(fieldName)) { + deserializedTeamsExtensionUserIdentifierModel.tenantId = reader.getString(); + } else if ("resourceId".equals(fieldName)) { + deserializedTeamsExtensionUserIdentifierModel.resourceId = reader.getString(); + } else if ("cloud".equals(fieldName)) { + deserializedTeamsExtensionUserIdentifierModel.cloud + = CommunicationCloudEnvironmentModel.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedTeamsExtensionUserIdentifierModel; + }); + } +} diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CallInvite.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CallInvite.java index 2569b4468f03..a8f46242f707 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CallInvite.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CallInvite.java @@ -10,6 +10,7 @@ import com.azure.communication.common.CommunicationUserIdentifier; import com.azure.communication.common.MicrosoftTeamsUserIdentifier; import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.communication.common.TeamsExtensionUserIdentifier; import com.azure.core.annotation.Fluent; /** @@ -54,6 +55,16 @@ public CallInvite(MicrosoftTeamsUserIdentifier targetIdentity) { this.customCallingContext = new CustomCallingContext(null, new HashMap<>()); } + /** + * Create a CallInvite object with TeamsExtensionUserIdentifier + * @param targetIdentity Target's TeamsExtensionUserIdentifier + */ + public CallInvite(TeamsExtensionUserIdentifier targetIdentity) { + this.targetParticipant = targetIdentity; + this.sourceCallerIdNumber = null; + this.customCallingContext = new CustomCallingContext(null, new HashMap<>()); + } + /** * Get target's CommunicationIdentifier * @return target's CommunicationIdentifier diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CreateCallOptions.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CreateCallOptions.java index fe0f9e8ea87d..821354c2cf9f 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CreateCallOptions.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CreateCallOptions.java @@ -4,6 +4,7 @@ package com.azure.communication.callautomation.models; import com.azure.core.annotation.Fluent; +import com.azure.communication.common.MicrosoftTeamsAppIdentifier; /** * The options for creating a p2p call. @@ -40,6 +41,11 @@ public final class CreateCallOptions { */ private TranscriptionOptions transcriptionOptions; + /* + * The identifier of the source for creating call with Teams resource account ID. + */ + private MicrosoftTeamsAppIdentifier teamsAppSource; + /** * Constructor * @param callInvite Call invitee information. @@ -146,4 +152,24 @@ public CreateCallOptions setMediaStreamingOptions(MediaStreamingOptions mediaStr this.mediaStreamingOptions = mediaStreamingOptions; return this; } + + /** + * Get the teamsAppSource property: The identifier of the source for creating call with Teams resource account ID. + * + * @return the teamsAppSource value. + */ + public MicrosoftTeamsAppIdentifier getTeamsAppSource() { + return this.teamsAppSource; + } + + /** + * Set the teamsAppSource property: The identifier of the source for creating call with Teams resource account ID. + * + * @param teamsAppSource the teamsAppSource value to set. + * @return the CreateCallOptions object itself. + */ + public CreateCallOptions setTeamsAppSource(MicrosoftTeamsAppIdentifier teamsAppSource) { + this.teamsAppSource = teamsAppSource; + return this; + } } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CreateGroupCallOptions.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CreateGroupCallOptions.java index 39109119a4c6..d7fc7efc204c 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CreateGroupCallOptions.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CreateGroupCallOptions.java @@ -7,6 +7,7 @@ import com.azure.communication.common.CommunicationIdentifier; import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.communication.common.MicrosoftTeamsAppIdentifier; import com.azure.core.annotation.Fluent; /** @@ -54,6 +55,11 @@ public final class CreateGroupCallOptions { */ private CallIntelligenceOptions callIntelligenceOptions; + /* + * The identifier of the source for creating call with Teams resource account ID. + */ + private MicrosoftTeamsAppIdentifier teamsAppSource; + /** * Constructor * @@ -200,4 +206,24 @@ public MediaStreamingOptions getMediaStreamingOptions() { public TranscriptionOptions getTranscriptionOptions() { return transcriptionOptions; } + + /** + * Get the teamsAppSource property: The identifier of the source for creating call with Teams resource account ID. + * + * @return the teamsAppSource value. + */ + public MicrosoftTeamsAppIdentifier getTeamsAppSource() { + return this.teamsAppSource; + } + + /** + * Set the teamsAppSource property: The identifier of the source for creating call with Teams resource account ID. + * + * @param teamsAppSource the teamsAppSource value to set. + * @return the CreateCallOptions object itself. + */ + public CreateGroupCallOptions setTeamsAppSource(MicrosoftTeamsAppIdentifier teamsAppSource) { + this.teamsAppSource = teamsAppSource; + return this; + } } diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CustomCallingContext.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CustomCallingContext.java index 1a50447e31ac..0e0ed6c261fe 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CustomCallingContext.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/CustomCallingContext.java @@ -7,6 +7,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; +import java.util.HashMap; import java.util.Map; /** @@ -18,6 +19,15 @@ public final class CustomCallingContext { private final Map voipHeaders; private final ClientLogger logger; + /** + * Creates an instance of CustomCallingContext class. + */ + CustomCallingContext() { + this.sipHeaders = new HashMap(); + this.voipHeaders = new HashMap(); + this.logger = new ClientLogger(CustomCallingContext.class); + } + /** * Create a CustomCallingContext object with SIP and VOIP headers * @@ -66,13 +76,28 @@ public void addSipUui(String value) { * * @param key custom context sip x header's key. * @param value custom context sip x header's value. - * @throws IllegalStateException If sipHeaders is null */ public void addSipX(String key, String value) { + addSipX(key, value, SipHeaderPrefix.X_MS_CUSTOM); + } + + /** + * Add a custom context sip X header. The provided key is appended to 'X-' or "X-MS-Custom-" in last. + * + * @param key custom context sip x header's key. + * @param value custom context sip x header's value. + * @param prefix The prefix to use for the header. + * @throws IllegalStateException If sipHeaders is null + */ + public void addSipX(String key, String value, SipHeaderPrefix prefix) { if (sipHeaders == null) { throw logger.logExceptionAsError(new IllegalStateException("Cannot add sip header, SipHeaders is null.")); } - sipHeaders.put("X-MS-Custom-" + key, value); + if (prefix == SipHeaderPrefix.X) { + sipHeaders.put("X-" + key, value); + } else { + sipHeaders.put("X-MS-Custom-" + key, value); + } } /** diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/SipHeaderPrefix.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/SipHeaderPrefix.java new file mode 100644 index 000000000000..5c06ecf13314 --- /dev/null +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/SipHeaderPrefix.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.callautomation.models; + +import java.util.Collection; + +import com.azure.core.util.ExpandableStringEnum; + +/** + * Specifies the SipHeaderPrefix used for custom SIP headers in Call Automation. + */ +public final class SipHeaderPrefix extends ExpandableStringEnum { + /** + * Use the generic "X-" prefix. + */ + public static final SipHeaderPrefix X = fromString("X"); + + /** + * Use the legacy "X-MS-Custom" prefix. + */ + public static final SipHeaderPrefix X_MS_CUSTOM = fromString("XMSCustom"); + + /** + * Creates a new instance of SipHeaderPrefix value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public SipHeaderPrefix() { + } + + /** + * Creates or finds a SipHeaderPrefix from its string representation. + * + * @param name a name to look for. + * @return the corresponding SipHeaderPrefix. + */ + public static SipHeaderPrefix fromString(String name) { + return fromString(name, SipHeaderPrefix.class); + } + + /** + * Gets known SipHeaderPrefix values. + * + * @return known SipHeaderPrefix values. + */ + public static Collection values() { + return values(SipHeaderPrefix.class); + } +} diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/StartRecordingOptions.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/StartRecordingOptions.java index cf3a60c10ab4..db5b9be1f535 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/StartRecordingOptions.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/StartRecordingOptions.java @@ -18,6 +18,11 @@ public final class StartRecordingOptions { */ private final CallLocator callLocator; + /** + * The call connection ID for locating the call. + */ + private final String callConnectionId; + private String recordingStateCallbackUrl; private RecordingChannel recordingChannel; @@ -41,6 +46,17 @@ public final class StartRecordingOptions { */ public StartRecordingOptions(CallLocator callLocator) { this.callLocator = callLocator; + this.callConnectionId = null; + } + + /** + * Constructor + * + * @param callConnectionId The call connection ID for locating the call. + */ + public StartRecordingOptions(String callConnectionId) { + this.callConnectionId = callConnectionId; + this.callLocator = null; } /** @@ -52,6 +68,15 @@ public CallLocator getCallLocator() { return this.callLocator; } + /** + * Get the call connection ID. + * + * @return the call connection ID. + */ + public String getCallConnectionId() { + return this.callConnectionId; + } + /** * Uri to send state change callbacks. * diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/TransferCallToParticipantOptions.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/TransferCallToParticipantOptions.java index 26237f3482e6..2cf8a30837ac 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/TransferCallToParticipantOptions.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/TransferCallToParticipantOptions.java @@ -9,6 +9,7 @@ import com.azure.communication.common.CommunicationUserIdentifier; import com.azure.communication.common.MicrosoftTeamsUserIdentifier; import com.azure.communication.common.PhoneNumberIdentifier; +import com.azure.communication.common.TeamsExtensionUserIdentifier; import com.azure.core.annotation.Fluent; /** @@ -79,6 +80,16 @@ public TransferCallToParticipantOptions(MicrosoftTeamsUserIdentifier targetParti this.customCallingContext = new CustomCallingContext(null, new HashMap<>()); } + /** + * Constructor + * + * @param targetParticipant {@link TeamsExtensionUserIdentifier} contains information for TransferTarget(to whom the call is transferred). + */ + public TransferCallToParticipantOptions(TeamsExtensionUserIdentifier targetParticipant) { + this.targetParticipant = targetParticipant; + this.customCallingContext = new CustomCallingContext(null, new HashMap<>()); + } + /** * Get the operationContext. * diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/events/StartRecordingFailed.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/events/StartRecordingFailed.java new file mode 100644 index 000000000000..2576c93b09fe --- /dev/null +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/models/events/StartRecordingFailed.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.communication.callautomation.models.events; + +import com.azure.core.annotation.Fluent; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * The StartRecordingFailed model. + */ +@Fluent +public final class StartRecordingFailed extends CallAutomationEventBase { + /* + * The call recording Id. + */ + private String recordingId; + + /** + * Creates an instance of StartRecordingFailed class. + */ + public StartRecordingFailed() { + } + + /** + * Get the recordingId property: The call recording Id. + * + * @return the recordingId value. + */ + public String getRecordingId() { + return recordingId; + } + + /** + * {@inheritDoc} + */ + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("recordingId", recordingId); + super.writeFields(jsonWriter); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of StartRecordingFailed from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of StartRecordingFailed if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the StartRecordingFailed. + */ + public static StartRecordingFailed fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + final StartRecordingFailed event = new StartRecordingFailed(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + if ("recordingId".equals(fieldName)) { + event.recordingId = reader.getString(); + } else { + if (!event.readField(fieldName, reader)) { + reader.skipChildren(); + } + } + } + + return event; + }); + } +} diff --git a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallAutomationAsyncClientAutomatedLiveTests.java b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallAutomationAsyncClientAutomatedLiveTests.java index 9d27fa209ebb..ffb2e67951a0 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallAutomationAsyncClientAutomatedLiveTests.java +++ b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallAutomationAsyncClientAutomatedLiveTests.java @@ -90,7 +90,7 @@ public void createVOIPCallAndAnswerThenHangupAutomatedTest(HttpClient httpClient assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -272,7 +272,7 @@ public void createVOIPCallAndConnectCallTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call diff --git a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionAsyncAutomatedLiveTests.java b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionAsyncAutomatedLiveTests.java index d3cb1aa2cf8c..b1dedf722019 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionAsyncAutomatedLiveTests.java +++ b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionAsyncAutomatedLiveTests.java @@ -96,7 +96,7 @@ public void createVOIPCallAndAnswerThenAddParticipantFinallyRemoveParticipantAut assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -228,7 +228,7 @@ public void createVOIPCallAndAnswerThenAddParticipantFinallyCancelAddParticipant assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call diff --git a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionAsyncUnitTests.java b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionAsyncUnitTests.java index 66c46f64d0d0..6abad88ce601 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionAsyncUnitTests.java +++ b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionAsyncUnitTests.java @@ -14,6 +14,7 @@ import com.azure.communication.callautomation.models.CallParticipant; import com.azure.communication.callautomation.models.CancelAddParticipantOperationOptions; import com.azure.communication.callautomation.models.CancelAddParticipantOperationResult; +import com.azure.communication.callautomation.models.SipHeaderPrefix; import com.azure.communication.callautomation.models.MuteParticipantOptions; import com.azure.communication.callautomation.models.MuteParticipantResult; import com.azure.communication.callautomation.models.RemoveParticipantOptions; @@ -180,6 +181,43 @@ public void transferToParticipantCallWithResponse() { assertNotNull(transferCallResultResponse.getValue()); } + public void transferToParticipantCallWithResponsePhoneNumberIdentifierXMSHeader() { + CallConnectionAsync callConnectionAsync + = getCallAutomationAsyncClient(new ArrayList<>(Collections.singletonList(new SimpleEntry<>( + serializeObject(new TransferCallResponseInternal().setOperationContext(CALL_OPERATION_CONTEXT)), 202)))) + .getCallConnectionAsync(CALL_CONNECTION_ID); + + TransferCallToParticipantOptions transferCallToParticipantOptions + = new TransferCallToParticipantOptions(new PhoneNumberIdentifier(CALL_PSTN_TARGET_ID)) + .setOperationContext(CALL_OPERATION_CONTEXT); + transferCallToParticipantOptions.getCustomCallingContext() + .addSipX("Test-Sip-Header", "Test-Sip-Value", SipHeaderPrefix.X_MS_CUSTOM); + Response transferCallResultResponse + = callConnectionAsync.transferCallToParticipantWithResponse(transferCallToParticipantOptions).block(); + assertNotNull(transferCallResultResponse); + assertEquals(202, transferCallResultResponse.getStatusCode()); + assertNotNull(transferCallResultResponse.getValue()); + } + + @Test + public void transferToParticipantCallWithResponsePhoneNumberIdentifierXHeader() { + CallConnectionAsync callConnectionAsync + = getCallAutomationAsyncClient(new ArrayList<>(Collections.singletonList(new SimpleEntry<>( + serializeObject(new TransferCallResponseInternal().setOperationContext(CALL_OPERATION_CONTEXT)), 202)))) + .getCallConnectionAsync(CALL_CONNECTION_ID); + + TransferCallToParticipantOptions transferCallToParticipantOptions + = new TransferCallToParticipantOptions(new PhoneNumberIdentifier(CALL_PSTN_TARGET_ID)) + .setOperationContext(CALL_OPERATION_CONTEXT); + transferCallToParticipantOptions.getCustomCallingContext() + .addSipX("Test-Sip-Header", "Test-Sip-Value", SipHeaderPrefix.X); + Response transferCallResultResponse + = callConnectionAsync.transferCallToParticipantWithResponse(transferCallToParticipantOptions).block(); + assertNotNull(transferCallResultResponse); + assertEquals(202, transferCallResultResponse.getStatusCode()); + assertNotNull(transferCallResultResponse.getValue()); + } + @Test public void transferToParticipantCallWithResponseWithTransferee() { CallConnectionAsync callConnectionAsync @@ -199,6 +237,46 @@ public void transferToParticipantCallWithResponseWithTransferee() { assertNotNull(transferCallResultResponse.getValue()); } + @Test + public void transferToParticipantCallWithResponsePhoneNumberIdentifierXMSHeaderWithTransferee() { + CallConnectionAsync callConnectionAsync + = getCallAutomationAsyncClient(new ArrayList<>(Collections.singletonList(new SimpleEntry<>( + serializeObject(new TransferCallResponseInternal().setOperationContext(CALL_OPERATION_CONTEXT)), 202)))) + .getCallConnectionAsync(CALL_CONNECTION_ID); + + TransferCallToParticipantOptions transferCallToParticipantOptions + = new TransferCallToParticipantOptions(new PhoneNumberIdentifier(CALL_PSTN_TARGET_ID)) + .setOperationContext(CALL_OPERATION_CONTEXT) + .setTransferee(new CommunicationUserIdentifier(CALL_TRANSFEREE_ID)); + transferCallToParticipantOptions.getCustomCallingContext() + .addSipX("Test-Sip-Header", "Test-Sip-Value", SipHeaderPrefix.X_MS_CUSTOM); + Response transferCallResultResponse + = callConnectionAsync.transferCallToParticipantWithResponse(transferCallToParticipantOptions).block(); + assertNotNull(transferCallResultResponse); + assertEquals(202, transferCallResultResponse.getStatusCode()); + assertNotNull(transferCallResultResponse.getValue()); + } + + @Test + public void transferToParticipantCallWithResponsePhoneNumberIdentifierXHeaderWithTransferee() { + CallConnectionAsync callConnectionAsync + = getCallAutomationAsyncClient(new ArrayList<>(Collections.singletonList(new SimpleEntry<>( + serializeObject(new TransferCallResponseInternal().setOperationContext(CALL_OPERATION_CONTEXT)), 202)))) + .getCallConnectionAsync(CALL_CONNECTION_ID); + + TransferCallToParticipantOptions transferCallToParticipantOptions + = new TransferCallToParticipantOptions(new PhoneNumberIdentifier(CALL_PSTN_TARGET_ID)) + .setOperationContext(CALL_OPERATION_CONTEXT) + .setTransferee(new CommunicationUserIdentifier(CALL_TRANSFEREE_ID)); + transferCallToParticipantOptions.getCustomCallingContext() + .addSipX("Test-Sip-Header", "Test-Sip-Value", SipHeaderPrefix.X); + Response transferCallResultResponse + = callConnectionAsync.transferCallToParticipantWithResponse(transferCallToParticipantOptions).block(); + assertNotNull(transferCallResultResponse); + assertEquals(202, transferCallResultResponse.getStatusCode()); + assertNotNull(transferCallResultResponse.getValue()); + } + @Test public void addParticipants() { CallConnectionAsync callConnectionAsync = getCallAutomationAsyncClient( diff --git a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionUnitTests.java b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionUnitTests.java index 203e29704cf5..86c606513cc8 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionUnitTests.java +++ b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallConnectionUnitTests.java @@ -20,6 +20,7 @@ import com.azure.communication.callautomation.models.RemoveParticipantResult; import com.azure.communication.callautomation.models.TransferCallResult; import com.azure.communication.callautomation.models.TransferCallToParticipantOptions; +import com.azure.communication.callautomation.models.SipHeaderPrefix; import com.azure.communication.common.CommunicationUserIdentifier; import com.azure.communication.common.PhoneNumberIdentifier; import com.azure.core.http.rest.Response; @@ -180,6 +181,44 @@ public void transferToParticipantCallWithResponse() { assertNotNull(transferCallResultResponse.getValue()); } + @Test + public void transferToParticipantCallWithResponsePhoneNumberIdentifierXMSHeader() { + CallConnection callConnection + = getCallAutomationClient(new ArrayList<>(Collections.singletonList(new SimpleEntry<>( + serializeObject(new TransferCallResponseInternal().setOperationContext(CALL_OPERATION_CONTEXT)), 202)))) + .getCallConnection(CALL_CONNECTION_ID); + TransferCallToParticipantOptions transferCallToParticipantOptions + = new TransferCallToParticipantOptions(new PhoneNumberIdentifier(CALL_PSTN_TARGET_ID)) + .setOperationContext(CALL_OPERATION_CONTEXT); + transferCallToParticipantOptions.getCustomCallingContext() + .addSipX("Test-Sip-Header", "Test-Sip-Value", SipHeaderPrefix.X_MS_CUSTOM); + Response transferCallResultResponse + = callConnection.transferCallToParticipantWithResponse(transferCallToParticipantOptions, Context.NONE); + + assertNotNull(transferCallResultResponse); + assertEquals(202, transferCallResultResponse.getStatusCode()); + assertNotNull(transferCallResultResponse.getValue()); + } + + @Test + public void transferToParticipantCallWithResponsePhoneNumberIdentifierXHeader() { + CallConnection callConnection + = getCallAutomationClient(new ArrayList<>(Collections.singletonList(new SimpleEntry<>( + serializeObject(new TransferCallResponseInternal().setOperationContext(CALL_OPERATION_CONTEXT)), 202)))) + .getCallConnection(CALL_CONNECTION_ID); + TransferCallToParticipantOptions transferCallToParticipantOptions + = new TransferCallToParticipantOptions(new PhoneNumberIdentifier(CALL_PSTN_TARGET_ID)) + .setOperationContext(CALL_OPERATION_CONTEXT); + transferCallToParticipantOptions.getCustomCallingContext() + .addSipX("Test-Sip-Header", "Test-Sip-Value", SipHeaderPrefix.X); + Response transferCallResultResponse + = callConnection.transferCallToParticipantWithResponse(transferCallToParticipantOptions, Context.NONE); + + assertNotNull(transferCallResultResponse); + assertEquals(202, transferCallResultResponse.getStatusCode()); + assertNotNull(transferCallResultResponse.getValue()); + } + @Test public void addParticipants() { CallConnection callConnection = getCallAutomationClient( diff --git a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallMediaAsyncAutomatedLiveTests.java b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallMediaAsyncAutomatedLiveTests.java index dbe4e6148d5c..2e09bf45d013 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallMediaAsyncAutomatedLiveTests.java +++ b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallMediaAsyncAutomatedLiveTests.java @@ -113,7 +113,7 @@ public void playMediaInACallAutomatedTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -332,7 +332,7 @@ public void holdUnholdParticipantInACallTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -443,7 +443,7 @@ public void createVOIPCallAndMediaStreamingTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -555,7 +555,7 @@ public void createVOIPCallAndTranscriptionTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -661,7 +661,7 @@ public void playMultipleFileSourcesWithPlayMediaTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -757,7 +757,7 @@ public void playMultipleFileSourcesWithPlayMediaAllTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -855,7 +855,7 @@ public void playMultipleTextSourcesWithPlayMediaAllTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -956,7 +956,7 @@ public void playMultipleTextSourcesWithPlayMediaTest(HttpClient httpClient) { assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -1057,7 +1057,7 @@ public void playMultipleCombinedSourcesWithPlayMediaTest(HttpClient httpClient) assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -1158,7 +1158,7 @@ public void playMultipleCombinedSourcesWithPlayMediaAllTest(HttpClient httpClien assertNotNull(callerConnectionId); // wait for the incomingCallContext - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call diff --git a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallRecordingAutomatedLiveTests.java b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallRecordingAutomatedLiveTests.java index 7dd21d7fb41b..7a687cca08d1 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallRecordingAutomatedLiveTests.java +++ b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CallRecordingAutomatedLiveTests.java @@ -77,7 +77,7 @@ public void createACSCallAndUnmixedAudioTest(HttpClient httpClient) { assertNotNull(callConnectionId); // wait for incoming call context - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call @@ -165,7 +165,7 @@ public void createACSCallUnmixedAudioAffinityTest(HttpClient httpClient) { assertNotNull(callConnectionId); // wait for incoming call context - String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(10)); + String incomingCallContext = waitForIncomingCallContext(uniqueId, Duration.ofSeconds(20)); assertNotNull(incomingCallContext); // answer the call diff --git a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CommunicationIdentifierConverterUnitTests.java b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CommunicationIdentifierConverterUnitTests.java index de997594ad53..b212d385293c 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CommunicationIdentifierConverterUnitTests.java +++ b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/CommunicationIdentifierConverterUnitTests.java @@ -11,6 +11,7 @@ import com.azure.communication.callautomation.implementation.models.MicrosoftTeamsAppIdentifierModel; import com.azure.communication.callautomation.implementation.models.MicrosoftTeamsUserIdentifierModel; import com.azure.communication.callautomation.implementation.models.PhoneNumberIdentifierModel; +import com.azure.communication.callautomation.implementation.models.TeamsExtensionUserIdentifierModel; import com.azure.communication.common.*; import org.junit.jupiter.api.Test; @@ -23,6 +24,10 @@ public class CommunicationIdentifierConverterUnitTests extends CallAutomationUni private final String testPhoneNumber = "+12223334444"; private final String testPhoneNumberRawId = "4:+12223334444"; private final String testTeamsUserId = "Microsoft Teams User Id"; + private final String testTeamsExtensionUserId = "TeamsExtensionId"; + private final String testTeamsExtensionResourceId = "ResourceId"; + private final String testTeamsExtensionTenantId = "TenantId"; + private final String testTeamsExtensionRawId = "8:gcch-acs:ResourceId_TenantId_TeamsExtensionId"; @Test public void convertWithoutKindCommunicationUser() { @@ -180,6 +185,191 @@ public void convertWithoutKindPhoneNumberNoPhoneValue() { } } + @Test + public void convertWithoutKindTeamsExtensionUser() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setUserId(testTeamsExtensionUserId) + .setResourceId(testTeamsExtensionResourceId) + .setTenantId(testTeamsExtensionTenantId) + .setCloud(CommunicationCloudEnvironmentModel.GCCH); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setRawId(testTeamsExtensionRawId); + + CommunicationIdentifier got = CommunicationIdentifierConverter.convert(communicationIdentifierModel); + + TeamsExtensionUserIdentifier expected + = new TeamsExtensionUserIdentifier(testTeamsExtensionUserId, testTeamsExtensionTenantId, + testTeamsExtensionResourceId).setCloudEnvironment(CommunicationCloudEnvironment.GCCH) + .setRawId(testTeamsExtensionRawId); + + assertNull(communicationIdentifierModel.getKind()); + System.out.println("got.getRawId(): " + got.getRawId()); + System.out.println("expected.getRawId(): " + expected.getRawId()); + assertEquals(expected, got); + } + + @Test + public void convertWithKindTeamsExtensionUser() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setUserId(testTeamsExtensionUserId) + .setResourceId(testTeamsExtensionResourceId) + .setTenantId(testTeamsExtensionTenantId) + .setCloud(CommunicationCloudEnvironmentModel.GCCH); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setKind(CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER) + .setRawId(testTeamsExtensionRawId); + + CommunicationIdentifier got = CommunicationIdentifierConverter.convert(communicationIdentifierModel); + + TeamsExtensionUserIdentifier expected + = new TeamsExtensionUserIdentifier(testTeamsExtensionUserId, testTeamsExtensionTenantId, + testTeamsExtensionResourceId).setCloudEnvironment(CommunicationCloudEnvironment.GCCH) + .setRawId(testTeamsExtensionRawId); + + assertNotNull(communicationIdentifierModel.getKind()); + assertEquals(CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER, communicationIdentifierModel.getKind()); + assertEquals(expected, got); + } + + @Test + public void convertWithKindTeamsExtensionUserNoUserId() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setResourceId(testTeamsExtensionResourceId) + .setTenantId(testTeamsExtensionTenantId) + .setCloud(CommunicationCloudEnvironmentModel.GCCH); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setKind(CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER) + .setRawId(testTeamsExtensionRawId); + + try { + CommunicationIdentifierConverter.convert(communicationIdentifierModel); + } catch (Exception e) { + assert (e instanceof NullPointerException); + } + } + + @Test + public void convertWithoutKindTeamsExtensionUserNoUserId() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setResourceId(testTeamsExtensionResourceId) + .setTenantId(testTeamsExtensionTenantId) + .setCloud(CommunicationCloudEnvironmentModel.GCCH); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setRawId(testTeamsExtensionRawId); + + try { + CommunicationIdentifierConverter.convert(communicationIdentifierModel); + } catch (Exception e) { + assert (e instanceof NullPointerException); + } + } + + @Test + public void convertWithKindTeamsExtensionUserNoCloudEnv() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setUserId(testTeamsExtensionUserId) + .setResourceId(testTeamsExtensionResourceId) + .setTenantId(testTeamsExtensionTenantId); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setKind(CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER) + .setRawId(testTeamsExtensionRawId); + + try { + CommunicationIdentifierConverter.convert(communicationIdentifierModel); + } catch (Exception e) { + assert (e instanceof NullPointerException); + } + } + + @Test + public void convertWithoutKindTeamsExtensionUserNoCloudEnv() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setUserId(testTeamsExtensionUserId) + .setResourceId(testTeamsExtensionResourceId) + .setTenantId(testTeamsExtensionTenantId); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setRawId(testTeamsExtensionRawId); + + try { + CommunicationIdentifierConverter.convert(communicationIdentifierModel); + } catch (Exception e) { + assert (e instanceof NullPointerException); + } + } + + @Test + public void convertWithKindTeamsExtensionUserNoRawId() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setUserId(testTeamsExtensionUserId) + .setResourceId(testTeamsExtensionResourceId) + .setTenantId(testTeamsExtensionTenantId); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setKind(CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER); + + try { + CommunicationIdentifierConverter.convert(communicationIdentifierModel); + } catch (Exception e) { + assert (e instanceof NullPointerException); + } + } + + @Test + public void convertWithoutKindTeamsExtensionUserNoRawId() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setUserId(testTeamsExtensionUserId) + .setResourceId(testTeamsExtensionResourceId) + .setTenantId(testTeamsExtensionTenantId); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel); + + try { + CommunicationIdentifierConverter.convert(communicationIdentifierModel); + } catch (Exception e) { + assert (e instanceof NullPointerException); + } + } + + @Test + public void convertWithKindTeamsExtensionUserNoResourceId() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setUserId(testTeamsExtensionUserId) + .setTenantId(testTeamsExtensionTenantId); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setKind(CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER) + .setRawId(testPhoneNumberRawId); + + try { + CommunicationIdentifierConverter.convert(communicationIdentifierModel); + } catch (Exception e) { + assert (e instanceof NullPointerException); + } + } + + @Test + public void convertWithKindTeamsExtensionUserNoTenantId() { + TeamsExtensionUserIdentifierModel teamsExtensionUserIdentifierModel + = new TeamsExtensionUserIdentifierModel().setUserId(testTeamsExtensionUserId) + .setResourceId(testTeamsExtensionResourceId); + CommunicationIdentifierModel communicationIdentifierModel + = new CommunicationIdentifierModel().setTeamsExtensionUser(teamsExtensionUserIdentifierModel) + .setKind(CommunicationIdentifierModelKind.TEAMS_EXTENSION_USER) + .setRawId(testPhoneNumberRawId); + + try { + CommunicationIdentifierConverter.convert(communicationIdentifierModel); + } catch (Exception e) { + assert (e instanceof NullPointerException); + } + } + @Test public void convertWithoutKindMicrosoftTeamsUser() { MicrosoftTeamsUserIdentifierModel microsoftTeamsUserIdentifierModel diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallAndStartRecordingWithCallConnectionIdTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallAndStartRecordingWithCallConnectionIdTest.json deleted file mode 100644 index aed370073a1c..000000000000 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallAndStartRecordingWithCallConnectionIdTest.json +++ /dev/null @@ -1 +0,0 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-23T00:39:52.0543927\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:52.1119064\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:57.5448979\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:57.6729964\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:57.7963634\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":7,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:57.9382743\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":8,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:58.0628679\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":9,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:58.204901\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":10,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:58.3310655\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-05-23T00:39:58.5856102\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":11,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:39:58.6944046\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-05-23T00:40:02.8192571\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":12,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:40:04.0525181\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":13,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-23T00:40:04.6595648\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"Call was ended by Azure Communication Service Call Automation API or a server bot. DiagCode: 0#7000.@\"},\"callConnectionId\":\"09002280-f4ad-436e-894e-90deb0d8e8e5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"5ec95845-8d80-434e-9e6e-f83484bca930\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-23T00:40:09.7330509\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002280-f4ad-436e-894e-90deb0d8e8e5\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallAndUnmixedAudioTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallAndUnmixedAudioTest.json index 54e92234d92e..adbed5fd1788 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallAndUnmixedAudioTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallAndUnmixedAudioTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"bc5d7e7b-92f0-43f5-80c5-fe5a35ea40f8\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"bc5d7e7b-92f0-43f5-80c5-fe5a35ea40f8\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:16.5681527\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"bc5d7e7b-92f0-43f5-80c5-fe5a35ea40f8\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:25:16.7573562\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"bc5d7e7b-92f0-43f5-80c5-fe5a35ea40f8\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:21.5656009\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"bc5d7e7b-92f0-43f5-80c5-fe5a35ea40f8\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:21.676686\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"bc5d7e7b-92f0-43f5-80c5-fe5a35ea40f8\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:21.8002998\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"The conversation has ended. DiagCode: 0#7000.@\"},\"callConnectionId\":\"1a006780-0481-4472-a2b1-6d4535fbe7f9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"bc5d7e7b-92f0-43f5-80c5-fe5a35ea40f8\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:25:21.9042843\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0481-4472-a2b1-6d4535fbe7f9\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"d7c27baa-92fd-4f2c-a9b4-65986b7448a0\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-c63d-486a-bc8c-d40f7b319035\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d7c27baa-92fd-4f2c-a9b4-65986b7448a0\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:22.3591772\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-c63d-486a-bc8c-d40f7b319035\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d7c27baa-92fd-4f2c-a9b4-65986b7448a0\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:19:22.5427919\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-c63d-486a-bc8c-d40f7b319035\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d7c27baa-92fd-4f2c-a9b4-65986b7448a0\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:25.8308376\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-c63d-486a-bc8c-d40f7b319035\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d7c27baa-92fd-4f2c-a9b4-65986b7448a0\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:25.9916679\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"Call was ended by Azure Communication Service Call Automation API or a server bot. DiagCode: 0#7000.@\"},\"callConnectionId\":\"64006580-c63d-486a-bc8c-d40f7b319035\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d7c27baa-92fd-4f2c-a9b4-65986b7448a0\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:19:26.0292121\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-c63d-486a-bc8c-d40f7b319035\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallUnmixedAudioAffinityTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallUnmixedAudioAffinityTest.json index e57776a8ff8a..bd96dbdce46c 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallUnmixedAudioAffinityTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createACSCallUnmixedAudioAffinityTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"50ec6af4-c997-47c8-8906-6952b9f4bfd9\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"2f006680-4d6f-4007-a294-7046647ad887\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"50ec6af4-c997-47c8-8906-6952b9f4bfd9\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:29.5616761\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"2f006680-4d6f-4007-a294-7046647ad887\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"50ec6af4-c997-47c8-8906-6952b9f4bfd9\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:25:29.7195029\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"2f006680-4d6f-4007-a294-7046647ad887\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"50ec6af4-c997-47c8-8906-6952b9f4bfd9\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:32.8500256\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"2f006680-4d6f-4007-a294-7046647ad887\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"50ec6af4-c997-47c8-8906-6952b9f4bfd9\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:32.9597252\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"The conversation has ended. DiagCode: 0#7000.@\"},\"callConnectionId\":\"2f006680-4d6f-4007-a294-7046647ad887\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"50ec6af4-c997-47c8-8906-6952b9f4bfd9\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:25:33.0701797\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/2f006680-4d6f-4007-a294-7046647ad887\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"a096272c-16bd-403b-837e-12dca1e887cf\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-fec3-4788-9b37-b91b70e45dbb\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-fec3-4788-9b37-b91b70e45dbb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"a096272c-16bd-403b-837e-12dca1e887cf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:31.3788255\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-fec3-4788-9b37-b91b70e45dbb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-fec3-4788-9b37-b91b70e45dbb\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-fec3-4788-9b37-b91b70e45dbb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"a096272c-16bd-403b-837e-12dca1e887cf\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:19:31.5702426\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-fec3-4788-9b37-b91b70e45dbb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-fec3-4788-9b37-b91b70e45dbb\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-fec3-4788-9b37-b91b70e45dbb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"a096272c-16bd-403b-837e-12dca1e887cf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:35.4597558\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-fec3-4788-9b37-b91b70e45dbb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-fec3-4788-9b37-b91b70e45dbb\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"Call was ended by Azure Communication Service Call Automation API or a server bot. DiagCode: 0#7000.@\"},\"callConnectionId\":\"64006580-fec3-4788-9b37-b91b70e45dbb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"a096272c-16bd-403b-837e-12dca1e887cf\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:19:35.6130735\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-fec3-4788-9b37-b91b70e45dbb\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenAddParticipantFinallyCancelAddParticipant.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenAddParticipantFinallyCancelAddParticipant.json index caaa950532da..d06a626ad087 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenAddParticipantFinallyCancelAddParticipant.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenAddParticipantFinallyCancelAddParticipant.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"acbc8456-d4fe-4557-9199-37755d53029c\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-643f-48eb-a90e-e4fb30c72b99\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-643f-48eb-a90e-e4fb30c72b99\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"acbc8456-d4fe-4557-9199-37755d53029c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:14.4369087\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-643f-48eb-a90e-e4fb30c72b99\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-ccea-44cb-983f-62d1f15a3bf5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-ccea-44cb-983f-62d1f15a3bf5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"acbc8456-d4fe-4557-9199-37755d53029c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:14.4369087\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-ccea-44cb-983f-62d1f15a3bf5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-643f-48eb-a90e-e4fb30c72b99\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-643f-48eb-a90e-e4fb30c72b99\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"acbc8456-d4fe-4557-9199-37755d53029c\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:22:14.5945456\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-643f-48eb-a90e-e4fb30c72b99\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-ccea-44cb-983f-62d1f15a3bf5\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-ccea-44cb-983f-62d1f15a3bf5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"acbc8456-d4fe-4557-9199-37755d53029c\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:22:14.5469616\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-ccea-44cb-983f-62d1f15a3bf5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-643f-48eb-a90e-e4fb30c72b99\",\"type\":\"Microsoft.Communication.CancelAddParticipantSucceeded\",\"data\":{\"invitationId\":\"23ecbf4d-2600-4c4f-9781-adfa0d14dc6a\",\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":5300,\"message\":\"addParticipants failed for participant 8:acs:6d889502-3d7a-41a8-befa-d21fd80e8767_00000027-98e5-dac3-e84c-09bd456046cc. Underlying reason: The conversation has ended. DiagCode: 0#5300.@\"},\"callConnectionId\":\"1a006780-643f-48eb-a90e-e4fb30c72b99\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"acbc8456-d4fe-4557-9199-37755d53029c\",\"publicEventType\":\"Microsoft.Communication.CancelAddParticipantSucceeded\"},\"time\":\"2025-05-22T17:22:18.5696007\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-643f-48eb-a90e-e4fb30c72b99\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"85e0530d-73ef-4534-845a-329942d9b7b5\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-0abd-4d7b-8f3b-0d933a3cc13d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-0abd-4d7b-8f3b-0d933a3cc13d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"85e0530d-73ef-4534-845a-329942d9b7b5\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:41.4383982\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-0abd-4d7b-8f3b-0d933a3cc13d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-76be-49d4-8a24-12898a8b3485\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-76be-49d4-8a24-12898a8b3485\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"85e0530d-73ef-4534-845a-329942d9b7b5\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:41.4285248\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-76be-49d4-8a24-12898a8b3485\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-0abd-4d7b-8f3b-0d933a3cc13d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-0abd-4d7b-8f3b-0d933a3cc13d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"85e0530d-73ef-4534-845a-329942d9b7b5\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:41.6365406\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-0abd-4d7b-8f3b-0d933a3cc13d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-76be-49d4-8a24-12898a8b3485\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-76be-49d4-8a24-12898a8b3485\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"85e0530d-73ef-4534-845a-329942d9b7b5\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:41.5707658\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-76be-49d4-8a24-12898a8b3485\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-0abd-4d7b-8f3b-0d933a3cc13d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-0abd-4d7b-8f3b-0d933a3cc13d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"85e0530d-73ef-4534-845a-329942d9b7b5\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:43.1410872\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-0abd-4d7b-8f3b-0d933a3cc13d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-76be-49d4-8a24-12898a8b3485\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-76be-49d4-8a24-12898a8b3485\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"85e0530d-73ef-4534-845a-329942d9b7b5\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:43.1410933\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-76be-49d4-8a24-12898a8b3485\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-0abd-4d7b-8f3b-0d933a3cc13d\",\"type\":\"Microsoft.Communication.CancelAddParticipantSucceeded\",\"data\":{\"invitationId\":\"8737c343-bc96-4b06-b9da-9e647edc7690\",\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":487,\"subCode\":5234,\"message\":\"addParticipants failed for participant 8:acs:6d889502-3d7a-41a8-befa-d21fd80e8767_00000028-9c16-4553-2047-04bd45609f2a. Underlying reason: The Call Has Been Cancelled. DiagCode: 487#5234.@\"},\"callConnectionId\":\"64006580-0abd-4d7b-8f3b-0d933a3cc13d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"85e0530d-73ef-4534-845a-329942d9b7b5\",\"publicEventType\":\"Microsoft.Communication.CancelAddParticipantSucceeded\"},\"time\":\"2025-07-12T01:16:45.2254194\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-0abd-4d7b-8f3b-0d933a3cc13d\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenAddParticipantFinallyRemoveParticipantAutomatedTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenAddParticipantFinallyRemoveParticipantAutomatedTest.json index f555d81c2368..65762f804300 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenAddParticipantFinallyRemoveParticipantAutomatedTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenAddParticipantFinallyRemoveParticipantAutomatedTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:21:58.0673723\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-575b-4fad-af5c-30ab69bddd5f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:21:58.0673723\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-575b-4fad-af5c-30ab69bddd5f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:21:58.1421928\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:21:58.1344471\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-9906-4039-afd3-7f1360f9c66f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:22:01.2778968\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-9906-4039-afd3-7f1360f9c66f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.5607977\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.AddParticipantSucceeded\",\"data\":{\"participant\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.AddParticipantSucceeded\"},\"time\":\"2025-05-22T17:22:01.5311025\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-9906-4039-afd3-7f1360f9c66f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.6714178\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.5311025\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":7,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-9906-4039-afd3-7f1360f9c66f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.7982562\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-575b-4fad-af5c-30ab69bddd5f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.5311025\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":8,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-9906-4039-afd3-7f1360f9c66f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.9420351\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.7184212\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":9,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-9906-4039-afd3-7f1360f9c66f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.0758266\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-575b-4fad-af5c-30ab69bddd5f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.7340451\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":10,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-9906-4039-afd3-7f1360f9c66f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.195284\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-575b-4fad-af5c-30ab69bddd5f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.8768147\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":11,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-9906-4039-afd3-7f1360f9c66f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.3267703\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-9906-4039-afd3-7f1360f9c66f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:01.908572\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":7,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.066685\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":8,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-575b-4fad-af5c-30ab69bddd5f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.0752697\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":8,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.2077462\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":5300,\"message\":\"The conversation has ended. DiagCode: 0#5300.@\"},\"callConnectionId\":\"1a006780-575b-4fad-af5c-30ab69bddd5f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:22:02.1929357\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-575b-4fad-af5c-30ab69bddd5f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.RemoveParticipantSucceeded\",\"data\":{\"participant\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.RemoveParticipantSucceeded\"},\"time\":\"2025-05-22T17:22:02.1947021\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":9,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.4048331\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":10,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.5823711\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":11,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-35c8-4991-b962-d46cef4d77e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f7856863-d80c-4ed7-90c3-83cd125a67bf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:02.6901131\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-35c8-4991-b962-d46cef4d77e3\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-22d3-4c7f-bc71-9bdd2452f223\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:31.4134703\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:31.4250674\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-22d3-4c7f-bc71-9bdd2452f223\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:31.6220647\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:31.6662906\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"customContext\":{\"sipHeaders\":{},\"voipHeaders\":{}},\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:34.6139411\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.AddParticipantSucceeded\",\"data\":{\"participant\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.AddParticipantSucceeded\"},\"time\":\"2025-07-12T01:16:34.8650581\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:34.9007002\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:34.8640027\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-22d3-4c7f-bc71-9bdd2452f223\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:34.887744\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":9,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.0495771\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":8,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.0538904\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-22d3-4c7f-bc71-9bdd2452f223\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.0515041\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":5000,\"message\":\"Call ended for this participant as it was removed from the conversation by another participant. DiagCode: 0#5000.@\"},\"callConnectionId\":\"64006580-22d3-4c7f-bc71-9bdd2452f223\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:16:35.4445955\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-22d3-4c7f-bc71-9bdd2452f223\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":9,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.5731965\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.RemoveParticipantSucceeded\",\"data\":{\"participant\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.RemoveParticipantSucceeded\"},\"time\":\"2025-07-12T01:16:35.4366752\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":9,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.8688651\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":9,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.5697783\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":10,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.7880271\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":9,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.9913906\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":10,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:35.9323899\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":10,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:36.2304967\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":10,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:36.1351813\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":11,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:36.3686606\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":10,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:36.2832486\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":11,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-87ba-4fcf-a30f-d8eab9a8e6ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:36.4178711\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-87ba-4fcf-a30f-d8eab9a8e6ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":12,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5ce3-4819-9a1f-4ef5b01597c9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"d8e41279-6296-4fda-a725-a367c115773c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:36.4936612\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5ce3-4819-9a1f-4ef5b01597c9\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenHangupAutomatedTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenHangupAutomatedTest.json index 20e95b1bf545..434758c8f82b 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenHangupAutomatedTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerThenHangupAutomatedTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"81b1be24-ec48-4d2e-93d7-8b5df3e1d777\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-3b9b-43a1-833a-3618ae420493\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-3b9b-43a1-833a-3618ae420493\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"81b1be24-ec48-4d2e-93d7-8b5df3e1d777\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:21:46.7892968\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-3b9b-43a1-833a-3618ae420493\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-681b-42d0-a76d-cb32307cb2a1\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-681b-42d0-a76d-cb32307cb2a1\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"81b1be24-ec48-4d2e-93d7-8b5df3e1d777\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:21:46.7887376\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-681b-42d0-a76d-cb32307cb2a1\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-681b-42d0-a76d-cb32307cb2a1\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-681b-42d0-a76d-cb32307cb2a1\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"81b1be24-ec48-4d2e-93d7-8b5df3e1d777\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:21:46.9184727\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-681b-42d0-a76d-cb32307cb2a1\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-3b9b-43a1-833a-3618ae420493\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-3b9b-43a1-833a-3618ae420493\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"81b1be24-ec48-4d2e-93d7-8b5df3e1d777\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:21:46.9316196\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-3b9b-43a1-833a-3618ae420493\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-681b-42d0-a76d-cb32307cb2a1\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"The conversation has ended. DiagCode: 0#7000.@\"},\"callConnectionId\":\"1a006780-681b-42d0-a76d-cb32307cb2a1\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"81b1be24-ec48-4d2e-93d7-8b5df3e1d777\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:21:47.6211831\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-681b-42d0-a76d-cb32307cb2a1\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-3b9b-43a1-833a-3618ae420493\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"The conversation has ended. DiagCode: 0#7000.@\"},\"callConnectionId\":\"1a006780-3b9b-43a1-833a-3618ae420493\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"81b1be24-ec48-4d2e-93d7-8b5df3e1d777\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:21:47.6368322\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-3b9b-43a1-833a-3618ae420493\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"c0a3187c-a9e3-4df2-9ef0-a8c33b6c3654\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ee5b-4c3b-ac55-9273c258f84f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-ee5b-4c3b-ac55-9273c258f84f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c0a3187c-a9e3-4df2-9ef0-a8c33b6c3654\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:11.4166746\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ee5b-4c3b-ac55-9273c258f84f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ed75-41f8-aebf-29f0506532ff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-ed75-41f8-aebf-29f0506532ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c0a3187c-a9e3-4df2-9ef0-a8c33b6c3654\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:11.4165253\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ed75-41f8-aebf-29f0506532ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ed75-41f8-aebf-29f0506532ff\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-ed75-41f8-aebf-29f0506532ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c0a3187c-a9e3-4df2-9ef0-a8c33b6c3654\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:11.5547191\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ed75-41f8-aebf-29f0506532ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ee5b-4c3b-ac55-9273c258f84f\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-ee5b-4c3b-ac55-9273c258f84f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c0a3187c-a9e3-4df2-9ef0-a8c33b6c3654\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:11.6686263\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ee5b-4c3b-ac55-9273c258f84f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ed75-41f8-aebf-29f0506532ff\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"Call was ended by Azure Communication Service Call Automation API or a server bot. DiagCode: 0#7000.@\"},\"callConnectionId\":\"64006580-ed75-41f8-aebf-29f0506532ff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c0a3187c-a9e3-4df2-9ef0-a8c33b6c3654\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:16:12.1636367\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ed75-41f8-aebf-29f0506532ff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ee5b-4c3b-ac55-9273c258f84f\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":5002,\"message\":\"The conversation has ended. DiagCode: 0#5002.@\"},\"callConnectionId\":\"64006580-ee5b-4c3b-ac55-9273c258f84f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c0a3187c-a9e3-4df2-9ef0-a8c33b6c3654\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:16:12.1710275\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ee5b-4c3b-ac55-9273c258f84f\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerWithCustomContextThenHangupAutomatedTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerWithCustomContextThenHangupAutomatedTest.json deleted file mode 100644 index 6d17f61fb962..000000000000 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndAnswerWithCustomContextThenHangupAutomatedTest.json +++ /dev/null @@ -1 +0,0 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"3af097bb-6e5a-46e4-b0d8-5f4aef0f0fa6\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-f8dc-4d66-906c-89d2f86b3e2d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-f8dc-4d66-906c-89d2f86b3e2d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3af097bb-6e5a-46e4-b0d8-5f4aef0f0fa6\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:06:21.5519281\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-f8dc-4d66-906c-89d2f86b3e2d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-f8dc-4d66-906c-89d2f86b3e2d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"09002680-f8dc-4d66-906c-89d2f86b3e2d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3af097bb-6e5a-46e4-b0d8-5f4aef0f0fa6\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-03-05T05:06:21.5438438\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-f8dc-4d66-906c-89d2f86b3e2d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-0758-4c57-938b-ff47d6ed04ef\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"09002680-0758-4c57-938b-ff47d6ed04ef\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3af097bb-6e5a-46e4-b0d8-5f4aef0f0fa6\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-03-05T05:06:21.6290238\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-0758-4c57-938b-ff47d6ed04ef\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-0758-4c57-938b-ff47d6ed04ef\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-0758-4c57-938b-ff47d6ed04ef\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3af097bb-6e5a-46e4-b0d8-5f4aef0f0fa6\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:06:21.5610094\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-0758-4c57-938b-ff47d6ed04ef\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-f8dc-4d66-906c-89d2f86b3e2d\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"The conversation has ended. DiagCode: 0#7000.@\"},\"callConnectionId\":\"09002680-f8dc-4d66-906c-89d2f86b3e2d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3af097bb-6e5a-46e4-b0d8-5f4aef0f0fa6\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-03-05T05:06:24.3763374\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-f8dc-4d66-906c-89d2f86b3e2d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-0758-4c57-938b-ff47d6ed04ef\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":5001,\"message\":\"This conversation has ended.. DiagCode: 0#5001.@\"},\"callConnectionId\":\"09002680-0758-4c57-938b-ff47d6ed04ef\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3af097bb-6e5a-46e4-b0d8-5f4aef0f0fa6\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-03-05T05:06:24.522503\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-0758-4c57-938b-ff47d6ed04ef\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndConnectCallTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndConnectCallTest.json index d2a78ce6af07..9371eeefda85 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndConnectCallTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndConnectCallTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-1ff1-4762-9717-38be00d277a3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-1ff1-4762-9717-38be00d277a3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:21:31.7195783\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-1ff1-4762-9717-38be00d277a3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-11da-4e8e-a87f-a96441328e49\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-11da-4e8e-a87f-a96441328e49\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:21:31.7195783\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-11da-4e8e-a87f-a96441328e49\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-11da-4e8e-a87f-a96441328e49\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-11da-4e8e-a87f-a96441328e49\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:21:31.8613887\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-11da-4e8e-a87f-a96441328e49\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-1ff1-4762-9717-38be00d277a3\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-1ff1-4762-9717-38be00d277a3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:21:31.8613887\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-1ff1-4762-9717-38be00d277a3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-bdd7-4846-b43f-1f068a9141e7\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-bdd7-4846-b43f-1f068a9141e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:21:34.0509772\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-bdd7-4846-b43f-1f068a9141e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-bdd7-4846-b43f-1f068a9141e7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":2,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-bdd7-4846-b43f-1f068a9141e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:21:34.048607\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-bdd7-4846-b43f-1f068a9141e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-bdd7-4846-b43f-1f068a9141e7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-bdd7-4846-b43f-1f068a9141e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:21:34.206797\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-bdd7-4846-b43f-1f068a9141e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-bdd7-4846-b43f-1f068a9141e7\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"The conversation has ended. DiagCode: 0#7000.@\"},\"callConnectionId\":\"1a006780-bdd7-4846-b43f-1f068a9141e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:21:34.705931\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-bdd7-4846-b43f-1f068a9141e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-11da-4e8e-a87f-a96441328e49\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":5001,\"message\":\"This conversation has ended.. DiagCode: 0#5001.@\"},\"callConnectionId\":\"1a006780-11da-4e8e-a87f-a96441328e49\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:21:34.719968\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-11da-4e8e-a87f-a96441328e49\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-1ff1-4762-9717-38be00d277a3\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":5001,\"message\":\"This conversation has ended.. DiagCode: 0#5001.@\"},\"callConnectionId\":\"1a006780-1ff1-4762-9717-38be00d277a3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"00374108-763d-43af-bb9b-4ef4faf15504\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:21:34.7739593\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-1ff1-4762-9717-38be00d277a3\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-09d0-46f2-a970-c42f9a06dde5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-09d0-46f2-a970-c42f9a06dde5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:02.067432\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-09d0-46f2-a970-c42f9a06dde5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-54b8-4469-b6b9-08008bd9f407\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-54b8-4469-b6b9-08008bd9f407\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:02.0680764\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-54b8-4469-b6b9-08008bd9f407\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-54b8-4469-b6b9-08008bd9f407\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-54b8-4469-b6b9-08008bd9f407\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:02.2468524\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-54b8-4469-b6b9-08008bd9f407\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-09d0-46f2-a970-c42f9a06dde5\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-09d0-46f2-a970-c42f9a06dde5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:02.1853521\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-09d0-46f2-a970-c42f9a06dde5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ad93-4872-9eb7-2759667b0151\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":2,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-ad93-4872-9eb7-2759667b0151\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:05.4994801\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ad93-4872-9eb7-2759667b0151\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ad93-4872-9eb7-2759667b0151\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-ad93-4872-9eb7-2759667b0151\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:05.5020624\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ad93-4872-9eb7-2759667b0151\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ad93-4872-9eb7-2759667b0151\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-ad93-4872-9eb7-2759667b0151\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:05.6999341\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ad93-4872-9eb7-2759667b0151\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-54b8-4469-b6b9-08008bd9f407\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":5001,\"message\":\"This conversation has ended.. DiagCode: 0#5001.@\"},\"callConnectionId\":\"64006580-54b8-4469-b6b9-08008bd9f407\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:16:05.8656957\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-54b8-4469-b6b9-08008bd9f407\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-09d0-46f2-a970-c42f9a06dde5\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":5001,\"message\":\"This conversation has ended.. DiagCode: 0#5001.@\"},\"callConnectionId\":\"64006580-09d0-46f2-a970-c42f9a06dde5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:16:05.8582483\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-09d0-46f2-a970-c42f9a06dde5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ad93-4872-9eb7-2759667b0151\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"Call was ended by Azure Communication Service Call Automation API or a server bot. DiagCode: 0#7000.@\"},\"callConnectionId\":\"64006580-ad93-4872-9eb7-2759667b0151\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"113a4353-86b4-4b45-a908-89003ae91e39\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:16:05.8526295\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ad93-4872-9eb7-2759667b0151\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndMediaStreamingTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndMediaStreamingTest.json index 432fbda6ad4e..250b63a22933 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndMediaStreamingTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndMediaStreamingTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"f6c9ed04-25db-4738-b9c7-5b40c6fc8949\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-3d0c-447a-aa4f-60ba0bda8a9f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-3d0c-447a-aa4f-60ba0bda8a9f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f6c9ed04-25db-4738-b9c7-5b40c6fc8949\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:35.1961983\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-3d0c-447a-aa4f-60ba0bda8a9f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-aeb9-4dd7-a2af-4b194826995f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-aeb9-4dd7-a2af-4b194826995f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f6c9ed04-25db-4738-b9c7-5b40c6fc8949\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:35.1961983\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-aeb9-4dd7-a2af-4b194826995f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-aeb9-4dd7-a2af-4b194826995f\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-aeb9-4dd7-a2af-4b194826995f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f6c9ed04-25db-4738-b9c7-5b40c6fc8949\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:24:35.4315714\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-aeb9-4dd7-a2af-4b194826995f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-3d0c-447a-aa4f-60ba0bda8a9f\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-3d0c-447a-aa4f-60ba0bda8a9f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f6c9ed04-25db-4738-b9c7-5b40c6fc8949\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:24:35.4835173\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-3d0c-447a-aa4f-60ba0bda8a9f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-3d0c-447a-aa4f-60ba0bda8a9f\",\"type\":\"Microsoft.Communication.MediaStreamingStarted\",\"data\":{\"mediaStreamingUpdate\":{\"contentType\":\"Audio\",\"mediaStreamingStatus\":\"mediaStreamingStarted\",\"mediaStreamingStatusDetails\":\"subscriptionStarted\"},\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-3d0c-447a-aa4f-60ba0bda8a9f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f6c9ed04-25db-4738-b9c7-5b40c6fc8949\",\"publicEventType\":\"Microsoft.Communication.MediaStreamingStarted\"},\"time\":\"2025-05-22T17:24:36.3165714\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-3d0c-447a-aa4f-60ba0bda8a9f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-3d0c-447a-aa4f-60ba0bda8a9f\",\"type\":\"Microsoft.Communication.MediaStreamingStopped\",\"data\":{\"mediaStreamingUpdate\":{\"contentType\":\"Audio\",\"mediaStreamingStatus\":\"mediaStreamingStopped\",\"mediaStreamingStatusDetails\":\"subscriptionStopped\"},\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-3d0c-447a-aa4f-60ba0bda8a9f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"f6c9ed04-25db-4738-b9c7-5b40c6fc8949\",\"publicEventType\":\"Microsoft.Communication.MediaStreamingStopped\"},\"time\":\"2025-05-22T17:24:37.430735\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-3d0c-447a-aa4f-60ba0bda8a9f\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"c3d17bbd-ba31-4df1-a187-90c62a686343\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-1cec-4ff9-b939-99521ca28a57\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-1cec-4ff9-b939-99521ca28a57\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c3d17bbd-ba31-4df1-a187-90c62a686343\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:47.007516\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-1cec-4ff9-b939-99521ca28a57\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-08df-4b92-a256-1aada5c718a7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-08df-4b92-a256-1aada5c718a7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c3d17bbd-ba31-4df1-a187-90c62a686343\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:47.0127805\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-08df-4b92-a256-1aada5c718a7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-08df-4b92-a256-1aada5c718a7\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-08df-4b92-a256-1aada5c718a7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c3d17bbd-ba31-4df1-a187-90c62a686343\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:47.0731802\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-08df-4b92-a256-1aada5c718a7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-1cec-4ff9-b939-99521ca28a57\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-1cec-4ff9-b939-99521ca28a57\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c3d17bbd-ba31-4df1-a187-90c62a686343\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:47.0891256\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-1cec-4ff9-b939-99521ca28a57\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-1cec-4ff9-b939-99521ca28a57\",\"type\":\"Microsoft.Communication.MediaStreamingStarted\",\"data\":{\"mediaStreamingUpdate\":{\"contentType\":\"Audio\",\"mediaStreamingStatus\":\"mediaStreamingStarted\",\"mediaStreamingStatusDetails\":\"subscriptionStarted\"},\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-1cec-4ff9-b939-99521ca28a57\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c3d17bbd-ba31-4df1-a187-90c62a686343\",\"publicEventType\":\"Microsoft.Communication.MediaStreamingStarted\"},\"time\":\"2025-07-12T01:18:48.2388767\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-1cec-4ff9-b939-99521ca28a57\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-1cec-4ff9-b939-99521ca28a57\",\"type\":\"Microsoft.Communication.MediaStreamingStopped\",\"data\":{\"mediaStreamingUpdate\":{\"contentType\":\"Audio\",\"mediaStreamingStatus\":\"mediaStreamingStopped\",\"mediaStreamingStatusDetails\":\"subscriptionStopped\"},\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-1cec-4ff9-b939-99521ca28a57\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c3d17bbd-ba31-4df1-a187-90c62a686343\",\"publicEventType\":\"Microsoft.Communication.MediaStreamingStopped\"},\"time\":\"2025-07-12T01:18:49.3867752\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-1cec-4ff9-b939-99521ca28a57\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndRejectAutomatedTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndRejectAutomatedTest.json index c57a21df5c1c..5a35018892d6 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndRejectAutomatedTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndRejectAutomatedTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"af5b1dd8-13ec-4463-93e2-bce0837ffa1e\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-7c22-45f7-9657-d45124ee0175\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":603,\"subCode\":0,\"message\":\"Decline. DiagCode: 603#0.@\"},\"callConnectionId\":\"1a006780-7c22-45f7-9657-d45124ee0175\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"af5b1dd8-13ec-4463-93e2-bce0837ffa1e\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-05-22T17:21:21.6106687\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-7c22-45f7-9657-d45124ee0175\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-7c22-45f7-9657-d45124ee0175\",\"type\":\"Microsoft.Communication.CreateCallFailed\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":603,\"subCode\":0,\"message\":\"Decline. DiagCode: 603#0.@\"},\"callConnectionId\":\"1a006780-7c22-45f7-9657-d45124ee0175\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"af5b1dd8-13ec-4463-93e2-bce0837ffa1e\",\"publicEventType\":\"Microsoft.Communication.CreateCallFailed\"},\"time\":\"2025-05-22T17:21:21.6106687\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-7c22-45f7-9657-d45124ee0175\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"fe2cf666-5c63-4d36-bce6-e4d080b1ae9b\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/37006680-d316-4575-bc7f-acef003295bf\",\"type\":\"Microsoft.Communication.CallDisconnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":603,\"subCode\":0,\"message\":\"Call ended successfully as it was declined from callee. DiagCode: 603#0.@\"},\"callConnectionId\":\"37006680-d316-4575-bc7f-acef003295bf\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"fe2cf666-5c63-4d36-bce6-e4d080b1ae9b\",\"publicEventType\":\"Microsoft.Communication.CallDisconnected\"},\"time\":\"2025-07-12T01:15:55.2421282\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/37006680-d316-4575-bc7f-acef003295bf\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/37006680-d316-4575-bc7f-acef003295bf\",\"type\":\"Microsoft.Communication.CreateCallFailed\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":603,\"subCode\":0,\"message\":\"Call ended successfully as it was declined from callee. DiagCode: 603#0.@\"},\"callConnectionId\":\"37006680-d316-4575-bc7f-acef003295bf\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"fe2cf666-5c63-4d36-bce6-e4d080b1ae9b\",\"publicEventType\":\"Microsoft.Communication.CreateCallFailed\"},\"time\":\"2025-07-12T01:15:55.2410355\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/37006680-d316-4575-bc7f-acef003295bf\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndTranscriptionTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndTranscriptionTest.json index 5f19a3edf789..4982c854f085 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndTranscriptionTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/createVOIPCallAndTranscriptionTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"53242855-b640-472f-8821-ef29bc8112ad\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-2f32-4a23-8a56-3a6719bfdbbb\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-2f32-4a23-8a56-3a6719bfdbbb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"53242855-b640-472f-8821-ef29bc8112ad\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:05.0799718\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-2f32-4a23-8a56-3a6719bfdbbb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-fcf9-444a-9ad7-c3de845c0517\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-fcf9-444a-9ad7-c3de845c0517\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"53242855-b640-472f-8821-ef29bc8112ad\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:25:05.0799718\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-fcf9-444a-9ad7-c3de845c0517\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-fcf9-444a-9ad7-c3de845c0517\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-fcf9-444a-9ad7-c3de845c0517\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"53242855-b640-472f-8821-ef29bc8112ad\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:25:05.1960476\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-fcf9-444a-9ad7-c3de845c0517\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-2f32-4a23-8a56-3a6719bfdbbb\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-2f32-4a23-8a56-3a6719bfdbbb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"53242855-b640-472f-8821-ef29bc8112ad\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:25:05.2050724\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-2f32-4a23-8a56-3a6719bfdbbb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-2f32-4a23-8a56-3a6719bfdbbb\",\"type\":\"Microsoft.Communication.TranscriptionStarted\",\"data\":{\"transcriptionUpdate\":{\"transcriptionStatus\":\"transcriptionStarted\",\"transcriptionStatusDetails\":\"subscriptionStarted\"},\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-2f32-4a23-8a56-3a6719bfdbbb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"53242855-b640-472f-8821-ef29bc8112ad\",\"publicEventType\":\"Microsoft.Communication.TranscriptionStarted\"},\"time\":\"2025-05-22T17:25:06.0517101\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-2f32-4a23-8a56-3a6719bfdbbb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-2f32-4a23-8a56-3a6719bfdbbb\",\"type\":\"Microsoft.Communication.TranscriptionStopped\",\"data\":{\"transcriptionUpdate\":{\"transcriptionStatus\":\"transcriptionStopped\",\"transcriptionStatusDetails\":\"subscriptionStopped\"},\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-2f32-4a23-8a56-3a6719bfdbbb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"53242855-b640-472f-8821-ef29bc8112ad\",\"publicEventType\":\"Microsoft.Communication.TranscriptionStopped\"},\"time\":\"2025-05-22T17:25:09.2506455\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-2f32-4a23-8a56-3a6719bfdbbb\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"3ffe4251-c46c-466b-9267-c83fe35aa564\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3d6c-4aea-a951-7ae7433a325d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-3d6c-4aea-a951-7ae7433a325d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3ffe4251-c46c-466b-9267-c83fe35aa564\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:10.8855592\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3d6c-4aea-a951-7ae7433a325d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-b231-4183-8188-63199402bcc9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-b231-4183-8188-63199402bcc9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3ffe4251-c46c-466b-9267-c83fe35aa564\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:10.8988752\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-b231-4183-8188-63199402bcc9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-b231-4183-8188-63199402bcc9\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-b231-4183-8188-63199402bcc9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3ffe4251-c46c-466b-9267-c83fe35aa564\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:19:10.9627385\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-b231-4183-8188-63199402bcc9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3d6c-4aea-a951-7ae7433a325d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-3d6c-4aea-a951-7ae7433a325d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3ffe4251-c46c-466b-9267-c83fe35aa564\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:19:10.9992453\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3d6c-4aea-a951-7ae7433a325d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3d6c-4aea-a951-7ae7433a325d\",\"type\":\"Microsoft.Communication.TranscriptionStarted\",\"data\":{\"transcriptionUpdate\":{\"transcriptionStatus\":\"transcriptionStarted\",\"transcriptionStatusDetails\":\"subscriptionStarted\"},\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-3d6c-4aea-a951-7ae7433a325d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3ffe4251-c46c-466b-9267-c83fe35aa564\",\"publicEventType\":\"Microsoft.Communication.TranscriptionStarted\"},\"time\":\"2025-07-12T01:19:11.8489989\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3d6c-4aea-a951-7ae7433a325d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3d6c-4aea-a951-7ae7433a325d\",\"type\":\"Microsoft.Communication.TranscriptionStopped\",\"data\":{\"transcriptionUpdate\":{\"transcriptionStatus\":\"transcriptionStopped\",\"transcriptionStatusDetails\":\"subscriptionStopped\"},\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-3d6c-4aea-a951-7ae7433a325d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3ffe4251-c46c-466b-9267-c83fe35aa564\",\"publicEventType\":\"Microsoft.Communication.TranscriptionStopped\"},\"time\":\"2025-07-12T01:19:14.777186\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3d6c-4aea-a951-7ae7433a325d\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/dtmfActionsInACallAutomatedTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/dtmfActionsInACallAutomatedTest.json index a1eea111b989..94c61e203efd 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/dtmfActionsInACallAutomatedTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/dtmfActionsInACallAutomatedTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"phoneNumber\",\"rawId\":\"REDACTED\",\"phoneNumber\":{\"value\":\"REDACTED\"}},\"from\":{\"kind\":\"phoneNumber\",\"rawId\":\"REDACTED\",\"phoneNumber\":{\"value\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"8d8154c9-9280-41f4-80f3-97acbd91f176\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-75c1-4479-bec7-54f64e165a83\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-75c1-4479-bec7-54f64e165a83\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8d8154c9-9280-41f4-80f3-97acbd91f176\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:23:21.3976351\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-75c1-4479-bec7-54f64e165a83\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-75c1-4479-bec7-54f64e165a83\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"phoneNumber\",\"phoneNumber\":{\"value\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-75c1-4479-bec7-54f64e165a83\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8d8154c9-9280-41f4-80f3-97acbd91f176\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:21.4126607\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-75c1-4479-bec7-54f64e165a83\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d0cb-48d9-ab5d-fefef2a28597\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"phoneNumber\",\"phoneNumber\":{\"value\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-d0cb-48d9-ab5d-fefef2a28597\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"07d143ba-2a1d-4f27-93ab-aff299f9be6c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:21.5432597\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d0cb-48d9-ab5d-fefef2a28597\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d0cb-48d9-ab5d-fefef2a28597\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-d0cb-48d9-ab5d-fefef2a28597\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"07d143ba-2a1d-4f27-93ab-aff299f9be6c\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:23:21.5553356\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d0cb-48d9-ab5d-fefef2a28597\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d0cb-48d9-ab5d-fefef2a28597\",\"type\":\"Microsoft.Communication.SendDtmfTonesCompleted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-d0cb-48d9-ab5d-fefef2a28597\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"07d143ba-2a1d-4f27-93ab-aff299f9be6c\",\"publicEventType\":\"Microsoft.Communication.SendDtmfTonesCompleted\"},\"time\":\"2025-05-22T17:23:25.244702\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d0cb-48d9-ab5d-fefef2a28597\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d0cb-48d9-ab5d-fefef2a28597\",\"type\":\"Microsoft.Communication.ContinuousDtmfRecognitionStopped\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"The conversation has ended. DiagCode: 0#7000.@\"},\"callConnectionId\":\"1a006780-d0cb-48d9-ab5d-fefef2a28597\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"07d143ba-2a1d-4f27-93ab-aff299f9be6c\",\"publicEventType\":\"Microsoft.Communication.ContinuousDtmfRecognitionStopped\"},\"time\":\"2025-05-22T17:23:25.797572\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d0cb-48d9-ab5d-fefef2a28597\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"phoneNumber\",\"rawId\":\"REDACTED\",\"phoneNumber\":{\"value\":\"REDACTED\"}},\"from\":{\"kind\":\"phoneNumber\",\"rawId\":\"REDACTED\",\"phoneNumber\":{\"value\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"b8c85614-7930-4f83-b54f-89dbfe241fe9\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5bcb-4a48-a5c3-8b8bec4d087d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"phoneNumber\",\"phoneNumber\":{\"value\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-5bcb-4a48-a5c3-8b8bec4d087d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"4755dff3-51a5-4740-bb4d-a09095c528c2\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:40.6940828\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5bcb-4a48-a5c3-8b8bec4d087d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ffbb-4a9d-8a50-723bad072e8d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-ffbb-4a9d-8a50-723bad072e8d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b8c85614-7930-4f83-b54f-89dbfe241fe9\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:17:40.7224761\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ffbb-4a9d-8a50-723bad072e8d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5bcb-4a48-a5c3-8b8bec4d087d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-5bcb-4a48-a5c3-8b8bec4d087d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"4755dff3-51a5-4740-bb4d-a09095c528c2\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:17:40.7595585\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5bcb-4a48-a5c3-8b8bec4d087d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-ffbb-4a9d-8a50-723bad072e8d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"phoneNumber\",\"phoneNumber\":{\"value\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-ffbb-4a9d-8a50-723bad072e8d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b8c85614-7930-4f83-b54f-89dbfe241fe9\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:40.9407492\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-ffbb-4a9d-8a50-723bad072e8d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5bcb-4a48-a5c3-8b8bec4d087d\",\"type\":\"Microsoft.Communication.SendDtmfTonesCompleted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-5bcb-4a48-a5c3-8b8bec4d087d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"4755dff3-51a5-4740-bb4d-a09095c528c2\",\"publicEventType\":\"Microsoft.Communication.SendDtmfTonesCompleted\"},\"time\":\"2025-07-12T01:17:46.2056222\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5bcb-4a48-a5c3-8b8bec4d087d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-5bcb-4a48-a5c3-8b8bec4d087d\",\"type\":\"Microsoft.Communication.ContinuousDtmfRecognitionStopped\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":7000,\"message\":\"The conversation has ended. DiagCode: 0#7000.@\"},\"callConnectionId\":\"64006580-5bcb-4a48-a5c3-8b8bec4d087d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"4755dff3-51a5-4740-bb4d-a09095c528c2\",\"publicEventType\":\"Microsoft.Communication.ContinuousDtmfRecognitionStopped\"},\"time\":\"2025-07-12T01:17:46.7014157\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-5bcb-4a48-a5c3-8b8bec4d087d\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/holdUnholdParticipantInACallTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/holdUnholdParticipantInACallTest.json index a4d86dd8de2e..ac2cb21bec0f 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/holdUnholdParticipantInACallTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/holdUnholdParticipantInACallTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-f752-482f-bf95-d14be6abdaa7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-f752-482f-bf95-d14be6abdaa7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:45.0698202\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-f752-482f-bf95-d14be6abdaa7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-2c78-4758-b511-6c40fc7f9703\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-2c78-4758-b511-6c40fc7f9703\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:45.1010006\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-2c78-4758-b511-6c40fc7f9703\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-f752-482f-bf95-d14be6abdaa7\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-f752-482f-bf95-d14be6abdaa7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:24:45.244163\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-f752-482f-bf95-d14be6abdaa7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-2c78-4758-b511-6c40fc7f9703\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-2c78-4758-b511-6c40fc7f9703\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:24:45.3230706\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-2c78-4758-b511-6c40fc7f9703\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-2c78-4758-b511-6c40fc7f9703\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-2c78-4758-b511-6c40fc7f9703\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:47.6889118\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-2c78-4758-b511-6c40fc7f9703\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-f752-482f-bf95-d14be6abdaa7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-f752-482f-bf95-d14be6abdaa7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:47.6889118\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-f752-482f-bf95-d14be6abdaa7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-f752-482f-bf95-d14be6abdaa7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-f752-482f-bf95-d14be6abdaa7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:51.1364777\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-f752-482f-bf95-d14be6abdaa7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-2c78-4758-b511-6c40fc7f9703\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-2c78-4758-b511-6c40fc7f9703\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"c74d24d9-ae35-4aa8-b28c-8cb5ae0d1391\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:51.1364777\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-2c78-4758-b511-6c40fc7f9703\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-8158-46d9-8440-3b207ea9502d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-8158-46d9-8440-3b207ea9502d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:54.9147203\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-8158-46d9-8440-3b207ea9502d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4fb0-4a0a-afde-a68e8b50a89f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-4fb0-4a0a-afde-a68e8b50a89f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:54.9180212\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4fb0-4a0a-afde-a68e8b50a89f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4fb0-4a0a-afde-a68e8b50a89f\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-4fb0-4a0a-afde-a68e8b50a89f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:55.0605411\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4fb0-4a0a-afde-a68e8b50a89f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-8158-46d9-8440-3b207ea9502d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-8158-46d9-8440-3b207ea9502d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:55.0226933\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-8158-46d9-8440-3b207ea9502d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4fb0-4a0a-afde-a68e8b50a89f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-4fb0-4a0a-afde-a68e8b50a89f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:58.0873528\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4fb0-4a0a-afde-a68e8b50a89f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-8158-46d9-8440-3b207ea9502d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-8158-46d9-8440-3b207ea9502d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:58.0873526\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-8158-46d9-8440-3b207ea9502d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-8158-46d9-8440-3b207ea9502d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-8158-46d9-8440-3b207ea9502d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:01.4409605\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-8158-46d9-8440-3b207ea9502d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4fb0-4a0a-afde-a68e8b50a89f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-4fb0-4a0a-afde-a68e8b50a89f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"805421dc-88ba-41d8-bee0-e326d053ed2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:19:01.4408188\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4fb0-4a0a-afde-a68e8b50a89f\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/interruptAudioAndAnnounceToholdParticipantInACallTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/interruptAudioAndAnnounceToholdParticipantInACallTest.json deleted file mode 100644 index 92debf9c7a4b..000000000000 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/interruptAudioAndAnnounceToholdParticipantInACallTest.json +++ /dev/null @@ -1 +0,0 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-4820-4dab-9dc9-24d5e1e5ff2f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"00002680-4820-4dab-9dc9-24d5e1e5ff2f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:10:16.2670063\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-4820-4dab-9dc9-24d5e1e5ff2f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"00002680-9f69-43d2-aa6d-aae32c92d187\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:10:16.297698\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-4820-4dab-9dc9-24d5e1e5ff2f\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"00002680-4820-4dab-9dc9-24d5e1e5ff2f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-03-05T05:10:16.3290051\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-4820-4dab-9dc9-24d5e1e5ff2f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"00002680-9f69-43d2-aa6d-aae32c92d187\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-03-05T05:10:16.5025027\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"00002680-9f69-43d2-aa6d-aae32c92d187\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:10:20.5691432\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-4820-4dab-9dc9-24d5e1e5ff2f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"00002680-4820-4dab-9dc9-24d5e1e5ff2f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:10:20.5967382\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-4820-4dab-9dc9-24d5e1e5ff2f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"00002680-9f69-43d2-aa6d-aae32c92d187\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-03-05T05:10:24.7604956\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\",\"type\":\"Microsoft.Communication.PlayCanceled\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":400,\"subCode\":8508,\"message\":\"Action falied, the operation was cancelled.\"},\"callConnectionId\":\"00002680-9f69-43d2-aa6d-aae32c92d187\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.PlayCanceled\"},\"time\":\"2025-03-05T05:10:27.1661006\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-4820-4dab-9dc9-24d5e1e5ff2f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"00002680-4820-4dab-9dc9-24d5e1e5ff2f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:10:27.2286743\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-4820-4dab-9dc9-24d5e1e5ff2f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"00002680-9f69-43d2-aa6d-aae32c92d187\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"045c6a37-998c-432b-a217-494d76ae28a7\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:10:27.2443009\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/00002680-9f69-43d2-aa6d-aae32c92d187\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/playMediaInACallAutomatedTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/playMediaInACallAutomatedTest.json index 5b916e238a07..d1964ae6fc4e 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/playMediaInACallAutomatedTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/playMediaInACallAutomatedTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"e81c8631-cd04-4135-980b-428c24bc1236\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-dbe0-420b-97d7-9473a47cdbff\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-dbe0-420b-97d7-9473a47cdbff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"e81c8631-cd04-4135-980b-428c24bc1236\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:21.3886685\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-dbe0-420b-97d7-9473a47cdbff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-b73a-4f46-a07a-3d073a24e425\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-b73a-4f46-a07a-3d073a24e425\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"e81c8631-cd04-4135-980b-428c24bc1236\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:21.3863257\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-b73a-4f46-a07a-3d073a24e425\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-dbe0-420b-97d7-9473a47cdbff\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-dbe0-420b-97d7-9473a47cdbff\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"e81c8631-cd04-4135-980b-428c24bc1236\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:24:21.5289108\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-dbe0-420b-97d7-9473a47cdbff\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-b73a-4f46-a07a-3d073a24e425\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-b73a-4f46-a07a-3d073a24e425\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"e81c8631-cd04-4135-980b-428c24bc1236\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:24:21.5456131\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-b73a-4f46-a07a-3d073a24e425\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-b73a-4f46-a07a-3d073a24e425\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-b73a-4f46-a07a-3d073a24e425\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"e81c8631-cd04-4135-980b-428c24bc1236\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-05-22T17:24:22.5551306\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-b73a-4f46-a07a-3d073a24e425\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-b73a-4f46-a07a-3d073a24e425\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-b73a-4f46-a07a-3d073a24e425\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"e81c8631-cd04-4135-980b-428c24bc1236\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-05-22T17:24:26.7813572\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-b73a-4f46-a07a-3d073a24e425\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"8477e079-cf57-48f1-8843-fea05ca896ca\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-6fb5-48af-b2a6-970e14a29587\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-6fb5-48af-b2a6-970e14a29587\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8477e079-cf57-48f1-8843-fea05ca896ca\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:35.7985526\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-6fb5-48af-b2a6-970e14a29587\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75dc-427f-a56f-fef69c8e2b4d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-75dc-427f-a56f-fef69c8e2b4d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8477e079-cf57-48f1-8843-fea05ca896ca\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:35.8004018\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75dc-427f-a56f-fef69c8e2b4d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-6fb5-48af-b2a6-970e14a29587\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-6fb5-48af-b2a6-970e14a29587\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8477e079-cf57-48f1-8843-fea05ca896ca\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:35.9092346\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-6fb5-48af-b2a6-970e14a29587\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75dc-427f-a56f-fef69c8e2b4d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-75dc-427f-a56f-fef69c8e2b4d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8477e079-cf57-48f1-8843-fea05ca896ca\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:36.0272413\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75dc-427f-a56f-fef69c8e2b4d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75dc-427f-a56f-fef69c8e2b4d\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-75dc-427f-a56f-fef69c8e2b4d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8477e079-cf57-48f1-8843-fea05ca896ca\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-07-12T01:18:36.7099345\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75dc-427f-a56f-fef69c8e2b4d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75dc-427f-a56f-fef69c8e2b4d\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-75dc-427f-a56f-fef69c8e2b4d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8477e079-cf57-48f1-8843-fea05ca896ca\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-07-12T01:18:40.9127403\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75dc-427f-a56f-fef69c8e2b4d\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleCombinedSourcesWithPlayMediaAllTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleCombinedSourcesWithPlayMediaAllTest.json index 93897b9647d1..c06db074590c 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleCombinedSourcesWithPlayMediaAllTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleCombinedSourcesWithPlayMediaAllTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"31a0a9b9-e466-4595-b4a6-57ab5c82c25c\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-b1ac-4387-9679-70040fcc811f\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-b1ac-4387-9679-70040fcc811f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"31a0a9b9-e466-4595-b4a6-57ab5c82c25c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:33.4553223\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-b1ac-4387-9679-70040fcc811f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-dafd-4618-b0bf-14faba5409fb\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-dafd-4618-b0bf-14faba5409fb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"31a0a9b9-e466-4595-b4a6-57ab5c82c25c\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:33.4553223\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-dafd-4618-b0bf-14faba5409fb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-dafd-4618-b0bf-14faba5409fb\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-dafd-4618-b0bf-14faba5409fb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"31a0a9b9-e466-4595-b4a6-57ab5c82c25c\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:23:33.5654103\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-dafd-4618-b0bf-14faba5409fb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-b1ac-4387-9679-70040fcc811f\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-b1ac-4387-9679-70040fcc811f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"31a0a9b9-e466-4595-b4a6-57ab5c82c25c\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:23:33.5654103\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-b1ac-4387-9679-70040fcc811f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-b1ac-4387-9679-70040fcc811f\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-b1ac-4387-9679-70040fcc811f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"31a0a9b9-e466-4595-b4a6-57ab5c82c25c\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-05-22T17:23:34.9690086\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-b1ac-4387-9679-70040fcc811f\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-b1ac-4387-9679-70040fcc811f\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-b1ac-4387-9679-70040fcc811f\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"31a0a9b9-e466-4595-b4a6-57ab5c82c25c\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-05-22T17:23:41.3916428\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-b1ac-4387-9679-70040fcc811f\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"338be7c1-9856-4c6b-854e-d87fd97685cf\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-b5c6-435d-8da5-4c34b463c105\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-b5c6-435d-8da5-4c34b463c105\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"338be7c1-9856-4c6b-854e-d87fd97685cf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:52.1898478\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-b5c6-435d-8da5-4c34b463c105\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-b94a-49a2-a6ff-ad4c62f3740d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-b94a-49a2-a6ff-ad4c62f3740d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"338be7c1-9856-4c6b-854e-d87fd97685cf\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:52.1858291\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-b94a-49a2-a6ff-ad4c62f3740d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-b94a-49a2-a6ff-ad4c62f3740d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-b94a-49a2-a6ff-ad4c62f3740d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"338be7c1-9856-4c6b-854e-d87fd97685cf\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:17:52.3154938\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-b94a-49a2-a6ff-ad4c62f3740d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-b5c6-435d-8da5-4c34b463c105\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-b5c6-435d-8da5-4c34b463c105\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"338be7c1-9856-4c6b-854e-d87fd97685cf\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:17:52.324764\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-b5c6-435d-8da5-4c34b463c105\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-b5c6-435d-8da5-4c34b463c105\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-b5c6-435d-8da5-4c34b463c105\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"338be7c1-9856-4c6b-854e-d87fd97685cf\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-07-12T01:17:53.4085417\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-b5c6-435d-8da5-4c34b463c105\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-b5c6-435d-8da5-4c34b463c105\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-b5c6-435d-8da5-4c34b463c105\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"338be7c1-9856-4c6b-854e-d87fd97685cf\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-07-12T01:17:59.8239435\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-b5c6-435d-8da5-4c34b463c105\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleCombinedSourcesWithPlayMediaTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleCombinedSourcesWithPlayMediaTest.json index c62cd583bc00..367ff2dc48be 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleCombinedSourcesWithPlayMediaTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleCombinedSourcesWithPlayMediaTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-e806-4819-9e70-5215fe9e06cb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:48.8723491\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-dc7b-4ecc-8057-abf6b92e96cd\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-dc7b-4ecc-8057-abf6b92e96cd\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:48.8723491\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-dc7b-4ecc-8057-abf6b92e96cd\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-dc7b-4ecc-8057-abf6b92e96cd\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-dc7b-4ecc-8057-abf6b92e96cd\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:23:48.9979011\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-dc7b-4ecc-8057-abf6b92e96cd\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-e806-4819-9e70-5215fe9e06cb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:23:49.0145951\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-e806-4819-9e70-5215fe9e06cb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:51.1697171\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-dc7b-4ecc-8057-abf6b92e96cd\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-dc7b-4ecc-8057-abf6b92e96cd\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:51.1697171\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-dc7b-4ecc-8057-abf6b92e96cd\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-e806-4819-9e70-5215fe9e06cb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-05-22T17:23:51.6888037\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-e806-4819-9e70-5215fe9e06cb\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"b438b634-a03c-4461-aa3f-0329719d6c5a\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-05-22T17:23:58.1852567\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-e806-4819-9e70-5215fe9e06cb\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-75ec-4e61-9677-f1e1ce9174b9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:05.5244387\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-f7ce-4215-b0f4-4e45b0633f69\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-f7ce-4215-b0f4-4e45b0633f69\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:05.521083\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-f7ce-4215-b0f4-4e45b0633f69\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-f7ce-4215-b0f4-4e45b0633f69\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-f7ce-4215-b0f4-4e45b0633f69\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:05.6869205\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-f7ce-4215-b0f4-4e45b0633f69\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-75ec-4e61-9677-f1e1ce9174b9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:05.7017255\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-f7ce-4215-b0f4-4e45b0633f69\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-f7ce-4215-b0f4-4e45b0633f69\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:09.1421643\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-f7ce-4215-b0f4-4e45b0633f69\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-75ec-4e61-9677-f1e1ce9174b9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:09.1427135\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-75ec-4e61-9677-f1e1ce9174b9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-07-12T01:18:09.7376466\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-75ec-4e61-9677-f1e1ce9174b9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-07-12T01:18:16.2647072\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-75ec-4e61-9677-f1e1ce9174b9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:16.298814\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-75ec-4e61-9677-f1e1ce9174b9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-f7ce-4215-b0f4-4e45b0633f69\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-f7ce-4215-b0f4-4e45b0633f69\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"51162c24-d5a0-4738-9677-c55020d197f4\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:16.2926172\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-f7ce-4215-b0f4-4e45b0633f69\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWhenParticipantOnHoldTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWhenParticipantOnHoldTest.json deleted file mode 100644 index 5475c9ff09ff..000000000000 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWhenParticipantOnHoldTest.json +++ /dev/null @@ -1 +0,0 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-0b30-4194-900c-399f079be4e9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-0b30-4194-900c-399f079be4e9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:07:20.4810656\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-0b30-4194-900c-399f079be4e9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-0b30-4194-900c-399f079be4e9\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"09002680-0b30-4194-900c-399f079be4e9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-03-05T05:07:20.4810656\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-0b30-4194-900c-399f079be4e9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:07:20.4810656\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-03-05T05:07:20.512609\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-0b30-4194-900c-399f079be4e9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-0b30-4194-900c-399f079be4e9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:07:24.8722385\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-0b30-4194-900c-399f079be4e9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:07:24.8708139\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.HoldAudioStarted\",\"data\":{\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.HoldAudioStarted\"},\"time\":\"2025-03-05T05:07:25.55961\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.HoldAudioPaused\",\"data\":{\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.HoldAudioPaused\"},\"time\":\"2025-03-05T05:07:28.4959994\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-03-05T05:07:28.5904312\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2024-09-01-preview\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-03-05T05:07:37.0723771\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.HoldAudioResumed\",\"data\":{\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.HoldAudioResumed\"},\"time\":\"2025-03-05T05:07:37.0757195\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.HoldAudioCompleted\",\"data\":{\"resultInformation\":{\"code\":400,\"subCode\":8508,\"message\":\"Action falied, the operation was cancelled.\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.HoldAudioCompleted\"},\"time\":\"2025-03-05T05:07:38.8190494\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-0b30-4194-900c-399f079be4e9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-0b30-4194-900c-399f079be4e9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:07:38.900625\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-0b30-4194-900c-399f079be4e9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2024-09-01-preview\",\"callConnectionId\":\"09002680-3f46-4565-b27d-719cedd670e3\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"987aa996-a9f3-40bf-94a2-f7737fdd8963\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-03-05T05:07:38.9001028\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/09002680-3f46-4565-b27d-719cedd670e3\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWithPlayMediaAllTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWithPlayMediaAllTest.json index e527b7985380..07a2f653601a 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWithPlayMediaAllTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWithPlayMediaAllTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"517286f6-33d6-414f-acc3-1e26bfeabe80\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-cd5b-4193-8d38-4904d233b3bf\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-cd5b-4193-8d38-4904d233b3bf\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"517286f6-33d6-414f-acc3-1e26bfeabe80\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:03.1032789\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-cd5b-4193-8d38-4904d233b3bf\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-468e-4de5-81d3-017d455b3f0b\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-468e-4de5-81d3-017d455b3f0b\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"517286f6-33d6-414f-acc3-1e26bfeabe80\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:23:03.1032789\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-468e-4de5-81d3-017d455b3f0b\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-cd5b-4193-8d38-4904d233b3bf\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-cd5b-4193-8d38-4904d233b3bf\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"517286f6-33d6-414f-acc3-1e26bfeabe80\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:23:03.2134757\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-cd5b-4193-8d38-4904d233b3bf\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-468e-4de5-81d3-017d455b3f0b\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-468e-4de5-81d3-017d455b3f0b\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"517286f6-33d6-414f-acc3-1e26bfeabe80\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:23:03.1972523\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-468e-4de5-81d3-017d455b3f0b\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-cd5b-4193-8d38-4904d233b3bf\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-cd5b-4193-8d38-4904d233b3bf\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"517286f6-33d6-414f-acc3-1e26bfeabe80\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-05-22T17:23:04.2079282\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-cd5b-4193-8d38-4904d233b3bf\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-cd5b-4193-8d38-4904d233b3bf\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-cd5b-4193-8d38-4904d233b3bf\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"517286f6-33d6-414f-acc3-1e26bfeabe80\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-05-22T17:23:12.7169485\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-cd5b-4193-8d38-4904d233b3bf\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"134b1d47-5f08-4b7d-91e5-31b8db9a26f9\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e239-4826-93d1-4dc8f208c94b\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-e239-4826-93d1-4dc8f208c94b\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"134b1d47-5f08-4b7d-91e5-31b8db9a26f9\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:22.7528235\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e239-4826-93d1-4dc8f208c94b\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-597e-47ea-ad8f-87b0c4e4da45\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-597e-47ea-ad8f-87b0c4e4da45\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"134b1d47-5f08-4b7d-91e5-31b8db9a26f9\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:22.7601307\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-597e-47ea-ad8f-87b0c4e4da45\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-597e-47ea-ad8f-87b0c4e4da45\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-597e-47ea-ad8f-87b0c4e4da45\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"134b1d47-5f08-4b7d-91e5-31b8db9a26f9\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:17:22.8547388\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-597e-47ea-ad8f-87b0c4e4da45\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e239-4826-93d1-4dc8f208c94b\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-e239-4826-93d1-4dc8f208c94b\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"134b1d47-5f08-4b7d-91e5-31b8db9a26f9\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:17:22.9249016\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e239-4826-93d1-4dc8f208c94b\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e239-4826-93d1-4dc8f208c94b\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-e239-4826-93d1-4dc8f208c94b\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"134b1d47-5f08-4b7d-91e5-31b8db9a26f9\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-07-12T01:17:23.7487569\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e239-4826-93d1-4dc8f208c94b\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e239-4826-93d1-4dc8f208c94b\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-e239-4826-93d1-4dc8f208c94b\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"134b1d47-5f08-4b7d-91e5-31b8db9a26f9\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-07-12T01:17:32.2468587\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e239-4826-93d1-4dc8f208c94b\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWithPlayMediaTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWithPlayMediaTest.json index 38072b6fe043..29392520f597 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWithPlayMediaTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleFileSourcesWithPlayMediaTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:25.6838009\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d76d-4da1-a003-fa8f7d6f6af9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-d76d-4da1-a003-fa8f7d6f6af9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:25.6838009\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d76d-4da1-a003-fa8f7d6f6af9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:22:25.7937174\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d76d-4da1-a003-fa8f7d6f6af9\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-d76d-4da1-a003-fa8f7d6f6af9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:22:25.7937174\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d76d-4da1-a003-fa8f7d6f6af9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d76d-4da1-a003-fa8f7d6f6af9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-d76d-4da1-a003-fa8f7d6f6af9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:28.5292621\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d76d-4da1-a003-fa8f7d6f6af9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:28.5301502\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-05-22T17:22:29.6816417\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-05-22T17:22:38.2727579\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d76d-4da1-a003-fa8f7d6f6af9\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-d76d-4da1-a003-fa8f7d6f6af9\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:38.327154\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d76d-4da1-a003-fa8f7d6f6af9\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":6,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-0d69-4c4a-bbd9-1bf7df2bf259\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"cf0ad90c-1c88-4545-99b4-ddd1a212f8b1\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:38.3196037\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-0d69-4c4a-bbd9-1bf7df2bf259\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4bc9-4ce9-9d59-0dede8f05451\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-4bc9-4ce9-9d59-0dede8f05451\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:50.8812383\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4bc9-4ce9-9d59-0dede8f05451\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:50.8649552\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4bc9-4ce9-9d59-0dede8f05451\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-4bc9-4ce9-9d59-0dede8f05451\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:51.1136112\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4bc9-4ce9-9d59-0dede8f05451\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:16:51.1720083\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:53.9309514\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4bc9-4ce9-9d59-0dede8f05451\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-4bc9-4ce9-9d59-0dede8f05451\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:16:53.9309557\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4bc9-4ce9-9d59-0dede8f05451\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-07-12T01:16:54.4428234\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-07-12T01:17:03.0135671\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4bc9-4ce9-9d59-0dede8f05451\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-4bc9-4ce9-9d59-0dede8f05451\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:03.0384897\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4bc9-4ce9-9d59-0dede8f05451\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-e0b9-46e3-aca5-cbec5c4b7129\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"66398540-936c-45be-81e7-bf82232dbd2d\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:03.0382198\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e0b9-46e3-aca5-cbec5c4b7129\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleTextSourcesWithPlayMediaAllTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleTextSourcesWithPlayMediaAllTest.json index f57b4d2b19f8..2a981091da26 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleTextSourcesWithPlayMediaAllTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleTextSourcesWithPlayMediaAllTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-97e1-4f23-8dcd-b0c3446c633d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-97e1-4f23-8dcd-b0c3446c633d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:04.9186056\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-97e1-4f23-8dcd-b0c3446c633d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:04.9186056\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-97e1-4f23-8dcd-b0c3446c633d\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-97e1-4f23-8dcd-b0c3446c633d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:24:05.0124557\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-97e1-4f23-8dcd-b0c3446c633d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:24:05.05924\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-97e1-4f23-8dcd-b0c3446c633d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-97e1-4f23-8dcd-b0c3446c633d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:07.4665933\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-97e1-4f23-8dcd-b0c3446c633d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:07.4665933\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-05-22T17:24:07.908337\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-97e1-4f23-8dcd-b0c3446c633d\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-97e1-4f23-8dcd-b0c3446c633d\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:12.4254605\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-97e1-4f23-8dcd-b0c3446c633d\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:24:12.4254605\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-8e96-48a2-a220-7dc43f5d07f5\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"3e66ccf1-4572-4cfc-b2fb-6235dace319b\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-05-22T17:24:12.3798603\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-8e96-48a2-a220-7dc43f5d07f5\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-20ee-4fb8-bc77-577895cbbbad\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-20ee-4fb8-bc77-577895cbbbad\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:22.8124448\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-20ee-4fb8-bc77-577895cbbbad\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-4371-4a56-b415-5ad8c35cbf37\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:22.8084446\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-4371-4a56-b415-5ad8c35cbf37\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:23.0310522\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-20ee-4fb8-bc77-577895cbbbad\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-20ee-4fb8-bc77-577895cbbbad\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:18:22.984611\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-20ee-4fb8-bc77-577895cbbbad\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-20ee-4fb8-bc77-577895cbbbad\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-20ee-4fb8-bc77-577895cbbbad\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:24.8710739\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-20ee-4fb8-bc77-577895cbbbad\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-4371-4a56-b415-5ad8c35cbf37\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:24.8721077\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-4371-4a56-b415-5ad8c35cbf37\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-07-12T01:18:25.3833622\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-4371-4a56-b415-5ad8c35cbf37\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-07-12T01:18:29.8100198\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-4371-4a56-b415-5ad8c35cbf37\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-20ee-4fb8-bc77-577895cbbbad\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-20ee-4fb8-bc77-577895cbbbad\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"04c6c054-6c9d-41e2-96a4-467280bcafd3\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:18:29.8397808\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-20ee-4fb8-bc77-577895cbbbad\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleTextSourcesWithPlayMediaTest.json b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleTextSourcesWithPlayMediaTest.json index 228eb133a069..6e65764f543c 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleTextSourcesWithPlayMediaTest.json +++ b/sdk/communication/azure-communication-callautomation/src/test/resources/playMultipleTextSourcesWithPlayMediaTest.json @@ -1 +1 @@ -["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-6687-416d-91e2-bd5781623669\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-6687-416d-91e2-bd5781623669\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:46.0283943\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-6687-416d-91e2-bd5781623669\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-d689-4333-a63b-3b0e06e466e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:46.0283943\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-6687-416d-91e2-bd5781623669\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-6687-416d-91e2-bd5781623669\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:22:46.1217393\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-6687-416d-91e2-bd5781623669\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"1a006780-d689-4333-a63b-3b0e06e466e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-05-22T17:22:46.1373649\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-6687-416d-91e2-bd5781623669\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-6687-416d-91e2-bd5781623669\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:48.7198313\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-6687-416d-91e2-bd5781623669\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":4,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-d689-4333-a63b-3b0e06e466e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:48.7198313\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-d689-4333-a63b-3b0e06e466e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-05-22T17:22:49.2878472\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-05-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"1a006780-d689-4333-a63b-3b0e06e466e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-05-22T17:22:53.7898512\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-6687-416d-91e2-bd5781623669\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-6687-416d-91e2-bd5781623669\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:53.8105115\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-6687-416d-91e2-bd5781623669\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-05-15\",\"callConnectionId\":\"1a006780-d689-4333-a63b-3b0e06e466e7\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"8b92f293-ab46-49ab-b6fd-70be475f18dc\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-05-22T17:22:53.8105115\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/1a006780-d689-4333-a63b-3b0e06e466e7\"}]"] \ No newline at end of file +["{\"to\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"from\":{\"kind\":\"communicationUser\",\"rawId\":\"REDACTED\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"serverCallId\":\"REDACTED\",\"callerDisplayName\":\"\",\"incomingCallContext\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\"}","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e02c-4f22-a302-4639b715c457\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-e02c-4f22-a302-4639b715c457\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:09.2367732\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e02c-4f22-a302-4639b715c457\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":1,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-3e25-41b5-bc9b-e5706a956161\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:09.225599\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e02c-4f22-a302-4639b715c457\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-e02c-4f22-a302-4639b715c457\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:17:09.38173\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e02c-4f22-a302-4639b715c457\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\",\"type\":\"Microsoft.Communication.CallConnected\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"callConnectionId\":\"64006580-3e25-41b5-bc9b-e5706a956161\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.CallConnected\"},\"time\":\"2025-07-12T01:17:09.3609486\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e02c-4f22-a302-4639b715c457\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-e02c-4f22-a302-4639b715c457\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:12.1517754\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e02c-4f22-a302-4639b715c457\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":true}],\"sequenceNumber\":3,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-3e25-41b5-bc9b-e5706a956161\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:12.1509039\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\",\"type\":\"Microsoft.Communication.PlayStarted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-3e25-41b5-bc9b-e5706a956161\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.PlayStarted\"},\"time\":\"2025-07-12T01:17:12.9450087\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\",\"type\":\"Microsoft.Communication.PlayCompleted\",\"data\":{\"version\":\"2025-06-15\",\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"Action completed successfully.\"},\"callConnectionId\":\"64006580-3e25-41b5-bc9b-e5706a956161\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.PlayCompleted\"},\"time\":\"2025-07-12T01:17:17.4070867\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-e02c-4f22-a302-4639b715c457\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-e02c-4f22-a302-4639b715c457\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:17.4233023\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-e02c-4f22-a302-4639b715c457\"}]","[{\"id\":\"REDACTED\",\"source\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\",\"type\":\"Microsoft.Communication.ParticipantsUpdated\",\"data\":{\"participants\":[{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false},{\"identifier\":{\"rawId\":\"REDACTED\",\"kind\":\"communicationUser\",\"communicationUser\":{\"id\":\"REDACTED\"}},\"isMuted\":false,\"isOnHold\":false}],\"sequenceNumber\":5,\"resultInformation\":{\"code\":200,\"subCode\":0,\"message\":\"\"},\"version\":\"2025-06-15\",\"callConnectionId\":\"64006580-3e25-41b5-bc9b-e5706a956161\",\"serverCallId\":\"REDACTED\",\"correlationId\":\"6d3498b5-5356-4895-a804-ec17d98b7e49\",\"publicEventType\":\"Microsoft.Communication.ParticipantsUpdated\"},\"time\":\"2025-07-12T01:17:17.4322587\\u002B00:00\",\"specversion\":\"1.0\",\"datacontenttype\":\"application/json\",\"subject\":\"calling/callConnections/64006580-3e25-41b5-bc9b-e5706a956161\"}]"] \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/swagger/README.md b/sdk/communication/azure-communication-callautomation/swagger/README.md index 5617b128469d..57a68a011620 100644 --- a/sdk/communication/azure-communication-callautomation/swagger/README.md +++ b/sdk/communication/azure-communication-callautomation/swagger/README.md @@ -29,10 +29,10 @@ autorest README.md --java --v4 ### Code generation settings ``` yaml -tag: package-2025-05-15 +tag: package-2025-06-15 use: '@autorest/java@4.1.52' require: - - https://github.com/Azure/azure-rest-api-specs/blob/d87c0a3d1abbd1d1aa1b487d99e77769b6895ef4/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/b359b43e76ee17d4f1c5aa83b58577653c0fb51b/specification/communication/data-plane/CallAutomation/readme.md java: true output-folder: ../ license-header: MICROSOFT_MIT_SMALL @@ -557,4 +557,4 @@ directive: where: $.paths["/calling/callConnections/{callConnectionId}/participants/{participantRawId}"].get.parameters transform: > $.find(param => param.name === "participantRawId")["x-ms-skip-url-encoding"] = true; -``` +``` \ No newline at end of file diff --git a/sdk/communication/azure-communication-callautomation/swagger/src/main/java/CallautomationCustomizations.java b/sdk/communication/azure-communication-callautomation/swagger/src/main/java/CallautomationCustomizations.java index f3f0462fdb71..ab5782fa7cd3 100644 --- a/sdk/communication/azure-communication-callautomation/swagger/src/main/java/CallautomationCustomizations.java +++ b/sdk/communication/azure-communication-callautomation/swagger/src/main/java/CallautomationCustomizations.java @@ -33,4 +33,4 @@ private void customizeCallAutomationEnumMembers(PackageCustomization customizati .flatMap(clazz -> clazz.getFieldByName("INITIAL_WEB_SOCKET_CONNECTION_FAILED")) .ifPresent(field -> field.getVariable(0).setName("INITIAL_WEBSOCKET_CONNECTION_FAILED"))); } -} +} \ No newline at end of file