SIP 100 Trying vs 415 Unsupported Media Type
SIP 100 (Trying) is a 1xx Provisional response, while 415 (Unsupported Media Type) 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, 415 means that the server is refusing the request because the message body is in a format not supported by the server for the requested method.
描述
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 server is refusing the request because the message body is in a format not supported by the server for the requested method.
何时出现
When the Content-Type of the request body is not supported. For INVITE, this often means an unsupported SDP format.
如何修复
Check the Accept header in the response to see supported media types. Use a compatible Content-Type in your request.
主要区别
100 is a 1xx Provisional response, while 415 is a 4xx Client Failure 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 415: The server is refusing the request because the message body is in a format not supported by the server for the requested method.
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 415 when when the Content-Type of the request body is not supported. For INVITE, this often means an unsupported SDP format.
何时使用哪个
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 415 (Unsupported Media Type): Check the Accept header in the response to see supported media types. Use a compatible Content-Type in your request.