8.1.1 Generating the Request 8.1.1生成请求 A valid SIP request formulated by a UAC MUST, at a minimum, contain the following header fields: To, From, CSeq, Call-ID, Max-Forwards, and Via; all of these header fields are mandatory in all SIP requests. These six header fields are the fundamental building blocks of a SIP message, as they jointly provide for most of the critical message routing services including the addressing of messages, the routing of responses, limiting message propagation, ordering of messages, and the unique identification of transactions. These header fields are in addition to the mandatory request line, which contains the method, Request-URI, and SIP version. UAC制定的有效SIP请求必须至少包含以下报头字段:To、From、CSeq、Call ID、Max Forwards和Via;所有这些报头字段在所有SIP请求中都是强制性的。这六个头字段是SIP消息的基本构建块,因为它们共同提供了大多数关键的消息路由服务,包括消息的寻址、响应的路由、限制消息传播、消息的排序和事务的唯一标识。这些报头字段是对强制请求行的补充,该行包含方法、请求URI和SIP版本。 Examples of requests sent outside of a dialog include an INVITE to establish a session (Section 13) and an OPTIONS to query for capabilities (Section 11).
在对话之外发送的请求的示例包括建立会话的INVITE(第13节)和查询能力的OPTIONS(第11节)。