From f46e9861cb63fc090c05efdc89b25d00b2ed878f Mon Sep 17 00:00:00 2001 From: abhishesingh-msft <123186776+abhishesingh-msft@users.noreply.github.com> Date: Thu, 19 Oct 2023 23:40:51 +0530 Subject: [PATCH] Add Setter to CallInvite to allow pstn to pstn tranfer call (#39397) --- .../api/Azure.Communication.CallAutomation.netstandard2.0.cs | 2 +- .../Azure.Communication.CallAutomation/src/Models/CallInvite.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs b/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs index 5a7c2313cb32..28496c749c9b 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/api/Azure.Communication.CallAutomation.netstandard2.0.cs @@ -268,7 +268,7 @@ public CallInvite(Azure.Communication.CommunicationUserIdentifier targetIdentity public CallInvite(Azure.Communication.MicrosoftTeamsUserIdentifier targetIdentity) { } public CallInvite(Azure.Communication.PhoneNumberIdentifier targetPhoneNumberIdentity, Azure.Communication.PhoneNumberIdentifier callerIdNumber) { } public Azure.Communication.CallAutomation.CustomContext CustomContext { get { throw null; } } - public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } } + public Azure.Communication.PhoneNumberIdentifier SourceCallerIdNumber { get { throw null; } set { } } public string SourceDisplayName { get { throw null; } set { } } public Azure.Communication.CommunicationIdentifier Target { get { throw null; } } } diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallInvite.cs b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallInvite.cs index c34ddbbf08bc..53349a04db6a 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallInvite.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/Models/CallInvite.cs @@ -52,7 +52,7 @@ public CallInvite(MicrosoftTeamsUserIdentifier targetIdentity) /// The caller ID number to appear on target PSTN callee. /// /// - public PhoneNumberIdentifier SourceCallerIdNumber { get; } + public PhoneNumberIdentifier SourceCallerIdNumber { get; set; } /// /// The display name to appear on target callee.