diff --git a/sdk/communication/communication-call-automation/assets.json b/sdk/communication/communication-call-automation/assets.json index 39ec18aeb1c2..8fc7f9c9d870 100644 --- a/sdk/communication/communication-call-automation/assets.json +++ b/sdk/communication/communication-call-automation/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "js", "TagPrefix": "js/communication/communication-call-automation", - "Tag": "js/communication/communication-call-automation_3c8effc58e" + "Tag": "js/communication/communication-call-automation_22a209c61b" } diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json index 63119dd144af..7460358624e5 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_and_get_call_properties.json @@ -22,30 +22,10 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", - "operationContext": "addParticipantsAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0788-4e8d-8e76-5753d141e789", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:54:40.746015+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "participants": [ { "identifier": { @@ -55,7 +35,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -65,29 +46,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0788-4e8d-8e76-5753d141e789", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:40.746015+00:00", + "time": "2024-03-08T21:37:40.4102928+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789" + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", + "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "operationContext": "addParticipantsAnswer", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:37:40.3634744+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", + "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "participants": [ { "identifier": { @@ -97,7 +99,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -107,40 +110,41 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-a370-42eb-9403-c2d88b330bc9", + "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:40.8397743+00:00", + "time": "2024-03-08T21:37:40.3947633+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9" + "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "operationContext": "addParticipantsCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-a370-42eb-9403-c2d88b330bc9", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:54:40.8397743+00:00", + "time": "2024-03-08T21:37:40.4102928+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9" + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" } ], { @@ -166,30 +170,57 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f", + "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f", + "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", "operationContext": "addParticipantsAnswer2", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9218-421c-86be-cb808bc4100f", + "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:54:54.6377958+00:00", + "time": "2024-03-08T21:37:48.6373583+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f" + "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "type": "Microsoft.Communication.AddParticipantSucceeded", + "data": { + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "operationContext": "addParticipants", + "participant": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" + }, + "time": "2024-03-08T21:37:48.9655424+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789", + "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", "participants": [ { "identifier": { @@ -199,7 +230,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -209,7 +241,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -219,29 +252,85 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0788-4e8d-8e76-5753d141e789", + "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:37:48.9655424+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:55.1222236+00:00", + "time": "2024-03-08T21:37:49.0592372+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0788-4e8d-8e76-5753d141e789" + "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f", + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", "participants": [ { "identifier": { @@ -251,7 +340,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -261,7 +351,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -271,47 +362,186 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9218-421c-86be-cb808bc4100f", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:55.1222236+00:00", + "time": "2024-03-08T21:37:48.9655424+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9218-421c-86be-cb808bc4100f" + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", - "type": "Microsoft.Communication.AddParticipantSucceeded", + "source": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9", - "operationContext": "addParticipants", - "participant": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "eventSource": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } - }, + ], + "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-a370-42eb-9403-c2d88b330bc9", + "callConnectionId": "421f0b00-1788-4472-967b-7f2d40b27e35", "serverCallId": "sanitized", "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:37:49.5593014+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-1788-4472-967b-7f2d40b27e35" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-4a48-46d5-9052-4acc50dbd6a9", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:37:49.6374189+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-4a48-46d5-9052-4acc50dbd6a9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 4, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-5109-49a7-a383-10c99342351f", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:55.1690901+00:00", + "time": "2024-03-08T21:37:49.5593014+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-a370-42eb-9403-c2d88b330bc9" + "subject": "calling/callConnections/421f0b00-5109-49a7-a383-10c99342351f" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json index ee35e4f574ce..533bf983ca4f 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Add_a_participant_cancels_add_participant_request.json @@ -22,30 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261", + "source": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261", + "eventSource": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "operationContext": "cancelAddCreateAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b00b-430b-be94-c5e26efa4261", + "callConnectionId": "421f0b00-b2ae-42ed-93d9-260c55a41871", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:54.8379005+00:00", + "time": "2024-03-08T21:38:23.8905626+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261" + "subject": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261", + "source": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261", + "eventSource": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871", "participants": [ { "identifier": { @@ -55,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -65,29 +66,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b00b-430b-be94-c5e26efa4261", + "callConnectionId": "421f0b00-b2ae-42ed-93d9-260c55a41871", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:54.8535359+00:00", + "time": "2024-03-08T21:38:23.9061909+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b00b-430b-be94-c5e26efa4261" + "subject": "calling/callConnections/421f0b00-b2ae-42ed-93d9-260c55a41871" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "eventSource": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "participants": [ { "identifier": { @@ -97,7 +99,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -107,60 +110,61 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-5c1c-453e-ac00-6084be25e84b", + "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:54.9316037+00:00", + "time": "2024-03-08T21:38:23.9531188+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b" + "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "eventSource": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "operationContext": "cancelAddCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-5c1c-453e-ac00-6084be25e84b", + "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:54.9316037+00:00", + "time": "2024-03-08T21:38:23.9531188+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b" + "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b", + "source": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b", "type": "Microsoft.Communication.CancelAddParticipantSucceeded", "data": { - "invitationId": "f08736db-22ea-4f9e-a71e-d7740e63adba", + "invitationId": "313f266e-c54a-4843-88a6-84a66b1b8f57", "operationContext": "cancelAdd", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-5c1c-453e-ac00-6084be25e84b", + "callConnectionId": "421f0b00-71de-46ae-8a08-62b2325ab09b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CancelAddParticipantSucceeded" }, - "time": "2024-01-04T13:56:02.1509756+00:00", + "time": "2024-03-08T21:38:28.7198819+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-5c1c-453e-ac00-6084be25e84b" + "subject": "calling/callConnections/421f0b00-71de-46ae-8a08-62b2325ab09b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json index f2c1759fe2da..7d6f59f4a35e 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_List_all_participants.json @@ -22,30 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7", + "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7", + "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "operationContext": "listParticipantsAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-fec1-44da-8b3a-3112f9584da7", + "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:54:26.1654933+00:00", + "time": "2024-03-08T21:37:32.4250079+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7" + "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd", + "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd", + "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", "participants": [ { "identifier": { @@ -55,39 +55,30 @@ "id": "sanitized" } }, - "isMuted": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 0, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-261a-435a-a136-2b766145adfd", + "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:26.1811225+00:00", + "time": "2024-03-08T21:37:32.4250079+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd" + "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7", + "source": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7", + "eventSource": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "participants": [ { "identifier": { @@ -97,7 +88,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -107,40 +99,85 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-fec1-44da-8b3a-3112f9584da7", + "callConnectionId": "421f0b00-b014-4eca-b06f-c8dfe2337605", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:54:26.1811225+00:00", + "time": "2024-03-08T21:37:32.4876083+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-fec1-44da-8b3a-3112f9584da7" + "subject": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd", + "source": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd", + "eventSource": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605", "operationContext": "listParticipantsCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-261a-435a-a136-2b766145adfd", + "callConnectionId": "421f0b00-b014-4eca-b06f-c8dfe2337605", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:54:26.1811225+00:00", + "time": "2024-03-08T21:37:32.4876083+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-b014-4eca-b06f-c8dfe2337605" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-065e-4aa6-bc19-013d801ead79", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:37:33.0188504+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-261a-435a-a136-2b766145adfd" + "subject": "calling/callConnections/421f0b00-065e-4aa6-bc19-013d801ead79" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json index 409bcd700b11..2b4a1b9d9321 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Mute_a_participant.json @@ -22,29 +22,29 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:24.744086+00:00", + "time": "2024-03-08T21:38:06.5154356+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -54,7 +54,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -64,48 +65,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:24.744086+00:00", + "time": "2024-03-08T21:38:06.5310077+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:55:24.7753314+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -115,7 +98,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -125,20 +109,40 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:24.7753314+00:00", + "time": "2024-03-08T21:38:06.7810657+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:38:06.7966563+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], { @@ -164,29 +168,29 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:38.7929865+00:00", + "time": "2024-03-08T21:38:13.968592+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "type": "Microsoft.Communication.AddParticipantSucceeded", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "operationContext": "addParticipant", "participant": { "rawId": "sanitized", @@ -196,24 +200,24 @@ } }, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.AddParticipantSucceeded" }, - "time": "2024-01-04T13:55:38.933557+00:00", + "time": "2024-03-08T21:38:14.218591+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -223,7 +227,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -233,7 +238,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -243,29 +249,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:38.9491772+00:00", + "time": "2024-03-08T21:38:14.218591+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -275,7 +282,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -285,7 +293,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -295,29 +304,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:38.9491772+00:00", + "time": "2024-03-08T21:38:14.218591+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -327,7 +337,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -337,7 +348,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -347,29 +359,85 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 3, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:14.218591+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:40.13679+00:00", + "time": "2024-03-08T21:38:14.8123462+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -379,7 +447,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -389,7 +458,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -399,29 +469,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:38.933557+00:00", + "time": "2024-03-08T21:38:14.827968+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -431,7 +502,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -441,7 +513,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -451,29 +524,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:40.1524766+00:00", + "time": "2024-03-08T21:38:14.827968+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", "participants": [ { "identifier": { @@ -483,7 +557,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -493,7 +568,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -503,29 +579,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:41.3198768+00:00", + "time": "2024-03-08T21:38:15.4061534+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -535,7 +612,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -545,7 +623,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -555,29 +634,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 4, + "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:40.1524766+00:00", + "time": "2024-03-08T21:38:15.4217244+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -587,7 +667,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -597,7 +678,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -607,29 +689,85 @@ "id": "sanitized" } }, - "isMuted": true + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 5, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:15.4217244+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 6, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-e1ec-433e-9c58-71e1c1200d23", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:42.5074841+00:00", + "time": "2024-03-08T21:38:15.9999232+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-e1ec-433e-9c58-71e1c1200d23" + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15", + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "participants": [ { "identifier": { @@ -639,7 +777,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -649,7 +788,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -659,29 +799,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 5, + "sequenceNumber": 6, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-379c-4224-b8c1-b3ad7e671e15", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:41.3354448+00:00", + "time": "2024-03-08T21:38:15.9999232+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-379c-4224-b8c1-b3ad7e671e15" + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209", + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "participants": [ { "identifier": { @@ -691,7 +832,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -701,7 +843,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -711,20 +854,186 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 5, + "sequenceNumber": 6, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:16.0467512+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-2982-4d0a-86c9-c3065a3aeb31", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:16.5780399+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-2982-4d0a-86c9-c3065a3aeb31" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-82f9-4ef0-80bf-b77c8dd8f03d", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:38:16.6092362+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-82f9-4ef0-80bf-b77c8dd8f03d" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": true, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 7, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d58e-40f6-8f91-d260042c0209", + "callConnectionId": "421f0b00-784e-4f0a-9fd1-2ca0a8b4778d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:41.3354448+00:00", + "time": "2024-03-08T21:38:16.6249232+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d58e-40f6-8f91-d260042c0209" + "subject": "calling/callConnections/421f0b00-784e-4f0a-9fd1-2ca0a8b4778d" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json index d9f4526710bd..0341a2677d81 100644 --- a/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json +++ b/sdk/communication/communication-call-automation/recordings/CallConnection_Live_Tests_Remove_a_participant.json @@ -22,10 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", + "operationContext": "removeParticipantCreateCall", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:37:57.6687101+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "participants": [ { "identifier": { @@ -35,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -45,69 +66,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e42-49d8-a63d-9ab40787d973", + "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:07.9457991+00:00", + "time": "2024-03-08T21:37:57.6843442+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973" + "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "operationContext": "removeParticipantsAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e42-49d8-a63d-9ab40787d973", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:55:07.9301673+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", - "operationContext": "removeParticipantCreateCall", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:55:07.9926678+00:00", + "time": "2024-03-08T21:37:57.6687101+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777" + "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "participants": [ { "identifier": { @@ -117,7 +119,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -127,29 +130,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:55:07.9926678+00:00", + "time": "2024-03-08T21:37:57.6843442+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777" + "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "type": "Microsoft.Communication.RemoveParticipantSucceeded", "data": { - "eventSource": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "operationContext": "removeParticipants", "participant": { "rawId": "sanitized", @@ -159,55 +163,55 @@ } }, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.RemoveParticipantSucceeded" }, - "time": "2024-01-04T13:55:11.5242201+00:00", + "time": "2024-03-08T21:37:59.1843522+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777" + "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "source": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973", + "eventSource": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b", "operationContext": "removeParticipantsAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e42-49d8-a63d-9ab40787d973", + "callConnectionId": "421f0b00-60ad-44f0-a298-0c82455f948b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:55:11.5242201+00:00", + "time": "2024-03-08T21:37:59.2468533+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e42-49d8-a63d-9ab40787d973" + "subject": "calling/callConnections/421f0b00-60ad-44f0-a298-0c82455f948b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "source": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "eventSource": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9", "operationContext": "removeParticipantCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-b4bf-4a28-8ca5-fc055b3c7777", + "callConnectionId": "421f0b00-9791-41e0-8604-56e89212b4b9", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:55:11.6180411+00:00", + "time": "2024-03-08T21:37:59.6062835+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-b4bf-4a28-8ca5-fc055b3c7777" + "subject": "calling/callConnections/421f0b00-9791-41e0-8604-56e89212b4b9" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json index 7341f216485a..765177979ce2 100644 --- a/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json +++ b/sdk/communication/communication-call-automation/recordings/CallRecording_Live_Tests_Creates_a_call,_start_recording,_and_hangs_up.json @@ -22,30 +22,74 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "type": "Microsoft.Communication.ParticipantsUpdated", + "data": { + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", + "participants": [ + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false + } + ], + "sequenceNumber": 1, + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.ParticipantsUpdated" + }, + "time": "2024-03-08T21:39:29.5080308+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "operationContext": "recordingAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:58:21.8864495+00:00", + "time": "2024-03-08T21:39:29.5080308+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -55,49 +99,61 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false + }, + { + "identifier": { + "rawId": "sanitized", + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" + } + }, + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 0, + "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:21.8864495+00:00", + "time": "2024-03-08T21:39:29.5861543+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "operationContext": "recordingCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-4e44-4a21-9adf-e22fd76ebadb", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:58:21.9177675+00:00", + "time": "2024-03-08T21:39:29.5861543+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -107,7 +163,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -117,29 +174,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-4e44-4a21-9adf-e22fd76ebadb", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:21.9177675+00:00", + "time": "2024-03-08T21:39:34.6831704+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb" + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -149,7 +207,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -159,52 +218,53 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 1, + "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:23.0896932+00:00", + "time": "2024-03-08T21:39:34.6831704+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged", + "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged", "type": "Microsoft.Communication.RecordingStateChanged", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ", - "state": "inactive", - "startDateTime": "0001-01-01T00:00:00+00:00", + "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged", + "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ", + "state": "active", + "startDateTime": "2024-03-08T21:39:34.3666276+00:00", "recordingType": "acs", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0695-4fa0-8b86-f1a2ed834b89", + "callConnectionId": "421f0b00-ed42-41f0-9cbc-48ffda080121", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.RecordingStateChanged" }, - "time": "2024-01-04T13:58:34.9828678+00:00", + "time": "2024-03-08T21:39:34.6831704+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged" + "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvYUJ3NVNTLXpSa0c0a1d5OGVzVGJXQT9pPTMzJmU9NjM4NDU1MzAwNjYzMTg0NDc0/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MjFmMGIwMC1lZDQyLTQxZjAtOWNiYy00OGZmZGEwODAxMjEiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI2NzE3ZmE2MS03YTFmLTQ0MzEtYWE1ZS1hMDYwM2E1MjBhNDIifQ/RecordingStateChanged" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -214,7 +274,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -224,29 +285,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-4e44-4a21-9adf-e22fd76ebadb", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:34.9828678+00:00", + "time": "2024-03-08T21:39:35.3394745+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb" + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -256,7 +318,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -266,52 +329,55 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 3, + "sequenceNumber": 4, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:34.9828678+00:00", + "time": "2024-03-08T21:39:35.3394745+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged", - "type": "Microsoft.Communication.RecordingStateChanged", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "type": "Microsoft.Communication.PlayCompleted", "data": { - "eventSource": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged", - "recordingId": "eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ", - "state": "active", - "startDateTime": "2024-01-04T13:58:35.232275+00:00", - "recordingType": "acs", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", + "resultInformation": { + "code": 200, + "subCode": 0, + "message": "Action completed successfully." + }, + "operationContext": "recordingPlay", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0695-4fa0-8b86-f1a2ed834b89", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.RecordingStateChanged" + "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-01-04T13:58:35.8891917+00:00", + "time": "2024-03-08T21:39:35.3550509+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/recordings/aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LWFzc2UtMDEuY29udi5za3lwZS5jb20vY29udi9hNWNWNncxZXlFT3ZIRUZhWm52Yk53P2k9OSZlPTYzODM4NjE4OTY4OTI2OTg0Mw==/eyJQbGF0Zm9ybUVuZHBvaW50SWQiOiI0MDFmMDcwMC0wNjk1LTRmYTAtOGI4Ni1mMWEyZWQ4MzRiODkiLCJSZXNvdXJjZVNwZWNpZmljSWQiOiI3N2Y4ZTZmZS0yNmM3LTRiODAtYTFlZS1lOWI5OTQyZTJmOTkifQ/RecordingStateChanged" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "source": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb", + "eventSource": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925", "participants": [ { "identifier": { @@ -321,7 +387,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -331,71 +398,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], - "sequenceNumber": 4, - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-4e44-4a21-9adf-e22fd76ebadb", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.ParticipantsUpdated" - }, - "time": "2024-01-04T13:58:36.1860826+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-4e44-4a21-9adf-e22fd76ebadb" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", - "type": "Microsoft.Communication.ParticipantsUpdated", - "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", - "participants": [ - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false - }, - { - "identifier": { - "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" - } - }, - "isMuted": false - } - ], - "sequenceNumber": 4, + "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-8f10-482b-aba4-d4a4fc26b925", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:36.2017818+00:00", + "time": "2024-03-08T21:39:36.5582401+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-8f10-482b-aba4-d4a4fc26b925" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "source": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33", + "eventSource": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645", "participants": [ { "identifier": { @@ -405,7 +431,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -415,20 +442,21 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-9488-401a-9a68-02a7f6bb7f33", + "callConnectionId": "421f0b00-1c38-48f3-b14b-7c8146050645", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:58:37.4675102+00:00", + "time": "2024-03-08T21:39:36.5582401+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-9488-401a-9a68-02a7f6bb7f33" + "subject": "calling/callConnections/421f0b00-1c38-48f3-b14b-7c8146050645" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json index 287231ffb725..e490eb496916 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Create_a_call_and_hangup.json @@ -22,10 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", + "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", + "operationContext": "operationContextAnswerCall", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:37:18.0158141+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", + "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", "participants": [ { "identifier": { @@ -35,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -45,69 +66,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d821-48bf-b4d7-2eecd560844d", + "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:53:55.7324065+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", - "operationContext": "operationContextAnswerCall", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d821-48bf-b4d7-2eecd560844d", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:53:55.7167862+00:00", + "time": "2024-03-08T21:37:18.0158141+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d" + "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "operationContext": "operationContextCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-759b-4279-8fee-66a58c29e311", + "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:53:55.7949435+00:00", + "time": "2024-03-08T21:37:18.0627211+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311" + "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "participants": [ { "identifier": { @@ -117,7 +119,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -127,60 +130,61 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-759b-4279-8fee-66a58c29e311", + "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:53:55.779278+00:00", + "time": "2024-03-08T21:37:18.0627211+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311" + "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", + "source": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311", - "operationContext": "operationContextCreateCall", + "eventSource": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993", + "operationContext": "operationContextAnswerCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-759b-4279-8fee-66a58c29e311", + "callConnectionId": "421f0b00-8403-4066-abe5-59b513c6c993", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:53:59.2327653+00:00", + "time": "2024-03-08T21:37:19.7502105+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-759b-4279-8fee-66a58c29e311" + "subject": "calling/callConnections/421f0b00-8403-4066-abe5-59b513c6c993" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", + "source": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d", - "operationContext": "operationContextAnswerCall", + "eventSource": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", + "operationContext": "operationContextCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-d821-48bf-b4d7-2eecd560844d", + "callConnectionId": "421f0b00-6ea3-4c2a-8f2d-be27dfd8b713", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:53:59.2484162+00:00", + "time": "2024-03-08T21:37:19.7345971+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-d821-48bf-b4d7-2eecd560844d" + "subject": "calling/callConnections/421f0b00-6ea3-4c2a-8f2d-be27dfd8b713" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json index 7caa5956e875..74aee6445616 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Automation_Main_Client_Live_Tests_Reject_call.json @@ -22,20 +22,24 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-7539-4784-b1ea-cd57a598c685", - "type": "Microsoft.Communication.CallDisconnected", + "source": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827", + "type": "Microsoft.Communication.CreateCallFailed", "data": { - "eventSource": "calling/callConnections/401f0700-7539-4784-b1ea-cd57a598c685", - "operationContext": "operationContextRejectCall", + "eventSource": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827", + "resultInformation": { + "code": 603, + "subCode": 0, + "message": "Decline. DiagCode: 603#0.@" + }, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-7539-4784-b1ea-cd57a598c685", + "callConnectionId": "421f0b00-d931-441b-bf88-58b09e9de827", "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallDisconnected" + "publicEventType": "Microsoft.Communication.CreateCallFailed" }, - "time": "2024-01-04T13:54:12.2650422+00:00", + "time": "2024-03-08T21:37:25.9377797+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-7539-4784-b1ea-cd57a598c685" + "subject": "calling/callConnections/421f0b00-d931-441b-bf88-58b09e9de827" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json index 1b15eee5e091..da0cf3e95de1 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Cancel_all_media_operations.json @@ -22,30 +22,10 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", - "operationContext": "CancelMediaAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e04-413a-9b5e-b02759908051", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:57:30.3101884+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", + "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", + "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "participants": [ { "identifier": { @@ -55,7 +35,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -65,49 +46,70 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e04-413a-9b5e-b02759908051", + "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:57:30.3258031+00:00", + "time": "2024-03-08T21:39:05.4893087+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", + "operationContext": "CancelMediaAnswer", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:39:05.4893087+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051" + "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "operationContext": "CancelMediaCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:57:30.3883243+00:00", + "time": "2024-03-08T21:39:05.5674975+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239" + "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "participants": [ { "identifier": { @@ -117,7 +119,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -127,80 +130,81 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:57:30.3727507+00:00", + "time": "2024-03-08T21:39:05.5674975+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239" + "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "type": "Microsoft.Communication.PlayCanceled", "data": { - "eventSource": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "operationContext": "CancelplayToAllAudio", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCanceled" }, - "time": "2024-01-04T13:57:33.9198494+00:00", + "time": "2024-03-08T21:39:07.2549531+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239" + "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "source": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "eventSource": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db", "operationContext": "CancelMediaCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-ce1c-463a-8ffa-2e86a6a6c239", + "callConnectionId": "421f0b00-dc54-4538-9eb8-ed6ee263a7db", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:57:36.1075228+00:00", + "time": "2024-03-08T21:39:08.4112185+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-ce1c-463a-8ffa-2e86a6a6c239" + "subject": "calling/callConnections/421f0b00-dc54-4538-9eb8-ed6ee263a7db" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", + "source": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051", + "eventSource": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b", "operationContext": "CancelMediaAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-8e04-413a-9b5e-b02759908051", + "callConnectionId": "421f0b00-9261-412e-a223-4b580dafa91b", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:57:36.1388376+00:00", + "time": "2024-03-08T21:39:08.4737327+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-8e04-413a-9b5e-b02759908051" + "subject": "calling/callConnections/421f0b00-9261-412e-a223-4b580dafa91b" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json index 77679c725ca2..2be2bce78d17 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_all_participants.json @@ -22,10 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", + "operationContext": "playToAllAnswer", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:38:52.3016596+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "participants": [ { "identifier": { @@ -35,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -45,29 +66,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-80ab-45c1-b923-a8776c5d8c1d", + "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:53.4703527+00:00", + "time": "2024-03-08T21:38:52.3172836+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d" + "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", + "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", + "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "participants": [ { "identifier": { @@ -77,7 +99,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -87,69 +110,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0a30-48dd-9303-766f08019c43", + "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:53.4546795+00:00", + "time": "2024-03-08T21:38:52.3642538+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43" + "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "operationContext": "playToAllCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-80ab-45c1-b923-a8776c5d8c1d", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:56:53.4703527+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", - "operationContext": "playToAllAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0a30-48dd-9303-766f08019c43", + "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:56:53.4390729+00:00", + "time": "2024-03-08T21:38:52.3642538+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43" + "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "type": "Microsoft.Communication.PlayCompleted", "data": { - "eventSource": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "resultInformation": { "code": 200, "subCode": 0, @@ -157,55 +161,55 @@ }, "operationContext": "playToAllAudio", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-80ab-45c1-b923-a8776c5d8c1d", + "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-01-04T13:57:14.4328996+00:00", + "time": "2024-03-08T21:38:58.1299007+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d" + "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "source": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d", + "eventSource": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325", "operationContext": "playToAllCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-80ab-45c1-b923-a8776c5d8c1d", + "callConnectionId": "421f0b00-190f-4eb1-ae5b-37dadd8c0325", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:57:16.40183+00:00", + "time": "2024-03-08T21:38:59.0048585+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-80ab-45c1-b923-a8776c5d8c1d" + "subject": "calling/callConnections/421f0b00-190f-4eb1-ae5b-37dadd8c0325" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", + "source": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43", + "eventSource": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603", "operationContext": "playToAllAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-0a30-48dd-9303-766f08019c43", + "callConnectionId": "421f0b00-7d30-4c7e-bd99-05a35aa38603", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:57:16.417459+00:00", + "time": "2024-03-08T21:38:59.0673616+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-0a30-48dd-9303-766f08019c43" + "subject": "calling/callConnections/421f0b00-7d30-4c7e-bd99-05a35aa38603" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json index 4b6b565dcb3c..a173c1890ef5 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Play_audio_to_target_participant.json @@ -22,30 +22,30 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", - "operationContext": "playAudioCreateCall", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", + "operationContext": "playAudioAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:56:15.480259+00:00", + "time": "2024-03-08T21:38:36.0029069+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -55,7 +55,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -65,49 +66,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:15.511458+00:00", - "specversion": "1.0", - "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" - } - ], - [ - { - "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", - "type": "Microsoft.Communication.CallConnected", - "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", - "operationContext": "playAudioAnswer", - "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", - "serverCallId": "sanitized", - "correlationId": "sanitized", - "publicEventType": "Microsoft.Communication.CallConnected" - }, - "time": "2024-01-04T13:56:15.4958338+00:00", + "time": "2024-03-08T21:38:36.0341077+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -117,7 +99,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -127,29 +110,50 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:15.4958338+00:00", + "time": "2024-03-08T21:38:36.0653533+00:00", + "specversion": "1.0", + "datacontenttype": "application/json", + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" + } + ], + [ + { + "id": "sanitized", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "type": "Microsoft.Communication.CallConnected", + "data": { + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "operationContext": "playAudioCreateCall", + "version": "2023-10-03-preview", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", + "serverCallId": "sanitized", + "correlationId": "sanitized", + "publicEventType": "Microsoft.Communication.CallConnected" + }, + "time": "2024-03-08T21:38:36.0653533+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -159,7 +163,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -169,29 +174,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": true } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:19.261861+00:00", + "time": "2024-03-08T21:38:39.7372743+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -201,7 +207,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -211,29 +218,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": true } ], - "sequenceNumber": 4, + "sequenceNumber": 3, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:19.261861+00:00", + "time": "2024-03-08T21:38:39.7372743+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.PlayCompleted", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "resultInformation": { "code": 200, "subCode": 0, @@ -241,24 +249,24 @@ }, "operationContext": "playAudio", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.PlayCompleted" }, - "time": "2024-01-04T13:56:36.9976507+00:00", + "time": "2024-03-08T21:38:44.6123274+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "participants": [ { "identifier": { @@ -268,7 +276,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -278,29 +287,30 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:37.0288941+00:00", + "time": "2024-03-08T21:38:44.6435749+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "participants": [ { "identifier": { @@ -310,7 +320,8 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { @@ -320,60 +331,61 @@ "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 5, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:56:37.0288941+00:00", + "time": "2024-03-08T21:38:44.6592091+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "source": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "eventSource": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "operationContext": "playAudioCreateCall", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-31f7-4e27-98d1-c7a096f4e3f7", + "callConnectionId": "421f0b00-0c00-44cd-bcf7-dbf37e55eca3", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:56:38.8597105+00:00", + "time": "2024-03-08T21:38:46.2061446+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-31f7-4e27-98d1-c7a096f4e3f7" + "subject": "calling/callConnections/421f0b00-0c00-44cd-bcf7-dbf37e55eca3" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "source": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395", + "eventSource": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79", "operationContext": "playAudioAnswer", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-97a3-48bb-946e-f87a63e62395", + "callConnectionId": "421f0b00-abd6-405b-adcd-379e020f1e79", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:56:38.8753817+00:00", + "time": "2024-03-08T21:38:46.2842181+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-97a3-48bb-946e-f87a63e62395" + "subject": "calling/callConnections/421f0b00-abd6-405b-adcd-379e020f1e79" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json index b3e790370c9c..201def493756 100644 --- a/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json +++ b/sdk/communication/communication-call-automation/recordings/Call_Media_Client_Live_Tests_Trigger_DTMF_actions.json @@ -22,201 +22,205 @@ [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:57:51.7181755+00:00", + "time": "2024-03-08T21:39:16.1300989+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "participants": [ { "identifier": { "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:57:51.7025558+00:00", + "time": "2024-03-08T21:39:16.1300989+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "type": "Microsoft.Communication.CallConnected", "data": { - "eventSource": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-383c-430b-8294-b15170b76617", + "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallConnected" }, - "time": "2024-01-04T13:57:52.0776421+00:00", + "time": "2024-03-08T21:39:16.2082231+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617" + "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "type": "Microsoft.Communication.ParticipantsUpdated", "data": { - "eventSource": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "participants": [ { "identifier": { "rawId": "sanitized", - "kind": "phoneNumber", - "phoneNumber": { - "value": "sanitized" + "kind": "communicationUser", + "communicationUser": { + "id": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false }, { "identifier": { "rawId": "sanitized", - "kind": "communicationUser", - "communicationUser": { - "id": "sanitized" + "kind": "phoneNumber", + "phoneNumber": { + "value": "sanitized" } }, - "isMuted": false + "isMuted": false, + "isOnHold": false } ], "sequenceNumber": 1, "version": "2023-10-03-preview", - "callConnectionId": "401f0700-383c-430b-8294-b15170b76617", + "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ParticipantsUpdated" }, - "time": "2024-01-04T13:57:52.9370184+00:00", + "time": "2024-03-08T21:39:16.4454559+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617" + "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.SendDtmfTonesCompleted", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "operationContext": "ContinuousDtmfRecognitionSend", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.SendDtmfTonesCompleted" }, - "time": "2024-01-04T13:57:59.0469098+00:00", + "time": "2024-03-08T21:39:21.1954969+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.ContinuousDtmfRecognitionStopped", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "operationContext": "ContinuousDtmfRecognitionStop", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.ContinuousDtmfRecognitionStopped" }, - "time": "2024-01-04T13:58:00.8751965+00:00", + "time": "2024-03-08T21:39:21.8830024+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "source": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef", + "eventSource": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-1b44-47f8-9969-2db0c54eb3ef", + "callConnectionId": "421f0b00-bad1-454d-b3c5-8864182de29d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:58:03.0785144+00:00", + "time": "2024-03-08T21:39:23.0548241+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-1b44-47f8-9969-2db0c54eb3ef" + "subject": "calling/callConnections/421f0b00-bad1-454d-b3c5-8864182de29d" } ], [ { "id": "sanitized", - "source": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "source": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "type": "Microsoft.Communication.CallDisconnected", "data": { - "eventSource": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617", + "eventSource": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d", "version": "2023-10-03-preview", - "callConnectionId": "401f0700-383c-430b-8294-b15170b76617", + "callConnectionId": "421f0b00-df51-4e90-a348-c1afd0559a7d", "serverCallId": "sanitized", "correlationId": "sanitized", "publicEventType": "Microsoft.Communication.CallDisconnected" }, - "time": "2024-01-04T13:58:03.7504511+00:00", + "time": "2024-03-08T21:39:23.2892567+00:00", "specversion": "1.0", "datacontenttype": "application/json", - "subject": "calling/callConnections/401f0700-383c-430b-8294-b15170b76617" + "subject": "calling/callConnections/421f0b00-df51-4e90-a348-c1afd0559a7d" } ] ] \ No newline at end of file diff --git a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md index 7a38a844edfd..32f31323e343 100644 --- a/sdk/communication/communication-call-automation/review/communication-call-automation.api.md +++ b/sdk/communication/communication-call-automation/review/communication-call-automation.api.md @@ -65,6 +65,7 @@ export interface AddParticipantSucceeded extends Omit; } +// Warning: (ae-forgotten-export) The symbol "RestAnswerFailed" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export interface AnswerFailed extends Omit { + callConnectionId: string; + correlationId: string; + kind: "AnswerFailed"; + // Warning: (ae-forgotten-export) The symbol "RestResultInformation" needs to be exported by the entry point index.d.ts + resultInformation?: RestResultInformation; + serverCallId: string; +} + // @public export class CallAutomationClient { constructor(connectionString: string, options?: CallAutomationClientOptions); @@ -106,7 +119,7 @@ export interface CallAutomationClientOptions extends CommonClientOptions { } // @public -export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | TeamsComplianceRecordingStateChanged | TeamsRecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed; +export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | TeamsComplianceRecordingStateChanged | TeamsRecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed; // @public export class CallAutomationEventProcessor { @@ -203,7 +216,7 @@ export class CallMedia { playToAll(playSources: (FileSource | TextSource | SsmlSource)[], options?: PlayOptions): Promise; sendDtmfTones(tones: Tone[] | DtmfTone[], targetParticipant: CommunicationIdentifier, options?: SendDtmfTonesOptions): Promise; startContinuousDtmfRecognition(targetParticipant: CommunicationIdentifier, options?: ContinuousDtmfRecognitionOptions): Promise; - startHoldMusic(targetParticipant: CommunicationIdentifier, playSource: FileSource | TextSource | SsmlSource, loop?: boolean, operationContext?: string | undefined): Promise; + startHoldMusic(targetParticipant: CommunicationIdentifier, playSource: FileSource | TextSource | SsmlSource, operationContext?: string | undefined): Promise; // @deprecated startRecognizing(targetParticipant: CommunicationIdentifier, maxTonesToCollect: number, options: CallMediaRecognizeDtmfOptions): Promise; startRecognizing(targetParticipant: CommunicationIdentifier, options: CallMediaRecognizeDtmfOptions | CallMediaRecognizeChoiceOptions | CallMediaRecognizeSpeechOptions | CallMediaRecognizeSpeechOrDtmfOptions): Promise; @@ -423,10 +436,22 @@ export interface ContinuousDtmfRecognitionToneReceived extends Omit { + callConnectionId: string; + correlationId: string; + kind: "CreateCallFailed"; + resultInformation?: RestResultInformation; + serverCallId: string; +} + // @public export interface CreateCallOptions extends OperationOptions { callIntelligenceOptions?: CallIntelligenceOptions; @@ -772,8 +797,6 @@ export interface RemoveParticipantSucceeded extends Omit { code: number; diff --git a/sdk/communication/communication-call-automation/src/callAutomationClient.ts b/sdk/communication/communication-call-automation/src/callAutomationClient.ts index fe8b7390c924..9f2c36f9fa1c 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationClient.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationClient.ts @@ -209,6 +209,13 @@ export class CallAutomationClient { createCallEventResult.isSuccess = true; createCallEventResult.successResult = event; return true; + } else if ( + event.callConnectionId === callConnectionId && + event.kind === "CreateCallFailed" + ) { + createCallEventResult.isSuccess = false; + createCallEventResult.failureResult = event; + return true; } else { return false; } @@ -349,6 +356,11 @@ export class CallAutomationClient { answerCallEventResult.isSuccess = true; answerCallEventResult.successResult = event; return true; + } + if (event.callConnectionId === callConnectionId && event.kind === "AnswerFailed") { + answerCallEventResult.isSuccess = false; + answerCallEventResult.failureResult = event; + return true; } else { return false; } diff --git a/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts b/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts index 5b7b3ac9567a..caa409bfc1f1 100644 --- a/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts +++ b/sdk/communication/communication-call-automation/src/callAutomationEventParser.ts @@ -36,6 +36,8 @@ import { TranscriptionStopped, TranscriptionUpdated, TranscriptionFailed, + CreateCallFailed, + AnswerFailed, } from "./models/events"; import { CloudEventMapper } from "./models/mapper"; @@ -160,6 +162,12 @@ export function parseCallAutomationEvent( case "Microsoft.Communication.TranscriptionFailed": callbackEvent = { kind: "TranscriptionFailed" } as TranscriptionFailed; break; + case "Microsoft.Communication.CreateCallFailed": + callbackEvent = { kind: "CreateCallFailed" } as CreateCallFailed; + break; + case "Microsoft.Communication.AnswerFailed": + callbackEvent = { kind: "AnswerFailed" } as AnswerFailed; + break; default: throw new TypeError(`Unknown Call Automation Event type: ${eventType}`); } diff --git a/sdk/communication/communication-call-automation/src/callMedia.ts b/sdk/communication/communication-call-automation/src/callMedia.ts index 3255431f1c8d..d430bd3a5c3b 100644 --- a/sdk/communication/communication-call-automation/src/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/callMedia.ts @@ -608,19 +608,16 @@ export class CallMedia { * * @param targetParticipant - The targets to play to. * @param playSource - A PlaySource representing the source to play. - * @param loop - To play the audio continously until stopped. * @param operationContext - Operation Context. */ public async startHoldMusic( targetParticipant: CommunicationIdentifier, playSource: FileSource | TextSource | SsmlSource, - loop: boolean = true, operationContext: string | undefined = undefined, ): Promise { const holdRequest: StartHoldMusicRequest = { targetParticipant: serializeCommunicationIdentifier(targetParticipant), playSourceInfo: this.createPlaySourceInternal(playSource), - loop: loop, operationContext: operationContext, }; diff --git a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts index fbd084daecc7..49d60951447f 100644 --- a/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts +++ b/sdk/communication/communication-call-automation/src/eventprocessor/eventResponses.ts @@ -19,6 +19,8 @@ import { CallTransferFailed, CancelAddParticipantSucceeded, CancelAddParticipantFailed, + CreateCallFailed, + AnswerFailed, } from "../models/events"; /** @@ -43,6 +45,8 @@ export interface AnswerCallEventResult { isSuccess: boolean; /** contains success event if the result was successful */ successResult?: CallConnected; + /** contains failure event if the result was failure */ + failureResult?: AnswerFailed; } /** @@ -65,6 +69,8 @@ export interface CreateCallEventResult { isSuccess: boolean; /** contains success event if the result was successful */ successResult?: CallConnected; + /** contains failure event if the result was failure */ + failureResult?: CreateCallFailed; } /** diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts index 302b85cb4f58..e686b118d1ef 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/index.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/index.ts @@ -53,6 +53,8 @@ export interface CommunicationIdentifierModel { phoneNumber?: PhoneNumberIdentifierModel; /** The Microsoft Teams user. */ microsoftTeamsUser?: MicrosoftTeamsUserIdentifierModel; + /** The Microsoft Teams application. */ + microsoftTeamsApp?: MicrosoftTeamsAppIdentifierModel; } /** A user that got created with an Azure Communication Services resource. */ @@ -77,6 +79,14 @@ export interface MicrosoftTeamsUserIdentifierModel { cloud?: CommunicationCloudEnvironmentModel; } +/** A Microsoft Teams application. */ +export interface MicrosoftTeamsAppIdentifierModel { + /** The Id of the Microsoft Teams application. */ + appId: string; + /** The cloud that the Microsoft Teams application belongs to. By default 'public' if missing. */ + cloud?: CommunicationCloudEnvironmentModel; +} + /** Configuration of Media streaming. */ export interface MediaStreamingConfiguration { /** Transport URL for media streaming */ @@ -143,8 +153,8 @@ export interface CallConnectionPropertiesInternal { correlationId?: string; /** Identity of the answering entity. Only populated when identity is provided in the request. */ answeredBy?: CommunicationUserIdentifierModel; - /** The original PSTN target of the incoming Call. */ - originalPstnTarget?: PhoneNumberIdentifierModel; + /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */ + answeredFor?: PhoneNumberIdentifierModel; } /** The Communication Services error. */ @@ -419,16 +429,45 @@ export interface UpdateTranscriptionRequest { locale: string; } +/** The request payload for holding participant from the call. */ +export interface HoldRequest { + /** Participant to be held from the call. */ + targetParticipant: CommunicationIdentifierModel; + /** Prompt to play while in hold. */ + playSourceInfo?: PlaySourceInternal; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; + /** + * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. + */ + operationCallbackUri?: string; +} + +/** The request payload for holding participant from the call. */ +export interface UnholdRequest { + /** + * Participants to be hold from the call. + * Only ACS Users are supported. + */ + targetParticipant: CommunicationIdentifierModel; + /** Used by customers when calling mid-call actions to correlate the request to the response event. */ + operationContext?: string; +} + /** The request payload for holding participant from the call. */ export interface StartHoldMusicRequest { /** Participant to be held from the call. */ targetParticipant: CommunicationIdentifierModel; /** Prompt to play while in hold. */ - playSourceInfo: PlaySourceInternal; - /** If the prompt will be looped or not. */ - loop?: boolean; + playSourceInfo?: PlaySourceInternal; /** Used by customers when calling mid-call actions to correlate the request to the response event. */ operationContext?: string; + /** + * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. + * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used. + */ + operationCallbackUri?: string; } /** The request payload for holding participant from the call. */ @@ -503,6 +542,8 @@ export interface CallParticipantInternal { identifier?: CommunicationIdentifierModel; /** Is participant muted */ isMuted?: boolean; + /** Is participant on hold. */ + isOnHold?: boolean; } /** The request payload for adding participant to the call. */ @@ -1989,6 +2030,92 @@ export interface RestTranscriptionFailed { readonly correlationId?: string; } +/** The CreateCallFailed event */ +export interface RestCreateCallFailed { + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code, sub-code and message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; + /** + * Call connection ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + +/** AnswerFailed event */ +export interface RestAnswerFailed { + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code, sub-code and message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; + /** + * Call connection ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + +export interface RestHoldFailed { + /** + * Used by customers when calling mid-call actions to correlate the request to the response event. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly operationContext?: string; + /** + * Contains the resulting SIP code, sub-code and message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly resultInformation?: RestResultInformation; + /** + * Call connection ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly callConnectionId?: string; + /** + * Server call ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly serverCallId?: string; + /** + * Correlation ID for event to call correlation. Also called ChainId for skype chain ID. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly correlationId?: string; +} + /** Azure Open AI Dialog */ export interface AzureOpenAIDialog extends BaseDialog { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -2021,6 +2148,8 @@ export enum KnownCommunicationIdentifierModelKind { PhoneNumber = "phoneNumber", /** MicrosoftTeamsUser */ MicrosoftTeamsUser = "microsoftTeamsUser", + /** MicrosoftTeamsApp */ + MicrosoftTeamsApp = "microsoftTeamsApp", } /** @@ -2031,7 +2160,8 @@ export enum KnownCommunicationIdentifierModelKind { * **unknown** \ * **communicationUser** \ * **phoneNumber** \ - * **microsoftTeamsUser** + * **microsoftTeamsUser** \ + * **microsoftTeamsApp** */ export type CommunicationIdentifierModelKind = string; @@ -2452,6 +2582,8 @@ export enum KnownTranscriptionStatus { TranscriptionStarted = "transcriptionStarted", /** TranscriptionFailed */ TranscriptionFailed = "transcriptionFailed", + /** TranscriptionResumed */ + TranscriptionResumed = "transcriptionResumed", /** TranscriptionUpdated */ TranscriptionUpdated = "transcriptionUpdated", /** TranscriptionStopped */ @@ -2467,6 +2599,7 @@ export enum KnownTranscriptionStatus { * ### Known values supported by the service * **transcriptionStarted** \ * **transcriptionFailed** \ + * **transcriptionResumed** \ * **transcriptionUpdated** \ * **transcriptionStopped** \ * **unspecifiedError** @@ -2748,6 +2881,14 @@ export type CallMediaSendDtmfTonesResponse = SendDtmfTonesResult; export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {} +/** Optional parameters. */ +export interface CallMediaHoldOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface CallMediaUnholdOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface CallMediaStartHoldMusicOptionalParams extends coreClient.OperationOptions {} @@ -2766,7 +2907,7 @@ export type CallDialogStartDialogResponse = DialogStateResponse; /** Optional parameters. */ export interface CallDialogStopDialogOptionalParams extends coreClient.OperationOptions { - /** Opeation callback URI. */ + /** Operation callback URI. */ operationCallbackUri?: string; } diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts index 275f7ef68f8d..63a7175c1418 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/mappers.ts @@ -129,6 +129,13 @@ export const CommunicationIdentifierModel: coreClient.CompositeMapper = { className: "MicrosoftTeamsUserIdentifierModel", }, }, + microsoftTeamsApp: { + serializedName: "microsoftTeamsApp", + type: { + name: "Composite", + className: "MicrosoftTeamsAppIdentifierModel", + }, + }, }, }, }; @@ -193,6 +200,28 @@ export const MicrosoftTeamsUserIdentifierModel: coreClient.CompositeMapper = { }, }; +export const MicrosoftTeamsAppIdentifierModel: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "MicrosoftTeamsAppIdentifierModel", + modelProperties: { + appId: { + serializedName: "appId", + required: true, + type: { + name: "String", + }, + }, + cloud: { + serializedName: "cloud", + type: { + name: "String", + }, + }, + }, + }, +}; + export const MediaStreamingConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", @@ -391,8 +420,8 @@ export const CallConnectionPropertiesInternal: coreClient.CompositeMapper = { className: "CommunicationUserIdentifierModel", }, }, - originalPstnTarget: { - serializedName: "originalPSTNTarget", + answeredFor: { + serializedName: "answeredFor", type: { name: "Composite", className: "PhoneNumberIdentifierModel", @@ -1175,10 +1204,10 @@ export const UpdateTranscriptionRequest: coreClient.CompositeMapper = { }, }; -export const StartHoldMusicRequest: coreClient.CompositeMapper = { +export const HoldRequest: coreClient.CompositeMapper = { type: { name: "Composite", - className: "StartHoldMusicRequest", + className: "HoldRequest", modelProperties: { targetParticipant: { serializedName: "targetParticipant", @@ -1194,10 +1223,61 @@ export const StartHoldMusicRequest: coreClient.CompositeMapper = { className: "PlaySourceInternal", }, }, - loop: { - serializedName: "loop", + operationContext: { + serializedName: "operationContext", type: { - name: "Boolean", + name: "String", + }, + }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const UnholdRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UnholdRequest", + modelProperties: { + targetParticipant: { + serializedName: "targetParticipant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + operationContext: { + serializedName: "operationContext", + type: { + name: "String", + }, + }, + }, + }, +}; + +export const StartHoldMusicRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "StartHoldMusicRequest", + modelProperties: { + targetParticipant: { + serializedName: "targetParticipant", + type: { + name: "Composite", + className: "CommunicationIdentifierModel", + }, + }, + playSourceInfo: { + serializedName: "playSourceInfo", + type: { + name: "Composite", + className: "PlaySourceInternal", }, }, operationContext: { @@ -1206,6 +1286,12 @@ export const StartHoldMusicRequest: coreClient.CompositeMapper = { name: "String", }, }, + operationCallbackUri: { + serializedName: "operationCallbackUri", + type: { + name: "String", + }, + }, }, }, }; @@ -1423,6 +1509,12 @@ export const CallParticipantInternal: coreClient.CompositeMapper = { name: "Boolean", }, }, + isOnHold: { + serializedName: "isOnHold", + type: { + name: "Boolean", + }, + }, }, }, }; @@ -4034,6 +4126,138 @@ export const RestTranscriptionFailed: coreClient.CompositeMapper = { }, }; +export const RestCreateCallFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestCreateCallFailed", + modelProperties: { + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RestAnswerFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestAnswerFailed", + modelProperties: { + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + +export const RestHoldFailed: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "RestHoldFailed", + modelProperties: { + operationContext: { + serializedName: "operationContext", + readOnly: true, + type: { + name: "String", + }, + }, + resultInformation: { + serializedName: "resultInformation", + type: { + name: "Composite", + className: "RestResultInformation", + }, + }, + callConnectionId: { + serializedName: "callConnectionId", + readOnly: true, + type: { + name: "String", + }, + }, + serverCallId: { + serializedName: "serverCallId", + readOnly: true, + type: { + name: "String", + }, + }, + correlationId: { + serializedName: "correlationId", + readOnly: true, + type: { + name: "String", + }, + }, + }, + }, +}; + export const AzureOpenAIDialog: coreClient.CompositeMapper = { serializedName: "AzureOpenAI", type: { diff --git a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts index bba2d0e3de02..b2bc1a702c9a 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/models/parameters.ts @@ -29,6 +29,8 @@ import { ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper, SendDtmfTonesRequest as SendDtmfTonesRequestMapper, UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper, + HoldRequest as HoldRequestMapper, + UnholdRequest as UnholdRequestMapper, StartHoldMusicRequest as StartHoldMusicRequestMapper, StopHoldMusicRequest as StopHoldMusicRequestMapper, StartDialogRequest as StartDialogRequestMapper, @@ -223,6 +225,16 @@ export const updateTranscriptionRequest: OperationParameter = { mapper: UpdateTranscriptionRequestMapper, }; +export const holdRequest: OperationParameter = { + parameterPath: "holdRequest", + mapper: HoldRequestMapper, +}; + +export const unholdRequest: OperationParameter = { + parameterPath: "unholdRequest", + mapper: UnholdRequestMapper, +}; + export const startHoldMusicRequest: OperationParameter = { parameterPath: "startHoldMusicRequest", mapper: StartHoldMusicRequestMapper, diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts index cf6da1fd1803..bee6ed521a63 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callConnection.ts @@ -464,7 +464,7 @@ const muteOperationSpec: coreClient.OperationSpec = { path: "/calling/callConnections/{callConnectionId}/participants:mute", httpMethod: "POST", responses: { - 202: { + 200: { bodyMapper: Mappers.MuteParticipantsResult, }, default: { diff --git a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts index 2725b56d1313..c0c7f56357cb 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operations/callMedia.ts @@ -29,6 +29,10 @@ import { CallMediaSendDtmfTonesResponse, UpdateTranscriptionRequest, CallMediaUpdateTranscriptionOptionalParams, + HoldRequest, + CallMediaHoldOptionalParams, + UnholdRequest, + CallMediaUnholdOptionalParams, StartHoldMusicRequest, CallMediaStartHoldMusicOptionalParams, StopHoldMusicRequest, @@ -198,6 +202,40 @@ export class CallMediaImpl implements CallMedia { ); } + /** + * Hold participant from the call using identifier. + * @param callConnectionId The call connection id. + * @param holdRequest The participants to be hold from the call. + * @param options The options parameters. + */ + hold( + callConnectionId: string, + holdRequest: HoldRequest, + options?: CallMediaHoldOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { callConnectionId, holdRequest, options }, + holdOperationSpec, + ); + } + + /** + * Unhold participants from the call using identifier. + * @param callConnectionId The call connection id. + * @param unholdRequest The participants to be hold from the call. + * @param options The options parameters. + */ + unhold( + callConnectionId: string, + unholdRequest: UnholdRequest, + options?: CallMediaUnholdOptionalParams, + ): Promise { + return this.client.sendOperationRequest( + { callConnectionId, unholdRequest, options }, + unholdOperationSpec, + ); + } + /** * Hold participant from the call using identifier. * @param callConnectionId The call connection id. @@ -384,6 +422,38 @@ const updateTranscriptionOperationSpec: coreClient.OperationSpec = { mediaType: "json", serializer, }; +const holdOperationSpec: coreClient.OperationSpec = { + path: "/calling/callConnections/{callConnectionId}:hold", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CommunicationErrorResponse, + }, + }, + requestBody: Parameters.holdRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.endpoint, Parameters.callConnectionId], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer, +}; +const unholdOperationSpec: coreClient.OperationSpec = { + path: "/calling/callConnections/{callConnectionId}:unhold", + httpMethod: "POST", + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CommunicationErrorResponse, + }, + }, + requestBody: Parameters.unholdRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.endpoint, Parameters.callConnectionId], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer, +}; const startHoldMusicOperationSpec: coreClient.OperationSpec = { path: "/calling/callConnections/{callConnectionId}:startHoldMusic", httpMethod: "POST", diff --git a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts index 40e0281bee7b..63a2a9419233 100644 --- a/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts +++ b/sdk/communication/communication-call-automation/src/generated/src/operationsInterfaces/callMedia.ts @@ -24,6 +24,10 @@ import { CallMediaSendDtmfTonesResponse, UpdateTranscriptionRequest, CallMediaUpdateTranscriptionOptionalParams, + HoldRequest, + CallMediaHoldOptionalParams, + UnholdRequest, + CallMediaUnholdOptionalParams, StartHoldMusicRequest, CallMediaStartHoldMusicOptionalParams, StopHoldMusicRequest, @@ -129,6 +133,28 @@ export interface CallMedia { updateTranscriptionRequest: UpdateTranscriptionRequest, options?: CallMediaUpdateTranscriptionOptionalParams, ): Promise; + /** + * Hold participant from the call using identifier. + * @param callConnectionId The call connection id. + * @param holdRequest The participants to be hold from the call. + * @param options The options parameters. + */ + hold( + callConnectionId: string, + holdRequest: HoldRequest, + options?: CallMediaHoldOptionalParams, + ): Promise; + /** + * Unhold participants from the call using identifier. + * @param callConnectionId The call connection id. + * @param unholdRequest The participants to be hold from the call. + * @param options The options parameters. + */ + unhold( + callConnectionId: string, + unholdRequest: UnholdRequest, + options?: CallMediaUnholdOptionalParams, + ): Promise; /** * Hold participant from the call using identifier. * @param callConnectionId The call connection id. diff --git a/sdk/communication/communication-call-automation/src/models/events.ts b/sdk/communication/communication-call-automation/src/models/events.ts index fb57b6f120b1..a314b5d092f4 100644 --- a/sdk/communication/communication-call-automation/src/models/events.ts +++ b/sdk/communication/communication-call-automation/src/models/events.ts @@ -35,6 +35,8 @@ import { RestTranscriptionStopped, RestTranscriptionUpdated, RestTranscriptionFailed, + RestCreateCallFailed, + RestAnswerFailed, } from "../generated/src/models"; import { CallParticipant } from "./models"; @@ -69,7 +71,9 @@ export type CallAutomationEvent = | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated - | TranscriptionFailed; + | TranscriptionFailed + | CreateCallFailed + | AnswerFailed; export interface ResultInformation extends Omit { @@ -597,3 +601,37 @@ export interface TranscriptionFailed /** kind of this event. */ kind: "TranscriptionFailed"; } + +export interface CreateCallFailed + extends Omit< + RestCreateCallFailed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** kind of this event. */ + kind: "CreateCallFailed"; +} + +export interface AnswerFailed + extends Omit< + RestAnswerFailed, + "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" + > { + /** Call connection ID. */ + callConnectionId: string; + /** Server call ID. */ + serverCallId: string; + /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */ + correlationId: string; + /** Contains the resulting SIP code, sub-code and message. */ + resultInformation?: RestResultInformation; + /** kind of this event. */ + kind: "AnswerFailed"; +} diff --git a/sdk/communication/communication-call-automation/swagger/README.md b/sdk/communication/communication-call-automation/swagger/README.md index 8f8f05be31a6..105deb9eb6b5 100644 --- a/sdk/communication/communication-call-automation/swagger/README.md +++ b/sdk/communication/communication-call-automation/swagger/README.md @@ -13,7 +13,7 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated tag: package-2023-10-03-preview require: - - https://github.com/Azure/azure-rest-api-specs/blob/384aedb56cfbadfa16ccb35737eab58dfeae81c5/specification/communication/data-plane/CallAutomation/readme.md + - https://github.com/Azure/azure-rest-api-specs/blob/77d25dd8426c4ba1619d15582a8c9d9b2f6890e8/specification/communication/data-plane/CallAutomation/readme.md package-version: 1.2.0-beta.1 model-date-time-as-string: false optional-response-headers: true @@ -155,4 +155,13 @@ directive: - rename-model: from: TranscriptionFailed to: RestTranscriptionFailed + - rename-model: + from: CreateCallFailed + to: RestCreateCallFailed + - rename-model: + from: AnswerFailed + to: RestAnswerFailed + - rename-model: + from: HoldFailed + to: RestHoldFailed ``` diff --git a/sdk/communication/communication-call-automation/test/callAutomationClient.spec.ts b/sdk/communication/communication-call-automation/test/callAutomationClient.spec.ts index c40d9a9c6213..f6db51af1dab 100644 --- a/sdk/communication/communication-call-automation/test/callAutomationClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callAutomationClient.spec.ts @@ -302,7 +302,7 @@ describe("Call Automation Main Client Live Tests", function () { await receiverCallAutomationClient.rejectCall(incomingCallContext); } - const callDisconnectedEvent = await waitForEvent("CallDisconnected", callConnectionId, 8000); - assert.isDefined(callDisconnectedEvent); + const createCallFailedEvent = await waitForEvent("CreateCallFailed", callConnectionId, 8000); + assert.isDefined(createCallFailedEvent); }).timeout(60000); }); diff --git a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts index d583e98ec145..f34ab2313dc0 100644 --- a/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts +++ b/sdk/communication/communication-call-automation/test/callMediaClient.spec.ts @@ -346,7 +346,6 @@ describe("CallMedia Unit Tests", async function () { assert.equal(data.targetParticipant.rawId, CALL_TARGET_ID); assert.equal(data.playSourceInfo.kind, "text"); assert.equal(data.playSourceInfo.text.text, playSource.text); - assert.equal(data.loop, true); assert.equal(request.method, "POST"); });