diff --git a/sdk/communication/Azure.Communication.CallAutomation/src/CallConnection.cs b/sdk/communication/Azure.Communication.CallAutomation/src/CallConnection.cs index 49f19df4af8be..f4ac656f77209 100644 --- a/sdk/communication/Azure.Communication.CallAutomation/src/CallConnection.cs +++ b/sdk/communication/Azure.Communication.CallAutomation/src/CallConnection.cs @@ -296,6 +296,8 @@ private static TransferToParticipantRequestInternal CreateTransferToParticipantR request.TransfereeCallerId = options.CallInvite.SourceCallerIdNumber == null ? null : new PhoneNumberIdentifierModel(options.CallInvite.SourceCallerIdNumber.PhoneNumber); + request.CustomContext = new CustomContextInternal(); + foreach (var sipHeader in options.CallInvite.SipHeaders) { request.CustomContext.SipHeaders.Add(sipHeader.Key, sipHeader.Value);