[4] 
[DFN[[CODE[REGISTRATIONS]]]]
は、
[[SIP-CGI/1.1]]
の[[環境変数]]の1つです。

* 関連

[CODE[Contact:]]


* 歴史

[FIG(quote)[ [5] [[RFC 3050]] (SIP-CGI/1.1) 5.5.1.6 REGISTRATIONS
>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.

[1]
この[[メタ変数]]は、[[取引]]の初期要求の [CODE(ABNF)[[[Request-URI]]]]
中の[[利用者]]について[[鯖]]が[[登録]]している[[現在位置]]の[[並び]]を含みます。
これは構文的にはプロトコル・メタ変数
[CODE(CGI)[[[SIP_CONTACT]]]] [INS[(訳注: そして [CODE(SIP)[[[Contact]]:]] 欄)]]
と同一で、従ってこの文書の 5.5.1.5 
節 [INS[(訳注: [CODE(CGI)[[[SIP_[VAR[*]]]]]] 参照。)]]
及び [[SIP/2.0]] 仕様書の6.13節で定義されています。
このメタ変数は鯖に登録されている番地に関する全ての uri, uri 引数,
表示名, 接触引数を含みます。

>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.

[3]
[CODE(CGI)[REGISTRATIONS]]
の構文は[RUBY[再指向][リダイレクト]]鯖からの [CODE(SIP)[[[302]]]] 応答での
[CODE(CGI)[SIP_CONTACT]]  の出現の仕方と同一です。
これによって解析コードの再利用ができます。

>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.

利用者の登録が取り引きの途中で変更されたなら、
鯖はその取引の続くスクリプト呼出に対してはこのメタ変数をそれに応じて更新する'''べきです (SHOULD)'''。
]FIG]

* メモ

[2] なんちゅーか、もっと頑張って名前をつけてもらいたかったところです。 
SIP 以外ではそうそう流用できなさそうな定義な割に一般名詞なのはいまいち。
([[HTTP CGI]] などと [[SIP CGI]] が共用できるとはあまり思えませんけど、
折角共通の枠組みを使っているのですからね。)
