SIP 协议消息应答代码
Sip 响应状态码功能对照详解
SIP应答消息状态码与类型状态码状态说明ﻫ临时应答(1XX)100 Trying 正在处理中182queue 排队181call being forwarder呼叫正在前向ﻫ180Ringing振铃ﻫ181* sessionprogress会话进行会话成功(2XX)200OK 会话成功重定向(3XX)300 multiple 多重选择301 moved permanently 永久移动302 movedtemporaily 临时移动305 use proxy 用户代理380 alternative service 替代服务请求失败(4XX) 400bad request 错误请求ﻫ401unauthorized未授权402 payment required 付费要求403 forbidden禁止404 not found 未发现405method no allowed 方法不允许406 not acceptable 不可接受ﻫ407 proxyauthentication required 代理需要认证ﻫ408request timeout请求超时ﻫ410gone离开414request—url too long 请求URL太长ﻫ415413 request entity too large请求实体太大ﻫunsupported media type不支持得媒体类型416unsupportedurl scheme 不支持得URL计划ﻫ420bad extension 不良扩展ﻫ421e xtension required需要扩展481call/tran 423intervaltoo brief间隔太短ﻫ480 temporarily unavailable临时失效ﻫ482loopdetected 发现环路ﻫ483 too m sactiondoes not exist 呼叫/事务不存在ﻫ485ambiguous 不明朗ﻫ486busy 484address inplete 地址不完整ﻫanyhops跳数太多ﻫhere这里忙487requestterminated请求终止ﻫ488not acceptable here 这里请求不可接受491request pending 未决请求493undecipherable不可辨识服务器失败(5XX)500server internal error 服务器内部错误5ﻫ01 notimplemented不可执行502 bad gateway 坏网关503 service unavailable 服务无效ﻫ505version n504servertime-out 服务器超时ﻫotsupported版本不支持513message toolarge 消息太大全局性错误(6XX) 600 busy everywhere 全忙ﻫ603 decline丢弃ﻫ604 does not existany where不存在606 not acceptable不可接受SIP应答代码(以下就是详细内容)应答码就是包含了,并且扩展了/1、1应答码。
SIP协议错误代码大全
SIP协议错误代码大全1. 1xx系列 - 信息响应1. 100 Trying - 接收方正在处理请求,但没有给出最终响应。
2. 180 Ringing - 接收方正在振铃。
3. 183 Session Progress - 接收方已经在处理请求,并且期望发送一个最终响应。
2. 2xx系列 - 成功响应1.200OK-请求成功,客户端应该进行下一步操作。
2. 202 Accepted - 已经接受请求,但尚未完成处理。
3. 3xx系列 - 重定向响应1. 300 Multiple Choices - 请求的地址有多个选择,用户可以选择其中一个。
2. 301 Moved Permanently - 所请求的资源已经永久移动到新位置。
3. 302 Moved Temporarily - 所请求的资源已经临时移动到新位置。
4. 305 Use Proxy - 所请求的资源必须通过代理访问。
4. 4xx系列 - 客户端错误响应1. 400 Bad Request - 客户端请求有语法错误。
2. 401 Unauthorized - 需要用户身份验证。
3. 403 Forbidden - 服务器禁止访问所请求的资源。
4. 404 Not Found - 所请求的资源不存在。
5. 408 Request Timeout - 请求超时。
6. 415 Unsupported Media Type - 不支持的媒体类型。
5. 5xx系列 - 服务器错误响应1. 500 Server Internal Error - 服务器内部错误。
2. 501 Not Implemented - 服务器不支持实现请求的功能。
3. 502 Bad Gateway - 服务器作为网关或代理,从上游服务器接收到无效响应。
4. 503 Service Unavailable - 所请求的服务暂时不可用。
5. 504 Server Timeout - 服务器在等待上游服务器的响应时超时。
SIP应答消息状态码与类型 状态码 状态说明
SIP应答消息状态码与类型状态码说明SIP应答消息状态码与类型状态码状态说明临时应答(1XX) 100 Trying 正在处理中180 Ringing 振铃181 call being forwarder 呼叫正在前向182 queue 排队181* session progress 会话进行会话成功(2XX) 200 OK 会话成功重定向(3XX) 300 multiple 多重选择301 moved permanently 永久移动302 moved temporaily临时移动305 use proxy 用户代理380 alternative service 替代服务请求失败(4XX) 400 bad request 错误请求401unauthorized 未授权402 payment required 付费要求403 forbidden 禁止404 not found 未发现405 method no allowed 方法不允许406 not acceptable 不可接受407 proxy authentication required 代理需要认证408 request timeout 请求超时410 gone 离开413 request entity too large 请求实体太大414 request-url too long 请求URL太长415 unsupported media type 不支持的媒体类型416 unsupported url scheme 不支持的URL计划420 bad extension 不良扩展421 extension required 需要扩展423 interval too brief 间隔太短480 temporarily unavailable 临时失效481 call/transaction does not exist 呼叫/事务不存在482 loop detected 发现环路483 too many hops 跳数太多484 address incomplete 地址不完整485 ambiguous 不明朗486 busy here 这里忙487 request terminated 请求终止488 not acceptable here 这里请求不可接受491 request pending 未决请求493 undecipherable 不可辨识服务器失败(5XX) 500 server internal error 服务器内部错误501 not implemented 不可执行502 bad gateway 坏网关503 service unavailable 服务无效504 server time-out 服务器超时505 version not supported 版本不支持513 message too large 消息太大全局性错误(6XX) 600 busy everywhere 全忙603 decline 丢弃604 does not exist anywhere 不存在606 not acceptable 不可接受SIP应答代码(以下是详细内容)应答码是包含了,并且扩展了HTTP/1.1应答码。
Sip_响应状态码_对照_详解(新)
Sip 响应状态码对照详解SIP应答消息状态码与功能类型状态码状态说明临时应答(1XX) 100 Trying 正在处理中180 Ringing 振铃181 call being forwarder 呼叫正在前向182 queue 排队181* session progress 会话进行会话成功(2XX) 200 OK 会话成功重定向(3XX) 300 multiple 多重选择301 moved permanently 永久移动302 moved temporaily临时移动305 use proxy 用户代理380 alternative service 替代服务请求失败(4XX) 400 bad request 错误请求401unauthorized 未授权402 payment required 付费要求403 forbidden 禁止404 not found 未发现405 method no allowed 方法不允许406 not acceptable 不可接受407 proxy authentication required 代理需要认证408 request timeout 请求超时410 gone 离开413 request entity too large 请求实体太大414 request-url too long 请求URL太长415 unsupported media type 不支持的媒体类型416 unsupported url scheme 不支持的URL计划420 bad extension 不良扩展421 extension required 需要扩展423 interval too brief 间隔太短480 temporarily unavailable 临时失效481 call/transaction does not exist 呼叫/事务不存在482 loop detected 发现环路483 too many hops 跳数太多484 address incomplete 地址不完整485 ambiguous 不明朗486 busy here 这里忙487 request terminated 请求终止488 not acceptable here 这里请求不可接受491 request pending 未决请求493 undecipherable 不可辨识500服务器失败(5XX) 500 server internal error 服务器内部错误501 not implemented 不可执行502 bad gateway 坏网关503 service unavailable 服务无效504 server time-out 服务器超时505 version not supported 版本不支持513 message too large 消息太大全局性错误(6XX) 600 busy everywhere 全忙603 decline 丢弃604 does not exist anywhere 不存在606 not acceptable 不可接受SIP应答代码(以下是详细内容)应答码是包含了,并且扩展了HTTP/1.1应答码。
SIP消息代码含义
sip代码含义1xx = 通知性应答100 正在尝试180 正在拨打181 正被转接182 正在排队183 通话进展2xx = 成功应答200 OK202 被接受:用于转介3xx = 转接应答300 多项选择301 被永久迁移302 被暂时迁移305 使用代理服务器380 替代服务4xx = 呼叫失败400 呼叫不当401 未经授权:只供注册机构使用,代理服务器应使用代理服务器授权407 402 要求付费(预订为将来使用)403 被禁止的404 未发现:未发现用户405 不允许的方法406 不可接受407 需要代理服务器授权408 呼叫超时:在预定时间无法找到用户410 已消失:用户曾经存在,但已从此处消失413 呼叫实体过大414 呼叫URI过长415 不支持的媒体类型416 不支持的URI方案420 不当扩展:使用了不当SIP协议扩展,服务器无法理解该扩展421 需要扩展423 时间间隔过短480 暂时不可使用481 通话/事务不存在482 检测到循环483 跳数过多484 地址不全485 模糊不清486 此处太忙487 呼叫被终止488 此处不可接受491 呼叫待批493 无法解读:无法解读S/MIME文体部分5xx = 服务器失败500 服务器部错误501 无法实施:SIP呼叫方法在此处无法实施502 不当网关503 服务不可使用504 服务器超时505 不支持该版本:服务器不支持SIP协议的这个版本513 消息过长6xx = 全局失败600 各处均忙603 拒绝604 无处存在606 不可使用SIP协议应答码应答代码应答码是包含了,并且扩展了HTTP/1.1应答码。
并不是所有的HTTP/1.1应答码都适当应用,只有在折里指出的是适当的。
其他HTTP/1.1应答码不应当使用。
并且,SIP也定义了新的应答码系列,6xx。
1 临时应答1xx临时应答,也就是消息性质的应答,标志了对方服务器正在处理请求,并且还没有决定最后的应答。
Sip_响应状态码_对照_详解 2
Sip 响应状态码对照详解SIP应答消息状态码与功能类型状态码状态说明临时应答(1XX) 100 Trying 正在处理中180 Ringing 振铃181 call being forwarder 呼叫正在前向182 queue 排队183* session progress 会话进行会话成功(2XX) 200 OK 会话成功重定向(3XX) 300 multiple 多重选择301 moved permanently 永久移动302 moved temporaily 临时移动305 use proxy 用户代理380 alternative service 替代服务请求失败(4XX) 400 bad request 错误请求401unauthorized 未授权402 payment required 付费要求403 forbidden 禁止404 not found 未发现405 method no allowed 方法不允许406 not acceptable 不可接受407 proxy authentication required 代理需要认证408 request timeout 请求超时410 gone 离开413 request entity too large 请求实体太大414 request-url too long 请求URL太长415 unsupported media type 不支持的媒体类型416 unsupported url scheme 不支持的URL计划420 bad extension 不良扩展421 extension required 需要扩展423 interval too brief 间隔太短480 temporarily unavailable 临时失效481 call/transaction does not exist 呼叫/事务不存在482 loop detected 发现环路483 too many hops 跳数太多484 address incomplete 地址不完整485 ambiguous 不明朗486 busy here 这里忙487 request terminated 请求终止488 not acceptable here 这里请求不可接受491 request pending 未决请求493 undecipherable 不可辨识服务器失败(5XX) 500 server internal error 服务器内部错误501 not implemented 不可执行502 bad gateway 坏网关503 service unavailable 服务无效504 server time-out 服务器超时505 version not supported 版本不支持513 message too large 消息太大全局性错误(6XX) 600 busy everywhere 全忙603 decline 丢弃604 does not exist anywhere 不存在606 not acceptable 不可接受SIP应答代码(以下是详细内容)应答码是包含了,并且扩展了HTTP/1.1应答码。
Sip响应状态码对照详解
Sip响应状态码对照详解SIP应答消息状态码与功能类型状态码状态说明临时应答(1XX) 100 Trying 正在处理中180 Ringing 振铃181 call being forwarder 呼叫正在前向182 queue 排队181* session progress 会话进⾏会话成功(2XX) 200 OK 会话成功重定向(3XX) 300 multiple 多重选择301 moved permanently 永久移动302 moved temporaily 临时移动305 use proxy ⽤户代理380 alternative service 替代服务请求失败(4XX) 400 bad request 错误请求401unauthorized 未授权402 payment required 付费要求403 forbidden 禁⽌404 not found 未发现405 method no allowed ⽅法不允许406 not acceptable 不可接受407 proxy authentication required 代理需要认证408 request timeout 请求超时410 gone 离开413 request entity too large 请求实体太⼤414 request-url too long 请求URL太长415 unsupported media type 不⽀持的媒体类型416 unsupported url scheme 不⽀持的URL计划420 bad extension 不良扩展421 extension required 需要扩展423 interval too brief 间隔太短480 temporarily unavailable 临时失效481 call/transaction does not exist 呼叫/事务不存在482 loop detected 发现环路483 too many hops 跳数太多484 address incomplete 地址不完整485 ambiguous 不明朗486 busy here 这⾥忙487 request terminated 请求终⽌488 not acceptable here 这⾥请求不可接受491 request pending 未决请求493 undecipherable 不可辨识服务器失败(5XX) 500 server internal error 服务器内部错误501 not implemented 不可执⾏502 bad gateway 坏⽹关503 service unavailable 服务⽆效504 server time-out 服务器超时505 version not supported 版本不⽀持513 message too large 消息太⼤全局性错误(6XX) 600 busy everywhere 全忙603 decline 丢弃604 does not exist anywhere 不存在606 not acceptable 不可接受SIP应答代码(以下是详细内容)应答码是包含了,并且扩展了HTTP/1.1应答码。
SIP消息代码含义
1xx = 通知性应答100 正在尝试180 正在拨打181 正被转接182 正在排队183 通话进展2xx = 成功应答200 OK202 被接受:用于转介3xx = 转接应答300 多项选择301 被永久迁移302 被暂时迁移305 使用代理服务器380 替代服务4xx = 呼叫失败400 呼叫不当401 未经授权:只供注册机构使用,代理服务器应使用代理服务器授权407 402 要求付费(预订为将来使用)403 被禁止的404 未发现:未发现用户405 不允许的方法406 不可接受407 需要代理服务器授权408 呼叫超时:在预定时间内无法找到用户410 已消失:用户曾经存在,但已从此处消失413 呼叫实体过大414 呼叫URI过长415 不支持的媒体类型416 不支持的URI方案420 不当扩展:使用了不当SIP协议扩展,服务器无法理解该扩展421 需要扩展423 时间间隔过短480 暂时不可使用481 通话/事务不存在482 检测到循环483 跳数过多484 地址不全485 模糊不清486 此处太忙487 呼叫被终止488 此处不可接受491 呼叫待批493 无法解读:无法解读 S/MIME文体部分5xx = 服务器失败500 服务器内部错误501 无法实施:SIP呼叫方法在此处无法实施502 不当网关503 服务不可使用504 服务器超时505 不支持该版本:服务器不支持SIP协议的这个版本513 消息过长6xx = 全局失败600 各处均忙603 拒绝604 无处存在606 不可使用SIP协议应答码应答代码应答码是包含了,并且扩展了HTTP/应答码。
并不是所有的HTTP/应答码都适当应用,只有在折里指出的是适当的。
其他HTTP/应答码不应当使用。
并且,SIP也定义了新的应答码系列,6xx。
1 临时应答1xx临时应答,也就是消息性质的应答,标志了对方服务器正在处理请求,并且还没有决定最后的应答。
sip 消息 代码 解析
这个返回码和401(Unauthorized)很类四,但是标志了客户端应当首先在proxy上通过认证。SIP对认证的访问请参见26节和22.3节。
这个返回码用于应用程序访问通讯SIP 协议消息应答代码解释详录
内容大纲:
1xx = 通知性应答
100 正在尝试
180 正在拨打
181 正被转接
182 正在排队
183 通话进展
2xx = 成功应答
200 OK
202 被接受:用于转介
3xx = 转接应答
300 多项选择
301 被永久迁移
服务器拒绝这个请求,因为Request-URI超过了服务器能够处理的长度。
4.13 415 Unsupported Media Type
服务器由于请求的消息体的格式本服务器不支持,所以拒绝处理这个请求。这个服务器必须根据内容的故障类型,返回一个Accept,Accpet-Encoding,或者Accept-Language头域列表。UAC根据8.1.3.5节定义的方法处理这个应答。
604 无处存在
606 不可使用
代码详解:
SIP协议应答码
应答代码
应答码是包含了,并且扩展了HTTP/1.1应答码。并不是所有的HTTP/1.1应答码都适当应用,只有在折里指出的是适当的。其他HTTP/1.1应答码不应当使用。并且,SIP也定义了新的应答码系列,6xx。
1 临时应答1xx
4.14 416 Unsupported URI Scheme
服务器由于不支持Request-URI中的URI方案而终止处理这个请求。客户端处理这个应答参照8.1.3.5。
sip协议消息应答代码(SIPprotocolmessageresponsecode)
sip 协议消息应答代码(SIP protocol message response code)Detailed explanation of message response code interpretation of SIP protocolContent outline:1XX = notification response100 is trying180 dialing181 is being transferred182 queuing up183 call progress2XX = successful response200 OK202 accepted: used for referral3xx = transit reply300 multiple choice301 is permanently moved302 temporarily moved304 not modified305 use proxy server380 alternative services4xx = call failure400 improper call401 unauthorized: only for the use of registered agents, proxy server should use proxy server authorization 407402 asking for payment (booking for future use)403 banned404 not found: no users found405 not allowed method406 unacceptable407 need proxy server authorization408 call timeout: no user can be found within scheduled time410 has disappeared: the user has existed, but has disappeared from hereThe 413 call entity is too large414 call URI too long415 unsupported media types416 unsupported URI scheme420 improper extensions: using improper SIP protocol extensions, the server cannot understand the extension421 need to expand423 time interval is too short480 temporarily not available481 call / transaction does not exist482 detected the cycleToo many 483 hops484 address incomplete485 blur486 busy hereThe 487 call is terminated488 unacceptable here489 bad event491 call pending493 can not read: unable to interpret the stylistic part of S/MIME5xx = server failure500 server internal error501 can not be implemented: SIP call method can not be implemented here502 improper gateway503 service is not available504 server timeout505 does not support this version: the server does not support this version of the SIP protocol513 message too long6xx = global failure600 busy everywhere603 refusal604 nowhere to exist606 is not availableCode detail:SIP protocol reply codeResponse codeThe response code contains and extends the HTTP/1.1 response code. Not all HTTP/1.1 response codes are properly applied, but only in the fold is appropriate. Other HTTP/1.1 reply codes should not be used. And, SIP also defines a new response code family, 6xx.1 temporary response 1XXThe temporary response, that is, the message nature of the response, indicates that the server is processing the request, and has not decided the final response. If the server processing request takes more than 200ms to produce an end response, it should send a 1XX response.Note that the 1XX response is not reliably transmitted. They don't cause the client to send a ACK response. A temporary nature (1XX) response can contain a message body, including a session description.1.1100 TryingThis response indicates that the server of the next node has received the request and has not performed the specific action of the request (for example, when the database is being opened). This response, like other temporary responses, has been planted with UAC to retransmit INVITE requests. The difference between 100 (Trying) response and other temporary responses is that it will never be forwarded to the upstream stream by stateful proxy.1.2180 RingingUA receives the INVITE request and tries to prompt it to the user. This response should be born into a local loop.1.3818 Call is Being Forwarded (call forwarding)The server can use this response code to indicate that the call is being forwarded to another destination.1.4182 QueuedWhen the receiver cannot receive the call temporarily, and the server decides to call the queue, rather than refuse the call, then the response should be sent. When the called party restores the received call, he returns the appropriate end reply. For this call state,There can be a phrase that expresses the cause, such as "5 calls queued; expected waiting time is 15minutes"". The server cangive several 182 (Queued) responses to tell the caller to wait in line (such as queuing up, etc.).1.5183 session progressThe 183 (Session Progress) response is used to indicate the progress information of the dialogue. Reason-Phrase (a sentence that expresses reasons), headers or messages that can be used to prompt more information about the progress of a call.2 successful information 2XXThis response indicates that the request is successful.2.1200 OKThe request has been processed successfully. This information depends on the response of requests from different methods.3 forwarding request 3XXThe 3xx series response is used to indicate new location information for the user, or to place additional service locations to meet the call.3.1300 Multiple ChoicesThe requested address has multiple choices, each of which has its own address, and the user or (UA) can select the appropriate communication terminal and forward the request to this address.The response can contain a resource property that allows each site to be allowed in the Accept request header domain, so that the user or UA can select the most appropriate address to forward the request. There is no message body that does not reply to define the MIME type.These address choices should also be listed in the Contact header domain (section 20.10). Unlike HTTP, the SIP response can contain multiple Contact header domains or a list of addresses in the Contact header domain. UA can use Contact header domain to automatically forward or request the user to confirm forwarding. However, there is no standard for automatic forwarding defined in this specification.If the called party can be found at multiple addresses and the server cannot or will not forward the request, this call can be used to call the caller.3.2301 Moved PermentlyWhen the user cannot be found at the address specified by Request-URI, the requested client should try again with the new address pointed out by the Contact header domain (20.10). The requester should update the local directory, address book, and user address cache with this new value, and send them to these / these addresses in subsequent requests.3.3302 Moved TemporarilyThe requesting party should resend the request to the new address indicated in the Contact header domain (20.10). The newrequested Request-URI should use the value indicated in the Contact header domain of this response.The Expires (20.19 knots) in the response or the expires parameter in the Contact header define the Contact URI lifetime. UA or proxy, cache in this life cycle, URI. If there is no strict valid view, then this address is only valid for this time and cannot be saved in subsequent transactions.If the value of the Contact header field of cache fails, then the forwarded request Request-URI should try again. Temporary URI can fail faster than timeout and can have a new temporary URI.3.4305 Use ProxyThe requested resource must be accessed through the proxy specified in the Contact header domain. The Contact header specifies a proxy of URI. The recipient receiving this reply should resend the single request through the proxy. 305 (UseProxy) must be generated by UAS.3.5380 Alternative ServiceCall doesn't work, but you can try another service. The other service is defined in the reply message body. The format of the message body is not defined here, and may be defined in the later specification.4 request failure 4xxThe 4xx response defines the failure of the request for a particular server response. The client should not attempt the same request without changing the request. (for example, adding appropriate authentication information). However, the same request to different servers may succeed.4.1400 Bad RequestSyntax error in request.UAS should not use this response unless it really fails to provide effective services to the client. Conversely, if the extensions are not listed in the Support header domain, the server should be handled in accordance with the SIP compatible method of the benchmark and the extensions supported by the client.4.17423 Interval Too BriefThe server refused to request because the resource refresh time (or valid time) set in the request was too short. This response can be used to register servers to reject short registration requests with valid Contact header domains. The usage of this response and the related Min-Expires header fields are described and illustrated in the 10.2.8,10.3,20.23 section.4.18480 Temporarily UnavailableA terminal system requesting successful access to the called party, but the called party is currently unavailable (e.g., not logged in or logged in, but the status is not communicated, orthere is a "do not disturb" sign. The response should mark an appropriate retransmission time in the Retry-After. This user may also be available elsewhere (not known in this server). Reason-Phrase (reason short phrase) should give a more detailed explanation of why the called party is temporarily unavailable. This value should be set by UA. The status code 486 (Busy Here) can be used to more accurately represent the specific reason for the failure of this request.This status code can also be returned by a forwarding service or a proxy server, because they find that the Request-URI specified user exists, but there is no appropriate current forwarding address for the user.4.19481 Call/Transaction Does Not ExistThis state indicates that the UAS receives the request, but does not match the existing dialogue or transaction.4.20482 Loop DetectedThe server detected a loop (16.3/4)4.21483 Too Many HopsThe server receives a request containing the Max-Forwards (20.22) header field of 04.22484 Address InCompleteThe server received a request whose Request-URI was incomplete.There should be additional information in the cause phrase. The status code can be overlapped with dialing. In the overlap, the client does not know the length of the dial string. It sends strings that increase the length, and prompts the user to enter more strings until the 484 (Address Incomplete) response occurs.4.23485 AmbiguousRequest-URI is not clear. The response can include a list of possible explicit addresses in the Contact header domain. This hint list destroys the security and privacy of users or organizations. You must be able to decide whether to replace the response with 404 (NotFound) by the configuration, or to prohibit the use of a list of possible choices for the ambiguous addresses.An example of an answer to a request with Request-URI:Sip:**********************:SIP/2.0 485 AmbiguousContact: David.QianContact: Leo HuuContact: M.FooteSome email and voice mail systems provide this functionality. This status code is different from the 3xx state code: for 300, it assumes that the same person or service has a different address selection. So for 3xx, the automatic selection system or continuous search is effective, but for 485 (Ambiguous) response, the user must intervene.4.24486 Busy HereWhen the terminal system is linked to the success of the called party, but the called party in the terminal system can not answer the phone, then the response should be back to the caller of a more appropriate time in the Retry-After head domain retry. This user may work in other places, such as the telephone mailbox system and so on. If we know that no other terminal system can answer this call, we should return a status code 600 (Busy Everywhere).4.25487 Request TerminatedThe request is terminated by BYE or CANCEL.This response will never reply to the CANCEL request itself.4.26488 Not Acceptable HereThis response has the same meaning as 606 (Not Acceptable), but only applies to specific resources specified by Request-URI that cannot be accepted, and requests elsewhere may be acceptable.The message body that contains the media compatibility description can appear in the response and normalize according to the Accept header domain in the INVITE request (if there is no Accept header domain, then application/sdp). This response is just like the 200 (OK) response message body requested by the OPTIONS.4.27491 Request PendingIn the same dialog, the request received by UAS has a dependent request being processed. 14.2 describes how this situation should be resolved.4.28493 UndecipherableUAS receives a request that contains an encrypted MIME, and does not know or does not provide the appropriate decryption key. This response can contain a single packet containing the appropriate public key used for encrypting packets in this UAS communication. Details are described in section 23.2.5 Server Failure 5xx5xx response is a failure response given when the server itself fails.5.1500 Server Internal ErrorThe server encountered an unknown condition and could not continue processing requests. The client can display specific errors and try again after a few seconds.If the situation is temporary, the server should retry the request after the client has been marked for several seconds in the Retry-After header domain.5.2501 Not ImplementedThe server does not implement the associated request function. When the UAS does not recognize the method of request and cannot support the method for each user, it should return this response. (proxy does not consider the request method and forwards the request).Note 405 (Method Not Allowed) is because the server implements this request method, but this request method is not supported in a particular request.5.3502 Bad GatewayIf the server, as gateway or proxy, received from the server to the downstream of an illegal response (response the corresponding request is the server in order to complete the request is forwarded to the downstream server).5.4503 Service UnavailableServer temporarily unavailable due to temporary overloads or server management. This server can add a Retry-After to the response to allow the client to retry the request. If no Retry-After points out, the client must be treated as if it had received a 500 (Server Internal Error) response.The client (proxy or UAC) receives 503 (Service Unavailable) and should attempt to forward this request to another server. And other requests should not be forwarded to this server within the time specified in the Retry-After header domain.As an alternative to 503 (Service Unavaliable), the server can either reject the connection or throw the request away.5.5504 Server Time-outThe server did not receive a timely response on an external server. This external server is required for this server to access and process this request. If the Expires header timeout occurs in the request received from the upstream server, a 408 (Request TimeOut) error should be returned.5.6505 Version Not SupportedThe server does not support the corresponding version of SIP. The server is unable to process requests that have the same main version number provided by the client, which results in such error information.5.7 Message To LargeThe server cannot process the request because the message length is longer than the length of the processing.6 Global Failures 6xxThe 6xx response means that the server has a final message for a particular user,It's not just about the particular instance of Request-URI that has the final information.6.1600 Busy EverywhereThe terminal system is successfully connected to the called party, but the called party is busy and does not intend to answer the call. This response can be made more explicit by telling a caller how long it can continue to call by adding a Retry-After header domain. The called party should use 603 (Decline) if the called party does not wish to prompt the refusal. This response can only be used when the terminal system knows that no other terminal node (such as voice mail system) can access the user. Otherwise, a 486 (Busy Here) response should be returned.6.2603 DeclineWhen successful access to the called party device, but the user does not want to respond explicitly. This response can be made more explicit by telling a caller how long it can continue to call by adding a Retry-After header domain. Only when the terminal knows that no other terminal device can respond to the potential energy of this call can the response be given.6.3604 Does Not Exists AnywhereThe server validates the user information of Request-URI in the request, which does not exist anywhere6.4606 Not AcceptableWhen a UA is successfully contacted, some parts of the session description, such as the requested media, bandwidth, or address type, are not received.606 (NotAcceptable) response means that the user wants to communicate, but does not fully support the session description. The 606 (Not Acceptable) response can include a list of causes in the Warning header domain to explain why the session description cannot be supported. The warning reason code is listed in section 20.43.In response, there will be a description of the message body contains media compatibility, the message body format specification according to the Accept header in the INVITE request that the format (if no Accept domain, then application/sdp), like OPTIONS Pro for 200 (OK) in response to the news.We hope that these media negotiations do not often need, and that when a new user is invited to join the existing session, this media consultation may not be required. It depends on whether the invited initialization is required to process 606 (Not Acceptable).This response only occurs when the client knows that no other terminal can handle the request.Add page turning function for photo sharing album to avoidprogram crash caused by too large pictures。
SIP消息代码含义
sip代码含义1xx = 通知性应答100 正在尝试180 正在拨打181 正被转接182 正在排队183 通话进展2xx = 成功应答200 OK202 被接受:用于转介3xx = 转接应答300 多项选择301 被永久迁移302 被暂时迁移305 使用代理服务器380 替代服务4xx = 呼叫失败400 呼叫不当401 未经授权:只供注册机构使用,代理服务器应使用代理服务器授权407 402 要求付费(预订为将来使用)403 被禁止的404 未发现:未发现用户405 不允许的方法406 不可接受407 需要代理服务器授权408 呼叫超时:在预定时间内无法找到用户410 已消失:用户曾经存在,但已从此处消失413 呼叫实体过大414 呼叫URI过长415 不支持的媒体类型416 不支持的URI方案420 不当扩展:使用了不当SIP协议扩展,服务器无法理解该扩展421 需要扩展423 时间间隔过短480 暂时不可使用481 通话/事务不存在482 检测到循环483 跳数过多484 地址不全485 模糊不清486 此处太忙487 呼叫被终止488 此处不可接受491 呼叫待批493 无法解读:无法解读S/MIME文体部分5xx = 服务器失败500 服务器内部错误501 无法实施:SIP呼叫方法在此处无法实施502 不当网关503 服务不可使用504 服务器超时505 不支持该版本:服务器不支持SIP协议的这个版本513 消息过长6xx = 全局失败600 各处均忙603 拒绝604 无处存在606 不可使用SIP协议应答码应答代码应答码是包含了,并且扩展了HTTP/1.1应答码。
并不是所有的HTTP/1.1应答码都适当应用,只有在折里指出的是适当的。
其他HTTP/1.1应答码不应当使用。
并且,SIP也定义了新的应答码系列,6xx。
1 临时应答1xx临时应答,也就是消息性质的应答,标志了对方服务器正在处理请求,并且还没有决定最后的应答。
VoLTE SIP信令常用代码
600
busy everywhere
全忙
603
decline
丢弃
604
does not exist anywhere
不存在
606
not acceptable
不可接受
服务器内部错误
501
not implemented
不可执行
502
bad gateway
错误网关
503
service unavailable
服务无效
504
server time-out
服务器超时
505
version not supported
版本不支持
513
message too large
消息太大
全局性错误(6XX)
永久移动
302
moved temporaily
临时移动
305
use proxy
用户代理
380
alternative service
替代服务
请求失败(4XX)
400
bad request
错误请求
401
unauthorized
未授权
402
payment required
付费要求
403
forbidden
禁止
interval too brief
间隔太短
480
temporarily unavailable
临时失效
481
call/transaction does not exist
呼叫/事务不存在
482
loop detected
发现环路
483
too many hops
sip协议错误代码
sip协议错误代码竭诚为您提供优质⽂档/双击可除sip协议错误代码篇⼀:sip协议错误代码code⼤全1)100trying说明caller正在呼叫,但还没联系上callee。
180Ringing说明callee已经被联系上,callee的铃正在响.收到这个信息后,等待200ok2)181callisbeingforwarded说明call被重新路由到另外⼀个⽬的地3)182queued说明callee当前是不可获得的,但是对⽅不想直接拒绝呼叫,⽽是选择放在呼叫队列中4)183sessionprogress⽤来警告caller频段(inband)错误。
当从pstn收到⼀个isdn消息,sipgateway产⽣183sessionprogress。
2xxsuccessfulResponses200ok3xxRedirectionResponses5)300multiplechoices说明呼叫的地址被解析成多个地址,所有的地址都被提供出来,⽤户或⽤户代理可以从中选择联系哪个。
6)301movedpermanently说明指定地址的⽤户已经永远不可⽤,在头中已经⽤另外⼀个地址替换了.7)302movedtemporarily说明指定地址的⽤户临时不可⽤,在头中已经⽤另外⼀个地址代替了.8)305useproxy说明caller必须⽤⼀个proxy来联系callee.9)380alternativeservice说明call不成功,但是可选择其他的服务4xxRequestFailureResponses10)400badRequest说明由于⾮法格式,请求不能被理解。
11)401unauthorized说明请求需要⽤户认证。
12)402paymentrequired说明完成会话需要付费.13)403Forbidden说明server已经收到并能理解请求但不提供服务。
14)404notFound说明server有明确的信息在指定的域中⽤户不存在.15)405methodnotallowed说明请求中指定的⽅法是不被允许的。
Sip响应状态码对照详解
Sip 响应状态码对照详解1.SIP应答消息状态码与功能类型状态码状态说明1) 临时应答(1XX)100 Trying正在处理中180 Ringing振铃181 call being forward er 呼叫正在前向182 queue 排队183 session progres s 会话进行2) 会话成功(2XX)200 OK 会话成功3) 重定向(3XX)300 m ultipl e 多重选择301 m oved perm ane ntly 永久移动302 m oved tem pora ily 临时移动305 use proxy 用户代理380 alterna tive service替代服务4) 请求失败(4XX)400 bad request错误请求401unau thoriz ed 未授权402 paym ent require d 付费要求403 forbidd en 禁止404 not found 未发现405 m ethodno allowed方法不允许406 not accepta ble 不可接受407 proxy authent icatio n require d 代理需要认证408 request tim eout请求超时410 gone 离开413 request entitytoo large 请求实体太大414 request-url too long 请求URL太长415 unsuppo rted media type 不支持的媒体类型416 unsuppo rted url schem e不支持的URL计划420 bad extensi on 不良扩展421 extensi on require d 需要扩展423 interva l too brief 间隔太短480 tem pora rily unavail able 临时失效481 call/transac tion does not exist 呼叫/事务不存在482 loop detecte d 发现环路483 too m any hops 跳数太多484 address incom pl ete 地址不完整485 am biguo us 不明朗486 busy here 这里忙487 request term ina ted 请求终止488 not accepta ble here 这里请求不可接受491 request pending未决请求493 undecip herabl e 不可辨识5) 服务器失败(5XX)500 serverinterna l error 服务器内部错误501 not im pleme nted 不可执行502 bad gateway坏网关503 service unavail able 服务无效504 servertim e-out 服务器超时505 version not support ed 版本不支持513 m essage too large 消息太大6) 全局性错误(6XX)600 busy everywh ere 全忙603 decline丢弃604 does not exist anywher e 不存在606 not accepta ble 不可接受2.SIP应答代码(以下是详细内容)应答码是包含了,并且扩展了HT TP/1.1应答码。
sip消息类型和消息代码详解
在学习asterisk的时候,经常遇到一些远程服务器传回的代码,这些代码都有很重要的信息,让我们了解到对方的sip是如何响应我们这边的sip消息的,于是网上找到了这些sip消息类型和消息代码,自己收藏,相信很有用的。
sip消息类型和消息格式SIP是一个基于文本的协议,使用的是UTF-8字符集.SIP消息主要分为两大类:一类是由客户端发往服务器的请求消息(Request);一类是由服务器发往客户端的应答消息(Response).一个基本的SIP消息包括起始行、一个或多个头字段、说明头字段结束的空行和一个可选的消息体。
消息=起始行(包括请求行/状态行;请求行规定了请求的类别,而状态行指出了每个请求的状态,比如是成功还是失败。
如果是失败的话还要给出失败的原因或类型。
)*头字段CRLF[消息体] (消息首部给出了关于请求或应答的更多信息一般包括消息的来源、规定的消息接收方,另外还包括一些其他方面的重要信息。
消息体通常描述将要建立会议的类型包括所交换媒体的描述,但不具体定义消息体的内容或结构,其结构或内容使用另外一个协议来描述,就是会话描述协议SDP。
)请求消息请求行=方法 +空格 +请求地址 +SIP版本号 +空行通过一个请求行作为起始行,请求行包括了方法名、请求的URL、协议版本号、中间用空格分开。
六种请求方法:INVITE 发出呼叫会话请求ACK INVITE请求被最终请求BYE 释放一个呼叫会话CANCEL 取消挂起的呼叫REGISTER 登记注册用户代理OPTIONS 查询服务器能力应答消息状态行=SIP版本+空格+状态码+空格+相关文本短语+空行SIP应答消息状态码与功能类型状态码状态说明临时应答(1XX) 100 Trying 正在处理中180 Ringing 振铃181 call being forwarder 呼叫正在前向182 queue 排队181* session progress 会话进行会话成功(2XX) 200 OK 会话成功重定向(3XX) 300 multiple 多重选择301 moved permanently 永久移动302 moved temporaily 临时移动305 use proxy 用户代理380 alternative service 替代服务请求失败(4XX) 400 bad request 错误请求401unauthorized 未授权402 payment required 付费要求403 forbidden 禁止404 not found 未发现405 method no allowed 方法不允许406 not acceptable 不可接受407 proxy authentication required 代理需要认证408 request timeout 请求超时410 gone 离开413 request entity too large 请求实体太大414 request-url too long 请求URL太长415 unsupported media type 不支持的媒体类型416 unsupported url scheme 不支持的URL计划420 bad extension 不良扩展421 extension required 需要扩展423 interval too brief 间隔太短480 temporarily unavailable 临时失效481 call/transaction does not exist 呼叫/事务不存在482 loop detected 发现环路483 too many hops 跳数太多484 address incomplete 地址不完整485 ambiguous 不明朗486 busy here 这里忙487 request terminated 请求终止488 not acceptable here 这里请求不可接受491 request pending 未决请求493 undecipherable 不可辨识服务器失败(5XX) 500 server internal error 服务器内部错误501 not implemented 不可执行502 bad gateway 坏网关503 service unavailable 服务无效504 server time-out 服务器超时505 version not supported 版本不支持513 message too large 消息太大全局性错误(6XX) 600 busy everywhere 全忙603 decline 丢弃604 does not exist anywhere 不存在606 not acceptable 不可接受SIP应答代码(这个是详细的应答码解释)应答码是包含了,并且扩展了HTTP/1.1应答码。
SIP消息代码含义
sip代码含义1xx = 通知性应答100 正在尝试180 正在拨打181 正被转接182 正在排队183 通话进展2xx = 成功应答200 OK202 被接受:用于转介3xx = 转接应答300 多项选择301 被永久迁移302 被暂时迁移305 使用代理服务器380 替代服务4xx = 呼叫失败400 呼叫不当401 未经授权:只供注册机构使用,代理服务器应使用代理服务器授权407 402 要求付费(预订为将来使用)403 被禁止的404 未发现:未发现用户405 不允许的方法406 不可接受407 需要代理服务器授权408 呼叫超时:在预定时间内无法找到用户410 已消失:用户曾经存在,但已从此处消失413 呼叫实体过大414 呼叫URI过长415 不支持的媒体类型416 不支持的URI方案420 不当扩展:使用了不当SIP协议扩展,服务器无法理解该扩展421 需要扩展423 时间间隔过短480 暂时不可使用481 通话/事务不存在482 检测到循环483 跳数过多484 地址不全485 模糊不清486 此处太忙487 呼叫被终止488 此处不可接受491 呼叫待批493 无法解读:无法解读S/MIME文体部分5xx = 服务器失败500 服务器内部错误501 无法实施:SIP呼叫方法在此处无法实施502 不当网关503 服务不可使用504 服务器超时505 不支持该版本:服务器不支持SIP协议的这个版本513 消息过长6xx = 全局失败600 各处均忙603 拒绝604 无处存在606 不可使用SIP协议应答码应答代码应答码是包含了,并且扩展了HTTP/1.1应答码。
并不是所有的HTTP/1.1应答码都适当应用,只有在折里指出的是适当的。
其他HTTP/1.1应答码不应当使用。
并且,SIP也定义了新的应答码系列,6xx。
1 临时应答1xx临时应答,也就是消息性质的应答,标志了对方服务器正在处理请求,并且还没有决定最后的应答。
SIP代码详解
一VOLTE SIP代码意义SIP应答消息状态码与功能类型状态码状态说明临时应答(1XX)100 Trying 正在处理中180 Ringing 振铃181 call being forwarder 呼叫正在转发182 queue 排队181* session progress 会话进行会话成功(2XX)200 OK 会话成功202 Accept 接受重定向(3XX)300 multiple choices多重选择301 moved permanently 永久移动302 moved temporaily 临时移动305 use proxy 用户代理380 alternative service 替代服务请求失败(4XX)400 bad request 错误请求401unauthorized 未授权402 payment required 付费要求403 forbidden 禁止404 not found 未发现405 method no allowed 方法不允许406 not acceptable 不可接受407 proxy authentication required 代理需要认证408 request timeout 请求超时410 gone 离开413 request entity too large 请求实体太大414 request-url too long 请求URL太长415 unsupported media type 不支持的媒体类型416 unsupported url scheme 不支持的URL计划420 bad extension 不良扩展421 extension required 需要扩展423 interval too brief 间隔太短480 temporarily unavailable 临时失效481 call/transaction does not exist 呼叫/事务不存在482 loop detected 发现环路483 too many hops 跳数太多484 address incomplete 地址不完整485 ambiguous 不明朗486 busy here 这里忙487 request terminated 请求终止488 not acceptable here 这里请求不可接受491 request pending 未决请求493 undecipherable 不可辨识服务器失败(5XX)500 server internal error 服务器内部错误501 not implemented 不可执行502 bad gateway 坏网关503 service unavailable 服务无效504 server time-out 服务器超时505 version not supported 版本不支持513 message too large 消息太大全局性错误(6XX)600 busy everywhere 全忙603 decline 丢弃604 does not exist anywhere 不存在606 not acceptable 不可接受二、SIP应答代码(以下是详细内容)应答码是包含了,并且扩展了HTTP/1.1应答码。
Sip响应状态码功能对照详解
Sip响应状态码功能对照详解SIP应答消息状态码与类型状态码状态说明?临时应答(1XX)100 Trying 正在处理中182queue 排队181call being forwarder呼叫正在前向?180Ringing振铃?181* sessionprogress会话进行会话成功(2XX)200OK 会话成功重定向(3XX)300 multiple 多重选择301 moved permanently 永久移动302 movedtemporaily 临时移动305 use proxy 用户代理380 alternative service 替代服务请求失败(4XX) 400bad request 错误请求?401unauthorized未授权402 payment required 付费要求403 forbidden禁止404 not found 未发现405method no allowed 方法不允许406 not acceptable 不可接受?407 proxyauthenticat ion required 代理需要认证?408request timeout请求超时?410gone离开414request—url too long 请求URL太长?415413 request entity too large请求实体太大?unsupported media type不支持得媒体类型416unsupportedurl scheme 不支持得URL计划?420bad extension 不良扩展?421e xtension required需要扩展481call/tran 423intervaltoo brief间隔太短?480temporarily unavailable临时失效?482loopdetected 发现环路?483 too m sactiondoes not exist 呼叫/事务不存在?485ambiguous 不明朗?486busy 484address inplete 地址不完整?anyhops跳数太多?here这里忙487requestterminated请求终止?488not acceptable here 这里请求不可接受491request pending 未决请求493undecipherable不可辨识服务器失败(5XX)500server internal error 服务器内部错误5?01 notimplemented不可执行502 bad gateway 坏网关503 service unavailable 服务无效?505version n504servertime-out 服务器超时?otsupported版本不支持513message toolarge 消息太大全局性错误(6XX) 600 busy everywhere 全忙?603 decline丢弃?604 does not existany where不存在606 not acceptable不可接受SIP应答代码(以下就是详细内容)应答码就是包含了,并且扩展了/1、1应答码。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
请求方应当把请求重新发到这个Contact头域所指出的新地址(20.10)。新请求的Request-URI应当用这个应答的Contact头域所指出的值。
在应答中的Expires(20.19节)或者Contact头域的expires参数定义了这个Contact URI的生存周期。UA或者proxy在这个生存周期内cache这个URI。如果没有严格的有效时见,那么这个地址仅仅本次有效,并且不能在以后的事务中保存。
4.8 407 Proxy Authentication Required
这个返回码和401(Unauthorized)很类四,但是标志了客户端应当首先在proxy上通过认证。SIP对认证的访问请参见26节和22.3节。
这个返回码用于应用程序访问通讯网关(比如,电话网关),而很少用于被叫方要求认证。
4.9 408 Request Timeout
在一段时间内,服务器不能产生一个终结应答,例如,如果它无法及时决定用户的位置。客户端可以在稍后不更改请求的内容然后重新尝试请求。
4.10 410 Gone
请求的资源在本服务器上已经不存在了,并且不知道应当把请求转发到哪里。这个问题将会使永久性的。如果服务器不知道,或者不容易检测,这个资源消失是临时性质的还是永久性质的,那么应当返回一个404(Not Found)。
4.6 405 Method Not Allowed
服务器支持Request-Line中的方法,但是对于这个Request-URI中的地址来说,是不允许应用这个方法的。
应答必须包括一个Allow头域,这个头域包含了指定地址允许的方法列表。
4.7 Not Acceptable
请求中的资源只会导致产生一个在请求中的Accept头域外的,内容无法接收的错误。
3 转发请求3XX
3xx系列的应答是用于提示用户的新位置信息的,或者为了满足呼叫而转发的额外服务地点。
3.1 300 Multiple Choices
请求的地址有多个选择,每个选择都有自己的地址,用户或者(UA)可以选择合适的通讯终端,并且转发这个请求到这个地址。
应答可以包含一个具有每一个地点的在Accept请求头域中允许的资源特性,这样用户或者UA可以选择一个最合适的地址来转发请求。没有未这个应答的消息体定义MIME类型。
405 不允许的方法
406 不可接受
407 需要代理服务器授权
408 呼叫超时:在预定时间内无法找到用户
410 已消失:用户曾经存在,但已从此处消失
413 呼叫实体过大
414 呼叫URI过长
415 不支持的媒体类型
416 不支持的URI方案
420 不当扩展:使用了不当SIP协议扩展,服务器无法理解该扩展
4.14 416 Unsupported URI Scheme
服务器由于不支持Request-URI中的URI方案而终止处理这个请求。客户端处理这个应答参照8.1.3.5。
4.15 Bad Extension
服务器不知道在请求中的Proxy-Require(20.29)或者Require(20.32)头域所指出的协议扩展。服务器必须在Unsupported头域中列出不支持的扩展。UAC处理这个应答请参见8.1.3.5
4.3 402 Payment Required
保留/以后使用
4.4 403 Forbidden
服务端支持这个请求,但是拒绝执行请求。增加验证信息是没有必要的,并且请求应当不被重试。
4.5 404 Not Found
服务器返回最终信息:用户在Request-URI指定的域上不存在。当Request-URI的domain和接收这个请求的domain不匹配的情况下,也会产生这个应答。
4.1 400 Bad Request
请求中的语法错误。Reason-Phrase应当标志这个详细的语法错误,比如”Missing Call-ID header field”。
4.2 401 Unauthorized
请求需要用户认证。这个应答是由UAS和注册服务器产生的,当407(Proxy Authentication Required)是proxy服务器产生的。
1.5 183 会话进度
183(Session Progress)应答用于提示建立对话的进度信息。Reason-Phrase(表达原因的句子)、头域或者消息体可以用于提示呼叫进度的更消息的信息。
2 成功信息2xx
这个应答表示请求是成功的。
2.1 200 OK
请求已经处理成功。这个信息取决于不同方法的请求的应答。
4.18 480 Temporarily Unavailable
请求成功到达被叫方的终端系统,但是被叫方当前不可用(例如,没有登陆,或者登陆了但是状态是不能通讯,或者有”请勿打扰”的标记)。应答应当在Retry-After中标志一个合适的重发时间。这个用户也有可能在其他地方是有效的(在本服务器中不知道)。Reason-Phrase(原因短句)应当提示更详细的原因,为什么被叫方暂时不可用。这个值应当是可以被UA设置的。状态码486(Busy Here)可以用来更精确的表示本请求失败的特定原因。
1.2 180 Ringing
UA收到INVITE请求并且试图提示给用户。这个应答应当出世化一个本地回铃。
1.3 818 Call is Being Forwarded(呼叫被转发)
服务器可以用这个应答代码来表示呼叫正在转发到另一暂时不能接收呼叫的时候,并且服务器决定将呼叫排队等候,而不是拒绝呼叫的时候,那么就应当发出这个应答。当被叫方一旦恢复接收呼叫,他会返回合适的终结应答。对于这个呼叫状态,可以有一个表示原因的短语,比如:”5 calls queued;expected waiting time is 15minutes”。服务器可以给出好几个182(Queued)应答告诉呼叫方排队的情况(比如排队靠前了等等)。
临时应答,也就是消息性质的应答,标志了对方服务器正在处理请求,并且还没有决定最后的应答。如果服务器处理请求需要花200ms以上才能产生终结应答的时候,它应当发送一个1xx应答。
注意1xx应答并不是可靠传输的。他们不会导致客户端传送一个ACK应答。临时性质的(1xx)应答可以包含消息体,包含会话描述。
3.2 301 Moved Permently
当不能在Request-URI指定的地址找到用户的时候,请求的客户端应当使用Contact头域(20.10)所指出的新的地址重新尝试。请求者应当用这个新的值来更新本地的目录,地址本,和用户地址cache,并且在后续请求中,发送到这个/这些列出的地址。
这些地址选择也应当在Contact头域中列出(20.10节)。不同于HTTP,SIP应答可以包含多个Contact头域或者一个Contact头域中具有一个地址列表。UA可以使用Contact头域来自动转发或者要求用户确认转发。不过,本规范没有定义自动转发的标准。
如果被叫方可以在多个地址被找到,并且服务器不能或者不愿意转发请求的时候,可以使用这个应答来给呼叫方。
4.16 421Extension Required
UAS需要特定的扩展来处理这个请求,但是这个扩展并没有在请求的Supported头域中列出。具有这个应答码的应答必须包含一个Require头域列出所需要的扩展。
UAS不应当使用这个应答除非它真的不能给客户端提供有效的服务。相反,如果在Support头域中没有列出需要的扩展,服务器应当根据基准的SIP兼容的方法和客户端支持的扩展来进行处理。
1.1 100 Trying
这个应答表示下一个节点的服务器已经接收到了这个请求并且还没有执行这个请求的特定动作(比如,正在打开数据库的时候)。这个应答,就像其他临时应答一样,种植了UAC重新传送INVITE请求。100(Trying)应答和其他临时应答不同的是,在这里,它永远不会被有状态proxy转发到上行流中。
302 被暂时迁移
304 not modified
305 使用代理服务器
380 替代服务
4xx = 呼叫失败
400 呼叫不当
401 未经授权:只供注册机构使用,代理服务器应使用代理服务器授权407
402 要求付费(预订为将来使用)
403 被禁止的
404 未发现:未发现用户
3.5 380 Alternative Service
呼叫不成工,但是可以尝试另外的服务。另外的服务在应答的消息体中定义。消息体的格式在这里没有定义,可能在以后的规范中定义。
4 请求失败4xx
4xx应答定义了特定服务器响应的请求失败的情况。客户端不应当在不更改请求的情况下重新尝试同一个请求。(例如,增加合适的认证信息)。不过,同一个请求交给不同服务器也许就会成功。
5xx = 服务器失败
500 服务器内部错误
501 无法实施:SIP呼叫方法在此处无法实施
502 不当网关
503 服务不可使用
504 服务器超时
505 不支持该版本:服务器不支持SIP协议的这个版本
513 消息过长
6xx = 全局失败
600 各处均忙
603 拒绝
4.11 413请求实体过大。
服务器拒绝处理请求,因为这个请求的实体超过了服务器希望或者能够处理的大小。这个服务器应当关闭连接避免客户端重发这个请求。
如果这个情况是暂时的,那么服务端应当包含一个Retry-After头域来表明这是一个暂时的故障,并且客户端可以过一段时间再次尝试。
4.12 414 Request-URI Too Long
4.17 423 Interval Too Brief