3.1.5.1 General Rules
When a request is received from the protocol client, it is processed based on the following rules:
If the request message type is not SIP SERVICE, the request MUST be rejected and an UnsupportedMessageType error response, as defined in section 3.1.5.6, MUST be sent.
If the Content-Type header of the request is not equal to "application/msrtc-media-relay-auth+xml", an UnsupportedContentType error response, as defined in section 3.1.5.6, MUST be sent. The SIP header of the response MUST include an Accept header with the value "application/msrtc-media-relay-auth+xml".
For the previous two rules, the server does not send a XML response in its body. The error codes described in this section indicate the nature of the problem. In the checks that follow, if an error condition occurs, an XML body adhering to conditions described in section 2.2.3 MUST be sent. The reasonPhrase of the error message MUST be as described in the following sections.