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.
Mô tả
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.
Khi bạn thấy mã này
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.
Cách khắc phục
No fix needed — this is normal call setup behavior. If stuck on 100 Trying for too long, check network connectivity and proxy configuration.
Mô tả
The request has succeeded. For INVITE, the call has been answered. For other methods, the action has been completed successfully.
Khi bạn thấy mã này
When a call is answered (INVITE 200 OK), a registration succeeds (REGISTER 200 OK), or a subscription is accepted (SUBSCRIBE 200 OK).
Cách khắc phục
No fix needed — this is a success response. The caller should send an ACK to complete the three-way handshake for INVITE transactions.
Sự khác biệt chính
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).
Khi nào dùng cái nào
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.