Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
understanding-SIP.pdf
Скачиваний:
118
Добавлен:
01.03.2016
Размер:
4 Мб
Скачать
☆

120

SIP: Understanding the Session Initiation Protocol

event state compositor returns a 412 Conditional Request Failed response [5]. A publishing UA receiving this response code knows that the stored entity tag is no longer valid. As a result, a publication without the entity tag must be performed.

5.4.14 413 Request Entity Too Large

This response can be used by a proxy to reject a request with a message body that is too large. A proxy suffering congestion could temporarily generate this response to save processing long requests.

5.4.15 414 Request-URI Too Long

This response indicates that the Request-URI in the request was too long and cannot be processed correctly. There is no maximum length defined for a Re- quest-URI in the SIP standard document.

5.4.16 415 Unsupported Media Type

This response sent by a user agent indicates that the media type contained in the INVITE request is not supported. For example, a request for a video conference to a PSTN gateway that only handles telephone calls will result in this response. The response should contain header fields to help the UAC reformulate the request.

5.4.17 416 Unsupported URI Scheme

The 416 Unsupported URI Scheme response is used when a UAC uses a URI scheme in a Request-URI that the UAS does not understand. For example, if a Request-URI contains a secure SIP (sips) scheme that a proxy does not understand, it would return a 416 response. Since all SIP elements must understand the sip scheme, the request should be retried using a sip uri in the Request-URI.

5.4.18 417 Unknown Resource Priority

A request containing Require: resource-priority and an unknown value for

Resource-Priority header field will receive the 417 Unknown Resource Priority

response [6]. A 417 response may contain an Accept-Resource-Priority header field listing supported values. The request can be retried either without the Require: resource-priority header field or containing a value chosen from the

Accept-Resource-Priority in the Resource-Priority header field.

SIP Response Messages

121

5.4.19 420 Bad Extension

This response indicates that the extension specified in the Require header field is not supported by the proxy or UA. The response should contain a Supported header field listing the extensions that are supported. The UAC could resubmit the same request without the extension in the Require header field or submit the request to another proxy or UA.

5.4.20 421 Extension Required

The 421 Extension Required response indicates that a server requires an extension to process the request that was not present in a Supported header field in the request. The required extension should be listed in a Required header field in the response. The client should retry the request adding the extension to a Supported header field, or try the request at a different server that may not require the extension.

5.4.21 422 Session Timer Interval Too Small

The 422 Session Timer Interval Too Small response [7] is used to reject a request containing a Session-Expires header field (with too short an interval. The ability to reject short durations is important to prevent excessive re-INVITE or UPDATE traffic. The minimum allowed interval is indicated in the required Min-SE header field. The requestor may retry the request without the Session-Expires header field or with a value less than or equal to the specified minimum.

5.4.22 423 Interval Too Brief

The 423 Interval Too Brief response is returned by a registrar that is rejecting a registration request because the requested expiration time on one or more Contacts is too brief. The response must contain a Min-Expires header field listing the minimum expiration interval that the registrar will accept. A client requesting a too short interval can unnecessarily load a registrar server with registration refresh requests. This response allows a registrar to protect against this.

5.4.23 428 Use Identity Header

The 428 Use Identity Header response [8] is used by a UAS that is requiring the use of enhanced SIP identity. The request should be resent with an Identity header field containing a signature over selected parts of the SIP message.

122

SIP: Understanding the Session Initiation Protocol

5.4.24 429 Provide Referror Identity

The 429 Provide Referror Identity response [9] is used to request that a Referred-By header field be resent with a valid Referred-By security token. The security token is carried as an S/MIME message body. The recipient of this error message (the UA that received and accepted the REFER) should relay this request back to the originator of the REFER by including it in a NOTIFY. The sender of the REFER can then generate the Referred-By security token and include it in the REFER, which would then be copied into the triggered request.

5.4.25 430 Flow Failed

The 430 Flow Failed response [10] is part of the SIP outbound NAT traversal extension. It is used by an edge proxy server to indicate that it has lost the flow (keep alive failure or timeout) to the UA in the request. The proxy should then resend the request using a different flow-id if available. This approach allows a UA to register through multiple proxy servers as described in Section 10.11.3 with a call flow in Figure 10.11.

5.4.26 433 Anonymity Disallowed

The 433 Anonymity Disallowed response [11] is used to indicate that a request has failed due to anonymity. Anonymity might be because of an invalid URI or display name in the From header field, or by the presence of a Privacy header field requesting privacy. This header field provides a similar service to the anonymous call rejecting service in the PSTN.

5.4.27 436 Bad Identity-Info Header

The 436 Bad Identity-Info response [8] is used to indicate that the URI cannot be accessed from an Identity-Info header field. The Identity-Info header field URI is used to retrieve the certificate associated with the private key that was used to generate the signature in the Identity header field, used for enhanced SIP identity.

5.4.28 437 Unsupported Certificate

The 437 Unsupported Certificate response [8] is used when the certificate obtained using the Identity-Info header field is unable to be used to verify the signature in the Identity header field. This could be because the certificate is expired, not issued by a trusted certificate authority (CA), or for some other reason.

SIP Response Messages

123

5.4.29 438 Invalid Identity Header

The 438 Invalid Identity Header response [8] is used to indicate that the identity signature in the identity header field does not match the message. This could indicate an attack, or that an intermediary server such as a Session Border Controller (SBC) or Application Layer Gateway (ALG) has modified the message since the signature was generated.

5.4.30 439 First Hop Lacks Outbound Support

The 439 First Hop Lacks Outbound Support response [10] is used by a registrar to indicate to a UA attempting to use the SIP outbound extension that the edge proxy does not support the mechanism, and as a result the mechanism cannot be used.

5.4.31 440 Max-Breadth Exceeded

The 440 Max-Breadth Exceeded response [12] is used to indicate that a forking proxy operation cannot be carried out due to too many concurrent branches. This is part of an extension to address an amplification vulnerability in forking proxy servers. The full description of the attack and how to protect against it is in

[12]. When the Max-Breadth count goes to zero, the 440 Max-Breadth Exceeded

response is returned.

5.4.32 470 Consent Needed

The 470 Consent Needed response [13] is used to reject a request sent to a URI list that had at least one element requiring consent. The elements needing consent will be listed in a Permission-Missing header field.

5.4.33 480 Temporarily Unavailable

This response indicates that the request has reached the correct destination, but the called party is not available for some reason. The reason phrase should be modified for this response to give the caller a better understanding of the situation. The response should contain a Retry-After header indicating when the request may be able to be fulfilled. For example, this response could be sent when a telephone has its ringer turned off, or a “do not disturb” button has been pressed. This response can also be sent by a redirect server.

5.4.34 481 Dialog/Transaction Does Not Exist

This response indicates that a response referencing an existing call or transaction has been received for which the server has no records or state information.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]