Status-Line = SIP-Version SP Status-Code SP Reason-Phrase CRLF
例如: SIP/2.0 200 OK
header = "header-name" HCOLON header-value *(COMMA header-value)
例如:
From: Alice <sip:alice@atlanta.com>;tag=1928301774
CSeq: 314159 INVITE
Header fields can be extended over multiple lines by preceding each
extra line with at least one SP or horizontal tab (HT). The line
break and the whitespace at the beginning of the next line are
treated as a single SP character. Thus, the following are
equivalent:
Subject: I know you're there, pick up the phone and talk to me!
Subject: I know you're there,
pick up the phone
and talk to me!
The following groups of header field rows are valid and equivalent:
Route: <sip:alice@atlanta.com>
Subject: Lunch
Route: <sip:bob@biloxi.com>
Route: <sip:carol@chicago.com>
Route: <sip:alice@atlanta.com>, <sip:bob@biloxi.com>
Route: <sip:carol@chicago.com>
Subject: Lunch
Subject: Lunch
Route: <sip:alice@atlanta.com>, <sip:bob@biloxi.com>,
<sip:carol@chicago.com>
本文介绍了SIP协议的基本组成,包括状态行、头字段等关键部分,并通过实例展示了如何使用这些元素构建SIP消息。
1840

被折叠的 条评论
为什么被折叠?



