<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> 
<dfn><code>REGISTRATIONS</code></dfn>
は、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SIP-CGI/1.1</anchor>
の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">環境変数</anchor>の1つです。</p><section><h1>関連</h1><p><code>Contact:</code></p></section><section><h1>歴史</h1><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 3050</anchor> (SIP-CGI/1.1) 5.5.1.6 REGISTRATIONS</figcaption><blockquote><p>This metavariable contains a list the current locations the server
has registered for the user in the Request-URI of the initial request
of a transaction.  It is syntactically identical to the protocol
metavariable SIP_CONTACT, and thus is defined by section 5.5.1.5 of
this document and by section 6.13 of the SIP/2.0 specification [2].
It contains all the uris, uri parameters, display names, and contact
parameters for the addresses registered with the server.</p></blockquote><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end>
この<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">メタ変数</anchor>は、<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">取引</anchor>の初期要求の <code class="ABNF"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Request-URI</anchor></code>
中の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">利用者</anchor>について<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">鯖</anchor>が<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">登録</anchor>している<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">現在位置</anchor>の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">並び</anchor>を含みます。
これは構文的にはプロトコル・メタ変数
<code class="CGI"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SIP_CONTACT</anchor></code> <ins>(訳注: そして <code class="SIP"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Contact</anchor>:</code> 欄)</ins>
と同一で、従ってこの文書の 5.5.1.5 
節 <ins>(訳注: <code class="CGI"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SIP_<var xmlns="http://www.w3.org/1999/xhtml">*</var></anchor></code> 参照。)</ins>
及び <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SIP/2.0</anchor> 仕様書の6.13節で定義されています。
このメタ変数は鯖に登録されている番地に関する全ての uri, uri 引数,
表示名, 接触引数を含みます。</p><blockquote><p>The syntax of REGISTRATIONS is identical to how SIP_CONTACT
would appear in a 302 response from a redirection server.
This allows parsing code to be re-used.</p></blockquote><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end>
<code class="CGI">REGISTRATIONS</code>
の構文は<ruby>再指向<rt>リダイレクト</rt></ruby>鯖からの <code class="SIP"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">302</anchor></code> 応答での
<code class="CGI">SIP_CONTACT</code>  の出現の仕方と同一です。
これによって解析コードの再利用ができます。</p><blockquote><p>If a user's registrations change in the course of a transaction, the
server SHOULD update this metavariable accordingly for subsequent
script invocations for the transaction.</p></blockquote><p>利用者の登録が取り引きの途中で変更されたなら、
鯖はその取引の続くスクリプト呼出に対してはこのメタ変数をそれに応じて更新する<strong>べきです (SHOULD)</strong>。</p></figure></section><section><h1>メモ</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> なんちゅーか、もっと頑張って名前をつけてもらいたかったところです。 
SIP 以外ではそうそう流用できなさそうな定義な割に一般名詞なのはいまいち。
(<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTTP CGI</anchor> などと <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">SIP CGI</anchor> が共用できるとはあまり思えませんけど、
折角共通の枠組みを使っているのですからね。)</p></section></body></html>