ACK消息的URI来自哪里?
简介 这里我们把ACK的场景限定到INVITE收到200响应之后,UAC构造ACK消息的URI来自哪里? 这里的时序图为 sequenceDiagram uac ->> uas: INVITE uas ->> uac: 200 uac ->> uas: ACK 我们要把这个问题讲清楚,不要臆造,并且必须提供RFC3261的原文作为参考。 RFC3261解读 📌 13.2.2.4 The UAC core MUST generate an ACK request for each 2xx received from the transaction layer ✏️ 这里说明,在UAC收到INVITE 200 OK后,必须回复ACK消息。 📌 12.2.1.1 Generating the Request The UAC uses the remote target and route set to build the Request-URI and Route header field of the request. If the route set is empty, the UAC MUST place the remote target URI into the Request-URI. The UAC MUST NOT add a Route header field to the request. If the route set is not empty, and the first URI in the route set contains the lr parameter (see Section 19.1.1), the UAC MUST place the remote target URI into the Request-URI and MUST include a Route header field containing the route set values in order, including all parameters. ...