May 11 2021 09:45 AM
May 11 2021 09:45 AM
Lately I was working with direct routing and I was a bit surprised to see that Teams is sending 'privacy' header in all cases when ForwardPAI is marked as $true. Others guidelines to remove that header on the SBC. Also similar issues with header: P-Asserted-Identity
What kind standards Teams is following with these, and have you though to offer us better control for the SIP messages? E.g. in our case those PAI headers were not accepted by operator.
May 11 2021 07:14 PM
Once Tenant Administrator set the value of the "ForwardPAI" to true when configure an SBC, for example
Set-csoninePSTNGateway -Identity sbc1.contoso.com -ForwardPAI $true, the Direct Routing will always add Privacy:ID with P-Asserted-Identity according to section 7 of RFC 3325 Private Extension to the Session Initiation Protocol for asserted identity within Trusted Networks.
Section 7 of RFC 3325
Parties who wish to request the removal of P-Asserted-Identity header fields before they are transmitted to an element that is not trusted may add the "id" privacy token defined in this document to the Privacy header field. The Privacy header field is defined in . If this token is present, proxies MUST remove all the P-Asserted- Identity header fields before forwarding messages to elements that are not trusted. If the Privacy header field value is set to "none" then the proxy MUST NOT remove the P-Asserted-Identity header fields.
When a proxy is forwarding the request to an element that is not trusted and there is no Privacy header field, the proxy MAY include the P-Asserted-Identity header field or it MAY remove it. This decision is a policy matter of the Trust Domain and MUST be specified in Spec(T). It is RECOMMENDED that the P-Asserted-Identity header fields SHOULD NOT be removed unless local privacy policies prevent it, because removal may cause services based on Asserted Identity to fail.
By always including Privacy:ID Microsoft relies on the customers to judge if the P-Asserted-Identity must or must not be striped. If Privacy:ID is not included when SBC MUST send it to other network regardless it the network is trusted or not.
Therefore, Microsoft always includes the Privacy:ID and let customers to judge is they want or don't want to strip the P-Asserted-Identity when sending it to other networks
Nov 22 2021 09:16 AM
Could you link out to official Microsoft documentation on where you are getting this info from? Not the RFC details, the before and after though.