Carrying Q.850 Codes in Reason Header Fields in SIP (Session Initiation Protocol) Responses
Extracted elements (5)
The Reason header field is not needed in 100 (Trying) responses because they are transmitted hop by hop, not end to end. This exclusion explains why only the 100 response is carved out from the general allowance.
SIP responses with Reason header fields carrying values other than Q.850 cause codes are outside the scope of this document. This specification only normatively addresses Q.850 cause codes in the Reason header field.
Any SIP response message, with the exception of a 100 (Trying), MAY contain a Reason header field with a Q.850 cause code.
The Reason header field, originally defined in RFC 3326, is extended by this document to be usable in SIP responses carrying Q.850 PSTN cause codes from INVITE requests gatewayed to PSTN systems.
A wrong Q.850 cause code in the Reason header field could cause unintended behavior, such as an announcement system playing incorrect information. It is RECOMMENDED that the Reason header field be protected by a suitable integrity mechanism such as TLS or IPsec.