SIP

SIP 100 Trying vs 405 Method Not Allowed

SIP 100 (Trying) is a 1xx Provisional response, while 405 (Method Not Allowed) is a 4xx Client Failure 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, 405 means that the method specified in the Request-Line is not allowed for the address identified by the Request-URI.

คำอธิบาย

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 method specified in the Request-Line is not allowed for the address identified by the Request-URI.

เมื่อคุณพบเห็น

When sending a SIP method (e.g., MESSAGE, PUBLISH) that the server does not support for the target URI.

วิธีแก้ไข

Check the Allow header in the response to see which methods are supported. Use a supported method instead.

ความแตกต่างหลัก

1.

100 is a 1xx Provisional response, while 405 is a 4xx Client Failure 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 405: The method specified in the Request-Line is not allowed for the address identified by the Request-URI.

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 405 when when sending a SIP method (e.g., MESSAGE, PUBLISH) that the server does not support for the target URI.

ควรใช้อันไหนเมื่อไร

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 405 (Method Not Allowed): Check the Allow header in the response to see which methods are supported. Use a supported method instead.

เรียนรู้เพิ่มเติม