You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates suggested from Azure Board SDK review (Azure#29953)
* Updates suggested from Azure Board SDK review:
- CallConnectionClient and CallRecordingClient suffix 'Client' removed
- Azure.Communication.CallingServer.Models namespace removed
- CallConnectionClient and CallContentClient combined
- Hangup and Terminate combined. Hangup now expects boolean to either hangup, or terminate the call
- GetCallConnectionProperties now under CallConnectionClient
- GetCallConnectionProperties renamed to GetProperties
- ...Response suffix updated to be ...Result suffix (i.e. TransferCallToParticipantResponse -> TransferCallToParticipantResult)
- AlternateCallerId renamed
- All Options constructor doesn't take optional value as input
- GetParticipants now accepts participantMri string
- OperationResponse removed
- PlayMedia updated to accept PlaySource's derived class (FileSource)
- Added many Internal models to hide generated models that contoso do not need
- AnswerCall and CreateCall now returns Result. This object now contains both CallProperties & CallConnectionClient
- CreateCall now accepts subject instead of option that contains only 1 value
- ...Type suffix now dropped. (i.e. RecordingContentType -> RecordingContent)
- ServerCallingModelFactory to include all read-only models
- Autorest regenerated with latest swagger
- Tests updated to accomodate latest changes
- Summaries of each methods updated to accomodate latest changes
- README.md updated to accomodate latest changes
* regenerated clients (rebase from main)
Co-authored-by: Min Woo Lee 🧊 <[email protected]>
Copy file name to clipboardExpand all lines: sdk/communication/Azure.Communication.CallingServer/README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ You need an [Azure subscription][azure_sub] and a [Communication Service Resourc
18
18
To create a new Communication Service, you can use the [Azure Portal][communication_resource_create_portal], the [Azure PowerShell][communication_resource_create_power_shell], or the [.NET management client library][communication_resource_create_net].
19
19
20
20
### Key concepts
21
-
`CallingServerClient` provides the functionality to make call connection, join call connection, answer incoming call or initialize a server call.
21
+
`CallingServerClient` provides the functionality to answer incoming call or initialize an outbound call.
22
22
23
23
### Using statements
24
24
```C#
@@ -44,20 +44,20 @@ var client = new CallingServerClient(endpoint, tokenCredential);
44
44
45
45
## Examples
46
46
### Make a call to a phone number recipient
47
-
To make an outbound call, call the `CreateCallConnection` or `CreateCallConnectionAsync` function from the `CallingServerClient`.
47
+
To make an outbound call, call the `CreateCall` or `CreateCallAsync` function from the `CallingServerClient`.
48
48
```C#
49
-
varcreateCallOption=newCreateCallOptions(
50
-
AlternateCallerId: newPhoneNumberIdentifier("<caller-id-phonenumber>") //E.164 formatted recipient phone number
49
+
CallSourcecallSource=newCallSource(
50
+
newCommunicationUserIdentifier("<source-identifier>"),//Your Azure Communication Resource Guid Id used to make a Call
51
51
);
52
+
callSource.CallerId=newPhoneNumberIdentifier("<caller-id-phonenumber>") // E.164 formatted recipient phone number
Copy file name to clipboardExpand all lines: sdk/communication/Azure.Communication.CallingServer/api/Azure.Communication.CallingServer.netstandard2.0.cs
0 commit comments