Skip to content

Commit 618814b

Browse files
Merge pull request #286637 from alvin-l-han/main
Adding references to CreateCallFailed event (AA ask)
2 parents 8bfd719 + eb0c86a commit 618814b

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

articles/communication-services/concepts/call-automation/call-automation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ The Call Automation events are sent to the web hook callback URI specified when
147147
| ----------------- | ------------ |
148148
| CallConnected | The call has successfully started (when using Answer or Create action) or your application has successfully connected to an ongoing call (when using Connect action)|
149149
| CallDisconnected | Your application has been disconnected from the call |
150+
| CreateCallFailed (in preview)| The call that your application has initiated could not be created |
150151
| ConnectFailed | Your application failed to connect to a call (for connect call action only)|
151152
| CallTransferAccepted | Transfer action has successfully completed and the transferee is connected to the target participant |
152153
| CallTransferFailed | The transfer action has failed |

articles/communication-services/how-tos/call-automation/actions-for-call-control.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ The response provides you with CallConnection object that you can use to take fu
166166
2. `ParticipantsUpdated` event that contains the latest list of participants in the call.
167167
![Sequence diagram for placing an outbound call.](media/make-call-flow.png)
168168

169+
In the case where the call fails, you will receive a `CallDisconnected` and `CreateCallFailed` event with error codes for further troubleshooting.
170+
169171
## Connect to a call (in preview)
170172

171173
Connect action enables your service to establish a connection with an ongoing call and take actions on it. This is useful to manage a Rooms call or when client applications started a 1:1 or group call that Call automation isn't part of. Connection is established using the CallLocator property and can be of types: ServerCallLocator, GroupCallLocator, and RoomCallLocator. These IDs can be found when the call is originally established or a Room is created, and also published as part of [CallStarted](./../../../event-grid/communication-services-voice-video-events.md#microsoftcommunicationcallstarted) event.

articles/communication-services/how-tos/call-automation/handle-events-with-event-processor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ CreateCallEventResult eventResult = await createCallResult.WaitForEventProcessor
6969
CallConnected returnedEvent = eventResult.SuccessResult;
7070
```
7171

72-
With EventProcessor, we can easily wait CallConnected event until the call is established. If the call was never established (that is, callee never picked up the phone), it throws Timeout Exception.
72+
With EventProcessor, we can easily wait CallConnected event until the call is established. If the call was never established (that is, callee never picked up the phone), it throws Timeout Exception. If the creation of the call otherwise fails, you will receive the `CallDisconnected` and `CreateCallFailed` events with error codes to further troubleshoot.
7373

7474
> [!NOTE]
7575
> If specific timeout was not given when waiting on EventProcessor, it will wait until its default timeout happens. The default timeout is 4 minutes.

articles/communication-services/resources/troubleshooting/voice-video-calling/includes/codes/call-automation-sdk.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ The following error codes are exposed by the Call Automation SDK.
2828
| | 500 | Internal server error | | Retry after a delay. If it persists, raise a support ticket. |
2929
| | 500 | Play Failed | | File a support request through the Azure portal. |
3030
| | 500 | Recognize Failed | | Check error message and confirm the audio file format is valid (WAV, 16 KHz, Mono). If the file format is valid, file a support request through Azure portal. |
31-
| | 502 | Bad gateway | | Retry after a delay with a fresh http client. |
31+
| | 502 | Bad gateway | | Retry after a delay with a fresh http client. |
32+
| | 503,504 | Communication Services infrastructure error. | | File a support request through the Azure portal. |

0 commit comments

Comments
 (0)