SIP 200 OK vs 380 Alternative Service
SIP 200 (OK) is a 2xx Success response, while 380 (Alternative Service) is a 3xx Redirection response. 200 indicates that the request has succeeded. For INVITE, the call has been answered. For other methods, the action has been completed successfully. In contrast, 380 means that the call was not successful but alternative services are possible. The response body contains a description of alternative services.
विवरण
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.
विवरण
The call was not successful but alternative services are possible. The response body contains a description of alternative services.
जब आप इसे देखें
Rarely seen in practice. Indicates that the request cannot be fulfilled as-is but the user may be reached via an alternative method.
कैसे ठीक करें
Check the response body for alternative service descriptions and attempt to reach the user through those channels.
मुख्य अंतर
200 is a 2xx Success response, while 380 is a 3xx Redirection response.
SIP 200: The request has succeeded. For INVITE, the call has been answered. For other methods, the action has been completed successfully.
SIP 380: The call was not successful but alternative services are possible. The response body contains a description of alternative services.
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).
You encounter 380 when rarely seen in practice. Indicates that the request cannot be fulfilled as-is but the user may be reached via an alternative method.
कब किसका उपयोग करें
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. For 380 (Alternative Service): Check the response body for alternative service descriptions and attempt to reach the user through those channels.