SIP 100 Trying vs 200 OK
SIP 100 (Trying) is a 1xx Provisional response, while 200 (OK) is a 2xx Success response. 100 indicates that the request has been received by the next-hop server and an unspecified action is being taken to process it. The UAC should expect additional responses. In contrast, 200 means that the request has succeeded. For INVITE, the call has been answered. For other methods, the action has been completed successfully.
描述
The request has been received by the next-hop server and an unspecified action is being taken to process it. The UAC should expect additional responses.
何时出现
Immediately after sending an INVITE. The proxy has received the call and is searching for the callee. This is the SIP equivalent of a dial tone.
如何修复
No fix needed — this is normal call setup behavior. If stuck on 100 Trying for too long, check network connectivity and proxy configuration.
描述
The request has succeeded. For INVITE, the call has been answered. For other methods, the action has been completed successfully.
何时出现
When a call is answered (INVITE 200 OK), a registration succeeds (REGISTER 200 OK), or a subscription is accepted (SUBSCRIBE 200 OK).
如何修复
No fix needed — this is a success response. The caller should send an ACK to complete the three-way handshake for INVITE transactions.
主要区别
100 is a 1xx Provisional response, while 200 is a 2xx Success response.
SIP 100: The request has been received by the next-hop server and an unspecified action is being taken to process it. The UAC should expect additional responses.
SIP 200: The request has succeeded. For INVITE, the call has been answered. For other methods, the action has been completed successfully.
You encounter 100 when immediately after sending an INVITE. The proxy has received the call and is searching for the callee. This is the SIP equivalent of a dial tone.
You encounter 200 when when a call is answered (INVITE 200 OK), a registration succeeds (REGISTER 200 OK), or a subscription is accepted (SUBSCRIBE 200 OK).
何时使用哪个
For 100 (Trying): No fix needed — this is normal call setup behavior. If stuck on 100 Trying for too long, check network connectivity and proxy configuration. For 200 (OK): No fix needed — this is a success response. The caller should send an ACK to complete the three-way handshake for INVITE transactions.