RFC3261: SIP:8.1.1生成请求

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节)。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值