VOLTEBYE事件1xx,2xx.3xx.4xx.5xx,代表什么?
我要回答
问题答案
这个在网上找一下SIP协议就知道了!
反馈的是原因值
1xx:临时消息:表示表示请求消息已经收到,后面将继续处理该请求。
2xx:成功消息:表示请求已经被成功的理解、接受或执行。
3xx:重定向消息:表示为了完成请求还需采取更进一步的动作。
4xx:客户机错误:表示该请求含有语法错误或在这个服务器上不能被满足。
5xx:服务器错误:表示该服务器不能处理一个明显有效的请求。
6xx:全局性故障:表示该请求在任何服务器上都不能被实现。
VALUE | DETAIL SPEC |
1xx: Provisional -- request received, continuing to process therequest;表明请求还没有终止,正在处理中。 | |
100-Trying | Next-hop已接受请求,但没有反馈最终结果,处理仍然在进行中 |
180 Ringing | UA已接受用户invite请求,并尝试让用户振铃(类似打电话时的alerting) |
181 Call Is Being Forwarded | 被叫用户启用了转接服务(例如无条件转接等),这个消息告知服务器正在转接到相应的目标地址 |
182 Queued
| 被叫号码暂时不可用(例如占线),但服务器并没有拒绝来电,而是对方在排队等待状态,(感觉类似呼叫等待业务,但不确定对方用户是否可看到?),当用户可用时,返回最终回复状态。一般返回182的response时,还会携带其他的原因值,告知用户具体详情 |
183 Session Progress | 会话正在处理中 |
2xx: Success -- the action was successfully received, understood,and accepted;--表明请求发送成功,正确解析和接收。请求已被成功处理。 | |
200 OK | 表明请求的消息已成功 |
3xx: Redirection -- further action needs to be taken in order to complete the request;--表明请求的需要重定向才能完成。 | |
300 Multiple Choices
| 当被叫有多种路径可以到达时,但是服务器不能处理或者优先处理代理的请求时,则返回300.同时在Contact fields中携带有一个或多个地址列表,然后UAS再向UA确认使用哪个选择(过程貌似比较复杂,多路径时,将选择权交给终端用户,但RFC3261中并没有详细说明流程) |
301 Moved Permanently | 用户被永久移除。当用户请求时,服务器返回301值,并在Contact header field中携带新的地址,请求方应该更local directories, address books, and user location caches ,并且使用新的地址进行重新请求。 |
302 Moved Temporarily | 用户临时移除。请求方应根据Contact header field的地址,重新发起请求。 |
305 Use Proxy | The recipient is expected to repeat this single request via the proxy.希望proxy重新向Contact field.URI 地址发送请求。 |
380 Alternative Service | 呼叫失败,但重新选择服务器可能会成功。服务器返回380错误,在 message body 中携带新的服务器地址。 |
4xx: Client Error --the request contains bad syntax or cannot be fulfilled at this server; ----呼叫失败,客户端错误,请求的语法不正确或不满足服务器要求。客户端不需要重新请求 | |
400 Bad Request | 请求失败,在Reason-Phrase字段中会表明更加详细的错误信息 |
401 Unauthorized | 鉴权失败。401鉴权失败是由UASs and registrars发送的, 如果返回鉴权失败是407 (proxy servers)则是由代理服务器返回的 |
402 Payment Required | 原因保留(可能是请求方费用不足等) |
403 Forbidden | 服务器无法正确解析相应的请求。 |
404 Not Found | 无法路由到对方。例如对方不存在,或者对方不在相应的domain下等。 |
405 Method Not Allowed | 请求行Request-Line中的方法不允许,返回的消息中,会携带有服务器允许的方法(Allow header field containing a list of valid methods) |
406 Not Acceptable | 请求不被接收 |
407 Proxy Authentication Required | 代理服务器鉴权失败。 |
408 Request Timeout | 请求超时 |
410 Gone | The requested resource is no longer available at the server and no forwarding address is known.—主叫方不可用,如果是被叫方不可用,则返回404错误 |
413 Request Entity Too Large | 请求的entity-body太大,服务器无法处理。如果错误是临时的,则返回的消息中携带有Retry- After header field,说明服务器等待一段时间后,会重新尝试处理。 |
414 Request-URI Too Long | 请求的Request-URI太长,超出服务器范围。
|
415 Unsupported Media Type | 不支持的多媒体类型。同时The server MUST return a list of acceptable formats using the Accept, Accept-Encoding, or Accept-Language header field, depending on the specific problem with the content |
416 Unsupported URI Scheme | Request-URI在服务器中未知 |
420 Bad Extension | 服务器无法解析扩展的相关内容(extension specified in a Proxy-Require (Section 20.29) or Require (Section 20.32) header field.) |
421 Extension Required | 服务器需要请求携带扩展域 |
423 Interval Too Brief | the expiration time of the resource refreshed by the request is too short. |
480 Temporarily Unavailable | The callee’s end system was contacted successfully but the callee is currently unavailable,在Retry-After header field中携带重新呼叫时间。 |
481 Call/Transaction Does Not Exist | UAS received a request that does not match any existing dialog or transaction.
|
482 Loop Detected
| The server has detected a loop (Section 16.3 Item 4).
|
483 Too Many Hops | 服务器接收到的消息转接过程已经超过Max-Forwards的值(Max-Forwards一般默认为70) |
484 Address Incomplete
| 地址不兼容,返回的消息中reason phrase会携带具体原因。
|
485 Ambiguous
| 请求的 Request-URI有歧义,同时 The response MAY contain a listing of possible unambiguous addresses in Contact header fields. |
486 Busy Here | 被叫已接通,但被叫不愿意或者暂时不能接听额外的电话。 |
487 Request Terminated | The request was terminated by a BYE or CANCEL request. |
488 Not Acceptable Here | 同606,但only applies to the specific resource addressed by the Request-URI and the request may succeed elsewhere. |
491 Request Pending | 请求未决 |
493 Undecipherable | 无法解密 |
5xx: Server Error -- the server failed to fulfill an apparently valid request;服务器错误,服务器不能完全处理请求的消息。 | |
500 Server Internal Error | 服务器内部错误,如果错误是暂时的,则在Retry-After header field.中携带重新尝试时间 |
501 Not Implemented | 服务器不支持该请求的相关功能。 |
502 Bad Gateway | 网关错误 |
503 Service Unavailable | 服务器暂时不可用,例如服务器过载。同时返回的消息在Retry-After header field.中携带重新请求时间,如果没有携带Retry-After header field.则终端当500错误处理 |
504 Server Time-out | 在规定的时间,没有从external server 收到响应 408 (Request Timeout) |
505 Version Not Supported | SIP版本不正确。 |
513 Message Too Large | 消息太大,服务器无法处理 |
6xx: Global Failure -- the request cannot be fulfilled at any server.—全局错误,网络中的所有服务器都不能处理请求。 | |
600 Busy Everywhere
| 被叫已联系上,但被叫不接听电话,返回的消息中,在Retry-After header field携带重新请求的时间 如果被叫不愿意显示原因,则提示 603错误 如果被叫可以转接到语音信箱等,则返回486错误 |
603 Decline
| The callee’s machine was successfully contacted but the user explicitly does not wish to or cannot participate. The response MAY indicate a better time to call in the Retry-After header field. This status response is returned only if the client knows that no other end point will answer the request. |
604 Does Not Exist Anywhere | 用户不存在? |
606 Not Acceptable | 请求不被接收 |


