diff --git a/src/Bandwidth.Standard.Test/Unit/Model/Bxml/TestTransfer.cs b/src/Bandwidth.Standard.Test/Unit/Model/Bxml/TestTransfer.cs index 30bdf903..838de951 100644 --- a/src/Bandwidth.Standard.Test/Unit/Model/Bxml/TestTransfer.cs +++ b/src/Bandwidth.Standard.Test/Unit/Model/Bxml/TestTransfer.cs @@ -10,7 +10,7 @@ public class TestTransfer [Fact] public void TransferTest() { - var expected = " +15551234567 sip:1-999-123-4567@voip-provider.example.net "; + var expected = " +15551234567 sip:1-999-123-4567@voip-provider.example.net "; var phoneNumber = new PhoneNumber(); phoneNumber.Number = "+15551234567"; @@ -35,6 +35,8 @@ public void TransferTest() transfer.DiversionTreatment = "none"; transfer.DiversionReason = "user-busy"; transfer.Privacy = true; + transfer.RequestedAttestationLevel = "A"; + transfer.Identity = "abc.def.ghi;info=;alg=ES256;ppt=\"shaken\""; transfer.PhoneNumbers = new PhoneNumber[] { phoneNumber }; transfer.SipUris = new SipUri[] { sipUri }; @@ -44,4 +46,3 @@ public void TransferTest() } } } - diff --git a/src/Bandwidth.Standard/Model/Bxml/Verbs/Transfer.cs b/src/Bandwidth.Standard/Model/Bxml/Verbs/Transfer.cs index 5dbbb6ac..68a69eef 100644 --- a/src/Bandwidth.Standard/Model/Bxml/Verbs/Transfer.cs +++ b/src/Bandwidth.Standard/Model/Bxml/Verbs/Transfer.cs @@ -127,6 +127,18 @@ public string PrivacyAsText set { } } + /// + /// (optional) The STIR/SHAKEN attestation level to sign the transferred call with: A, B, or C. Only applies to accounts using the Hosted Signing Service. + /// + [XmlAttribute("requestedAttestationLevel")] + public string RequestedAttestationLevel { get; set; } + + /// + /// (optional) A SIP Identity header value (PASSporT) signed by the customer, sent unmodified on the transferred call. + /// + [XmlAttribute("identity")] + public string Identity { get; set; } + /// /// Phone numbers to attempt to transfer the call to. ///