SIP

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.

Deskripsi

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.

Ketika Anda Melihatnya

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.

Cara Memperbaiki

No fix needed — this is normal call setup behavior. If stuck on 100 Trying for too long, check network connectivity and proxy configuration.

Deskripsi

The request has succeeded. For INVITE, the call has been answered. For other methods, the action has been completed successfully.

Ketika Anda Melihatnya

When a call is answered (INVITE 200 OK), a registration succeeds (REGISTER 200 OK), or a subscription is accepted (SUBSCRIBE 200 OK).

Cara Memperbaiki

No fix needed — this is a success response. The caller should send an ACK to complete the three-way handshake for INVITE transactions.

Perbedaan Utama

1.

100 is a 1xx Provisional response, while 200 is a 2xx Success response.

2.

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.

3.

SIP 200: The request has succeeded. For INVITE, the call has been answered. For other methods, the action has been completed successfully.

4.

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.

5.

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).

Kapan Menggunakan Yang Mana

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.

Pelajari Lebih Lanjut