Edit

Share via


ResponseCode Class

Definition

Represents possible well-known response codes that can be used when sending responses.

public ref class ResponseCode abstract sealed
public static class ResponseCode
type ResponseCode = class
Public Class ResponseCode
Inheritance
ResponseCode

Fields

Accepted

Refer accepted. (202)

AddressIncomplete

The Request-URI is incomplete. (484)

AlternativeService

The call was not successful, but alternative services are possible. (380)

Ambiguous

The Request-URI was ambiguous. (485)

BadCallLeg

The call leg (that is, call context) does not exist or has been cleaned up. (481)

BadEvent

The server did not understand the event package specified in a "Event" header field. (489)

BadExtension

Bad extension. The Proxy-Require or Require header filed is not understood. (420)

BadGateway

Bad Gateway. (502)

BadRequest

The request could not be understood due to malformed syntax. (400)

BusyEverywhere

The callee's end system was contacted successfully but the callee is busy and does not wish to take the call at this time. This response is returned only if the client knows that no other endpoint will answer the request. Using BusyHere is the best way to decline an Invite most of the time. (600)

BusyHere

The receiving system was contacted successfully but it is currently not willing or able to take additional calls. (486)

Conflict

The request could not be completed due to a conflict with the current state of the resource. (409)

DeclineAll

The user wants to decline a signaling session everywhere including call routing. (605)

DeclineEverywhere

Used when the client wants to decline a signaling invitation at all forked locations. It is rare that a client would want to do this unless it knows somehow that all clients do not want to connect. Using BusyHere is the best way to decline an Invite most of the time. (603)

DoesNotExistAnywhere

The user does not exist anywhere. (604)

ExtensionRequired

A required extension is missing in the Supported header of the request. (421)

FlowFailed

The route set of dialog is invalid and must be updated. (430)

Forbidden

Forbidden. The request should not be repeated. (403)

Forwarded

Represents the provisional Call-Forwarded response. (181)

InternalServerError

Internal server error. (500)

IntervalTooBrief

The expiration time of the resource request is too short. (423)

LoopDetected

A loop has been detected. (482)

MaximumFailureResponseCode

The largest possible valid failure response code. Can be used for validating the range of the response codes. (699)

MaximumProvisionalResponseCode

Maximum valid provisional response code. Can be used to validate ranges of response codes. (199)

MaximumRedirectResponseCode

Maximum redirect response code. Can be used for validating response code ranges. (399)

MaximumResponseCode

The largest possible valid response code. Can be used for validating the range of the response codes. (699)

MaximumSuccessfulResponseCode

Maximum successful response code. Can be used for validating ranges of response codes. (299)

MessageTooLarge

The message is too large. (513)

MethodNotAllowed

The method is not allowed. (405)

MinimumFailureResponseCode

Minimum response code indicating failure. Can be used to validate response codes. (400)

MinimumProvisionalResponseCode

Minimum provisional response code. Can be used to validate ranges of response codes. (100)

MinimumRedirectResponseCode

Minimum redirect response code. Can be used for validating ranges of response codes. (300)

MinimumResponseCode

Minimum valid response code. Can be used to validate ranges of response codes. (100)

MinimumSuccessfulResponseCode

Minimum successful response code. (200)

MovedPermanently

The user is no longer available. (301)

MultipleChoices

Multiple Choices. (300)

None

Indicates invalid response code fields.

NotAcceptable

Could not find a compatible Accept: header. (406)

NotAcceptableHere

SDP is not acceptable, or is in an invalid format, or is not supported. (488)

NotAcceptableMedia

Media not acceptable. (606)

NotFound

The user does not exist at the domain specified. (404)

NotImplemented

Feature is not implemented. (501)

ProgressReport

Represents the provisional progress report. (101)

ProxyAuthenticationRequired

Proxy authentication is required. (407)

ProxyShouldRedirect

Proxy should redirect. (303)

Queued

Represents the provisional Queued response. (182)

RedirectResponseCode

The user has moved temporarily. Retry at the contact header specified. (302)

RequestPending

Request pending. (491)

RequestTerminated

The request was terminated by a BYE or CANCEL. (487)

RequestTimeout

The request could not be fullfilled in a suitable amount of time. (408)

RequestTooLarge

The request entity body is too large. (413)

RequestUriTooLong

The request URI is too long. (414)

ResourceGone

The requested resource is no longer available. (410)

Ringing

Represents the provisional Ringing response. (180)

ServerTimeout

Server time-out. (504)

ServiceUnavailable

Service unavailable. (503)

SessionProgress

Represents the provisional SessionInProgress response. (183)

SessionTimerTooSmall

The session timer indicated in the message is too small. (422)

Success

Successful. (200)

TemporarilyUnavailable

The user is unavailable. (480)

TooManyHops

Too many hops are detected. (483)

Trying

Represents the provisional Trying response. (100)

Unauthorized

The request requires user authentication. (401)

UnsupportedMediaType

The media type is unsupported. (415)

UnsupportedUriScheme

The scheme of the URI in the request URI is unknown. (416)

UseProxy

Proxy must be used to access the requested resource. (305)

VersionNotSupported

The SIP protocol version is not supported. (505)

Methods

IsEndToEndProvisional(Int32)

Returns true if the provisional response code is a provisional, that is not hop by hop.

IsFailureResponse(Int32)

Returns true if the response code is in the range of failure responses; otherwise false. A return value of false does not necessarily indicate that the response code indicates success.

IsHopByHopProvisional(Int32)

Returns true if the provisional response code is used on directly connected SIP entities.

IsProvisionalResponse(Int32)

Returns true if the response code is in the range of provisional responses; otherwise false.

IsRedirectResponse(Int32)

Returns true if the response code is in the range of redirect responses; otherwise false.

IsSuccessfulResponse(Int32)

Returns true if the response is in the range of successful responses; otherwise false. A return value of false does not necessarily mean it is a failure response.

Applies to