Skip to content

Commit 8f89c65

Browse files
Merge pull request #225502 from pavelprystinka/calling-troubleshooting
Update calling troubleshooting
2 parents 8346378 + 97a377c commit 8f89c65

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

articles/communication-services/concepts/ui-library/includes/mobile-ui-use-cases.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ Call and chat client libraries must have the context for the call they join. Lik
127127

128128
## Troubleshooting guide
129129

130-
[!INCLUDE [Public Preview Notice](../../../includes/public-preview-include.md)]
131-
132130
When troubleshooting happens for voice or video calls, you may be asked to provide a **CallID**; this ID is used to identify Communication Services calls.
133131

134132
This CallID can be retrieved via the action bar on the bottom of the call screen; you'll see an ellipsis button; once the user performs the tap action an option of ***"Share diagnostics info"***; the user will have the capability to share **the diagnostics info** that will be required to track any issues by the support team.

articles/communication-services/how-tos/ui-library-sdk/includes/troubleshooting/android.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,29 @@ Azure Communication UI [open source library](https://github.com/Azure/communicat
1111

1212
### Get debug information
1313

14-
When troubleshooting happens for voice or video calls, user may be asked to provide a CallID; this ID is used to identify Communication Services calls.
14+
When troubleshooting happens for voice or video calls, user may be asked to provide a CallID; this ID is used to identify Communication Services calls. Every call may have multiple Call Ids.
1515

16-
CallID can be retrieved from `CallComposite`:
16+
Call ID can be retrieved from `CallComposite`:
1717

1818
#### [Kotlin](#tab/kotlin)
1919

2020
```kotlin
2121
val callComposite: CallComposite = CallCompositeBuilder().build()
2222
...
23-
val debugInfo = callComposite.debugInfo
24-
val lastCallId = debugInfo.lastCallId
23+
val callHistoryRecords = callComposite.getDebugInfo(context).callHistoryRecords
24+
val callHistoryRecord = callHistoryRecords.lastOrNull()
25+
val callDate = callHistoryRecord.callStartedOn
26+
val callIds = callHistoryRecord.callIds
2527
```
2628

2729
#### [Java](#tab/java)
2830

2931
```java
3032
CallComposite callComposite = new CallCompositeBuilder().build();
3133
...
32-
CallCompositeDebugInfo debugInfo = callComposite.getDebugInfo();
33-
String lastCallId = debugInfo.getLastCallId();
34+
35+
List<CallCompositeCallHistoryRecord> callHistoryRecords = callComposite.getDebugInfo(context).getCallHistoryRecords();
36+
CallCompositeCallHistoryRecord callHistoryRecord = callHistoryRecords.get(callHistoryRecords.size() - 1);
37+
LocalDateTime callDate = callHistoryRecord.getCallStartedOn();
38+
List<String> callIds = callHistoryRecord.getCallIds();
3439
```

articles/communication-services/how-tos/ui-library-sdk/includes/troubleshooting/ios.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@ ms.service: azure-communication-services
99

1010
Azure Communication UI [open source library](https://github.com/Azure/communication-ui-library-ios) for iOS and the sample application code can be found [here](https://github.com/Azure-Samples/communication-services-ios-quickstarts/tree/main/ui-chat)
1111

12-
### Debug information
12+
### Get debug information
1313

14-
`DebugInfo` is an object that contains debug information for the current CallComposite object.
14+
When troubleshooting happens for voice or video calls, user may be asked to provide a CallID; this ID is used to identify Communication Services calls. Every call may have multiple Call Ids.
1515

16-
Call ID is used to identify Communication Services calls. `currentOrLastCallId` is an ID of the current or last call for the current CallComposite object. When a CallComposite object is created and a call isn't started yet, `currentOrLastCallId` will return `nil` value. The call ID value will be set when a call is started. The value will be preserved until a new call is started or CallComposite instance is deallocated.
17-
18-
The debug information can be retrieved from `CallComposite`:
16+
Call ID can be retrieved from `CallComposite`:
1917

2018
```swift
2119
let callComposite = CallComposite()
2220
...
2321
let debugInfo = callComposite.debugInfo
24-
let currentOrLastCallId = debugInfo.currentOrLastCallId
22+
let callHistoryRecords = debugInfo.callHistoryRecords
23+
let callHistoryRecord = callHistoryRecords.last
24+
let callDate = callHistoryRecord?.callStartedOn
25+
let callIds = callHistoryRecord?.callIds
2526
```

articles/communication-services/quickstarts/ui-library/includes/get-started-call/ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In Xcode, create a new project:
4848

4949
target 'UILibraryQuickStart' do
5050
use_frameworks!
51-
pod 'AzureCommunicationUICalling', '1.1.0'
51+
pod 'AzureCommunicationUICalling', '1.2.0'
5252
end
5353
```
5454

0 commit comments

Comments
 (0)