SIP URI-list INVITE: Conference Establishment Using Request-Contained Lists in the Session Initiation Protocol (SIP)
Lets a SIP client create a conference and name the first participants in a single INVITE request.
Camarillo, G. and A. Johnston, "Conference Establishment Using Request-Contained Lists in the Session Initiation Protocol (SIP)", RFC 5366, DOI 10.17487/RFC5366, October 2008, <https://www.rfc-editor.org/info/rfc5366>.
@misc{rfc5366,
series = {Request for Comments},
number = 5366,
howpublished = {RFC 5366},
publisher = {RFC Editor},
doi = {10.17487/RFC5366},
url = {https://www.rfc-editor.org/info/rfc5366},
author = {G. Camarillo and A. Johnston},
title = {{Conference Establishment Using Request-Contained Lists in the Session Initiation Protocol (SIP)}},
pagetotal = 13,
year = 2008,
month = oct,
} RFC text
Contents
Network Working Group G. Camarillo
Request for Comments: 5366 Ericsson
Category: Standards Track A. Johnston
Avaya
October 2008
Conference Establishment Using Request-Contained Lists
in the Session Initiation Protocol (SIP)
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Abstract
This document describes how to create a conference using SIP URI-list
services. In particular, it describes a mechanism that allows a User
Agent Client to provide a conference server with the initial list of
participants using an INVITE-contained URI list.
Table of Contents
1. Introduction ....................................................2
2. Terminology .....................................................2
3. User Agent Client Procedures ....................................2
3.1. Response Handling ..........................................2
3.2. Re-INVITE Request Generation ...............................3
4. URI-List Document Format ........................................3
5. Conference Server Procedures ....................................5
5.1. Re-INVITE Request Handling .................................6
6. Example .........................................................6
7. Security Considerations ........................................10
8. IANA Considerations ............................................10
9. Acknowledgments ................................................11
10. References ....................................................11
10.1. Normative References .....................................11
10.2. Informative References ...................................12
1. Introduction
Section 5.4 of [RFC4579] describes how to create a conference using
ad hoc SIP [RFC3261] methods. The client sends an INVITE request to
a conference factory URI and receives the actual conference URI,
which contains the "isfocus" feature tag, in the Contact header field
of a response -- typically a 200 (OK) response.
Once the UAC (User Agent Client) obtains the conference URI, it can
add participants to the newly created conference in several ways,
which are described in [RFC4579].
Some environments have tough requirements regarding conference
establishment time. They require the UAC to be able to request the
creation of an ad hoc conference and to provide the conference server
with the initial set of participants in a single operation. This
document describes how to meet this requirement using the mechanism
to transport URI lists in SIP messages described in [RFC5363].
2. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
3. User Agent Client Procedures
A UAC that wants to include the set of initial participants in its
initial INVITE request to create an ad hoc conference adds a body
whose disposition type is 'recipient-list', as defined in [RFC5363],
with a URI list that contains the participants that the UAC wants the
conference server to invite. Additionally, the UAC MUST include the
'recipient-list-invite' option-tag (which is registered with the IANA
in Section 8) in a Require header field. The UAC sends this INVITE
request to the conference factory URI.
The INVITE transaction is also part of an offer/answer exchange that
will establish a session between the UAC and the conference server,
as specified in [RFC4579]. Therefore, the INVITE request may need to
carry a multipart body: a session description and a URI list.
3.1. Response Handling
The status code in the response to the INVITE request does not
provide any information about whether or not the conference server
was able to bring the users in the URI list into the conference.
That is, a 200 (OK) response means that the conference was created
successfully, that the UAC that generated the INVITE request is in
the conference, and that the server understood the URI list. If the
UAC wishes to obtain information about the status of other users in
the conference, it SHOULD use general conference mechanisms, such as
the conference package, which is defined in [RFC4575].
3.2. Re-INVITE Request Generation
The previous sections have specified how to include a URI list in an
initial INVITE request to a conference server. Once the INVITE-
initiated dialog between the UAC and the conference server has been
established, the UAC can send subsequent INVITE requests (typically
referred to as re-INVITE requests) to the conference server to, for
example, modify the characteristics of the media exchanged with the
server.
At this point, there are no semantics associated with 'recipient-
list' bodies in re-INVITE requests (although future extensions may
define them). Therefore, UACs SHOULD NOT include 'recipient-list'
bodies in re-INVITE requests sent to a conference server.
Note that a difference between an initial INVITE request and a
re-INVITE request is that while the initial INVITE request is sent
to the conference factory URI, the re-INVITE request is sent to
the URI provided by the server in a Contact header field when the
dialog was established. Therefore, from the UAC's point of view,
the resource identified by the former URI supports 'recipient-
list' bodies, while the resource identified by the latter does not
support them.
4. URI-List Document Format
As described in [RFC5363], specifications of individual URI-list
services, like the conferencing service described here, need to
specify a default format for 'recipient-list' bodies used within the
particular service.
The default format for 'recipient-list' bodies for conferencing UAs
(User Agents) is the XML resource list format (which is specified in
[RFC4826]) extended with the "Extensible Markup Language (XML) Format
Extension for Representing Copy Control Attributes in Resource Lists"
[RFC5364]. Consequently, conferencing UACs generating 'recipient-
list' bodies MUST support both of these formats and MAY support other
formats. Conferencing servers able to handle 'recipient-list' bodies
MUST support both of these formats and MAY support other formats.
As described in "Extensible Markup Language (XML) Format Extension
for Representing Copy Control Attributes in Resource Lists"
[RFC5364], each URI can be tagged with a 'copyControl' attribute set
to either "to", "cc", or "bcc", indicating the role in which the
recipient will get the INVITE request. Additionally, URIs can be
tagged with the 'anonymize' attribute to prevent the conference
server from disclosing the target URI in a URI list.
In addition, "Extensible Markup Language (XML) Format Extension for
Representing Copy Control Attributes in Resource Lists" [RFC5364]
defines a 'recipient-list-history' body that contains the list of
recipients. The default format for 'recipient-list-history' bodies
for conferencing UAs is also the XML resource list document format
specified in [RFC4826] extended with "Extensible Markup Language
(XML) Format Extension for Representing Copy Control Attributes in
Resource Lists" [RFC5364]. Consequently, conferencing UACs able to
generate 'recipient-list-history' bodies MUST support these formats
and MAY support others. Conferencing UAs able to understand
'recipient-list-history' MUST support these formats and MAY support
others. Conferencing servers able to handle 'recipient-list-history'
bodies MUST support these formats and MAY support others.
Nevertheless, the XML resource list document specified in [RFC4826]
provides features, such as hierarchical lists and the ability to
include entries by reference relative to the XML Configuration Access
Protocol (XCAP) root URI, that are not needed by the conferencing
service defined in this document, which only needs to transfer a flat
list of URIs between a UA (User Agent) and the conference server.
Therefore, when using the default resource list document,
conferencing UAs SHOULD use flat lists (i.e., no hierarchical lists)
and SHOULD NOT use <entry-ref> elements. A conference factory
application receiving a URI list with more information than what has
just been described MAY discard all the extra information.
Figure 1 shows an example of a flat list that follows the XML
resource list document (specified in [RFC4826]) extended with
"Extensible Markup Language (XML) Format Extension for Representing
Copy Control Attributes in Resource Lists" [RFC5364].
<?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="urn:ietf:params:xml:ns:copycontrol">
<list>
<entry uri="sip:bill@example.com" cp:copyControl="to" />
<entry uri="sip:joe@example.org" cp:copyControl="cc" />
<entry uri="sip:ted@example.net" cp:copyControl="bcc" />
</list>
</resource-lists>
Figure 1: URI list
5. Conference Server Procedures
Conference servers that are able to receive and process INVITE
requests with a 'recipient-list' body SHOULD include a 'recipient-
list-invite' option-tag in a Supported header field when responding
to OPTIONS requests.
On reception of an INVITE request containing a 'recipient-list' body
as described in Section 3, a conference server MUST follow the rules
described in [RFC4579] to create ad hoc conferences. Once the ad hoc
conference is created, the conference server SHOULD attempt to add
the participants in the URI list to the conference as if their
addition had been requested using any of the methods described in
[RFC4579].
The INVITE transaction is also part of an offer/answer exchange that
will establish a session between the UAC and the conference server,
as specified in [RFC4579]. Therefore, the INVITE request may carry a
multipart body: a session description and a URI list.
Once the conference server has created the ad hoc conference and has
attempted to add the initial set of participants, the conference
server behaves as a regular conference server and MUST follow the
rules in [RFC4579].
The incoming INVITE request will contain a URI-list body or reference
(as specified in [RFC5363]) with the actual list of recipients. If
this URI list includes resources tagged with the 'copyControl'
attribute set to a value of "to" or "cc", the conference server
SHOULD include a URI list in each of the outgoing INVITE requests.
This list SHOULD be formatted according to the XML format for
representing resource lists (specified in [RFC4826]) and the
copyControl extension specified in [RFC5364].
The URI-list service MUST follow the procedures specified in
[RFC5364] with respect to the handling of the 'anonymize', 'count',
and 'copyControl' attributes.
If the conference server includes a URI list in an outgoing INVITE
request, it MUST include a Content-Disposition header field (which is
specified in [RFC2183]) with the value set to 'recipient-list-
history' and a 'handling' parameter (as specified in [RFC3204]) set
to "optional".
5.1. Re-INVITE Request Handling
At this point, there are no semantics associated with 'recipient-
list' bodies in re-INVITE requests (although future extensions may
define them). Therefore, a conference server receiving a re-INVITE
request with a 'recipient-list' body and, consequently, a
'recipient-list-invite' option-tag, following standard SIP
procedures, rejects it with a 420 (Bad Extension), which carries an
Unsupported header field listing the 'recipient-list-invite' option-
tag.
This is because the resource identified by the conference URI does
not actually support this extension. On the other hand, the
resource identified by the conference factory URI does support
this extension and, consequently, would include the 'recipient-
list-invite' option-tag in, for example, responses to OPTIONS
requests.
6. Example
Figure 2 shows an example of operation. A UAC sends an INVITE
request (F1) that contains an SDP body and a URI list to the
conference server. The conference server answers with a 200 (OK)
response and generates an INVITE request to each of the UASs (User
Agent Servers) identified by the URIs included in the URI list. The
conference server includes SDP and a manipulated URI list in each of
the outgoing INVITE requests.
+--------+ +---------+ +--------+ +--------+ +--------+
|SIP UAC | | confer. | |SIP UAS | |SIP UAS | |SIP UAS |
| | | server | | 1 | | 2 | | n |
+--------+ +---------+ +--------+ +--------+ +--------+
| | | | |
| F1 INVITE | | | |
| ---------------->| | | |
| F2 200 OK | | | |
|<---------------- | F3 INVITE | | |
| | ------------->| | |
| | F4 INVITE | | |
| | ------------------------>| |
| | F5 INVITE | | |
| | ----------------------------------->|
| | F6 200 OK | | |
| |<------------- | | |
| | F7 200 OK | | |
| |<------------------------ | |
| | F8 200 OK | | |
| |<----------------------------------- |
| | | | |
| | | | |
| | | | |
Figure 2: Example of operation
Figure 3 shows an example of the INVITE request F1, which carries a
multipart/mixed body composed of two other bodies: an application/sdp
body that describes the session and an application/resource-lists+xml
body that contains the list of target URIs.
INVITE sip:conf-fact@example.com SIP/2.0
Via: SIP/2.0/TCP atlanta.example.com
;branch=z9hG4bKhjhs8ass83
Max-Forwards: 70
To: "Conf Factory" <sip:conf-fact@example.com>
From: Alice <sip:alice@example.com>;tag=32331
Call-ID: d432fa84b4c76e66710
CSeq: 1 INVITE
Contact: <sip:alice@atlanta.example.com>
Allow: INVITE, ACK, CANCEL, BYE, REFER
Allow-Events: dialog
Accept: application/sdp, message/sipfrag
Require: recipient-list-invite
Content-Type: multipart/mixed;boundary="boundary1"
Content-Length: 690
--boundary1
Content-Type: application/sdp
v=0
o=alice 2890844526 2890842807 IN IP4 atlanta.example.com
s=-
c=IN IP4 192.0.2.1
t=0 0
m=audio 20000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=video 20002 RTP/AVP 31
a=rtpmap:31 H261/90000
--boundary1
Content-Type: application/resource-lists+xml
Content-Disposition: recipient-list
<?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="urn:ietf:params:xml:ns:copyControl">
<list>
<entry uri="sip:bill@example.com" cp:copyControl="to" />
<entry uri="sip:randy@example.net" cp:copyControl="to"
cp:anonymize="true"/>
<entry uri="sip:eddy@example.com" cp:copyControl="to"
cp:anonymize="true"/>
<entry uri="sip:joe@example.org" cp:copyControl="cc" />
<entry uri="sip:carol@example.net" cp:copyControl="cc"
cp:anonymize="true"/>
<entry uri="sip:ted@example.net" cp:copyControl="bcc" />
<entry uri="sip:andy@example.com" cp:copyControl="bcc" />
</list>
</resource-lists>
--boundary1--
Figure 3: INVITE request received at the conference server
The INVITE requests F3, F4, and F5 are similar in nature. All those
INVITE requests contain a multipart/mixed body that is composed of
two other bodies: an application/sdp body describing the session and
an application/resource-lists+xml containing the list of recipients.
The application/resource-lists+xml bodies are not equal to the
application/resource-lists+xml included in the received INVITE
request F1, because the conference server has anonymized those URIs
tagged with the 'anonymize' attribute and has removed those URIs
tagged with a "bcc" 'copyControl' attribute. Figure 4 shows an
example of the message F3.
INVITE sip:bill@example.com SIP/2.0
Via: SIP/2.0/TCP conference.example.com
;branch=z9hG4bKhjhs8as454
Max-Forwards: 70
To: <sip:bill@example.com>
From: Conference Server <sip:conf34@example.com>;tag=234332
Call-ID: 389sn189dasdf
CSeq: 1 INVITE
Contact: <sip:conf34@conference.example.com>;isfocus
Allow: INVITE, ACK, CANCEL, BYE, REFER
Allow-Events: dialog, conference
Accept: application/sdp, message/sipfrag
Content-Type: multipart/mixed;boundary="boundary1"
Content-Length: 690
--boundary1
Content-Type: application/sdp
v=0
o=conf 2890844343 2890844343 IN IP4 conference.example.com
s=-
c=IN IP4 192.0.2.5
t=0 0
m=audio 40000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=video 40002 RTP/AVP 31
a=rtpmap:31 H261/90000
--boundary1
Content-Type: application/resource-lists+xml
Content-Disposition: recipient-list-history; handling=optional
<?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="urn:ietf:params:xml:ns:copycontrol">
<list>
<entry uri="sip:bill@example.com" cp:copyControl="to" />
<entry uri="sip:anonymous@anonymous.invalid" cp:copyControl="to"
cp:count="2"/>
<entry uri="sip:joe@example.org" cp:copyControl="cc" />
<entry uri="sip:anonymous@anonymous.invalid" cp:copyControl="cc"
cp:count="1"/>
</list>
</resource-lists>
--boundary1--
Figure 4: INVITE request sent by the conference server
7. Security Considerations
This document discusses setup of SIP conferences using a request-
contained URI list. Both conferencing and URI-list services have
specific security requirements, which are summarized here.
Conferences generally have authorization rules about who can or
cannot join a conference, what type of media can or cannot be used,
etc. This information is used by the focus to admit or deny
participation in a conference. It is RECOMMENDED that these types of
authorization rules be used to provide security for a SIP conference.
For this authorization information to be used, the focus needs to be
able to authenticate potential participants. Normal SIP mechanisms,
including Digest authentication and certificates, can be used. These
conference-specific security requirements are discussed further in
the requirements and framework documents -- [RFC4245] and [RFC4353].
For conference creation using a list, there are some additional
security considerations. "Framework and Security Considerations for
Session Initiation Protocol (SIP) URI-List Services" [RFC5363]
discusses issues related to SIP URI-list services. Given that a
conference server sending INVITE requests to a set of users acts as a
URI-list service, implementations of conference servers that handle
lists MUST follow the security-related rules in [RFC5363]. These
rules include opt-in lists and mandatory authentication and
authorization of clients.
8. IANA Considerations
This document defines the 'recipient-list-invite' SIP option-tag. It
has been registered in the Option Tags subregistry under the SIP
parameter registry. The following is the description used in the
registration:
+------------------------+------------------------------+-----------+
| Name | Description | Reference |
+------------------------+------------------------------+-----------+
| recipient-list-invite | The body contains a list of | [RFC5366] |
| | URIs that indicates the | |
| | recipients of the SIP INVITE | |
| | request | |
+------------------------+------------------------------+-----------+
Table 1: Registration of the 'recipient-list-invite' option-tag
in SIP
9. Acknowledgments
Cullen Jennings, Hisham Khartabil, Jonathan Rosenberg, and Keith
Drage provided useful comments on this document. Miguel Garcia-
Martin assembled the dependencies to the 'copyControl' attribute
extension.
10. References
10.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC2183] Troost, R., Dorner, S., and K. Moore, Ed., "Communicating
Presentation Information in Internet Messages: The
Content-Disposition Header Field", RFC 2183, August 1997.
[RFC3204] Zimmerer, E., Peterson, J., Vemuri, A., Ong, L., Audet,
F., Watson, M., and M. Zonoun, "MIME media types for ISUP
and QSIG Objects", RFC 3204, December 2001.
[RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
A., Peterson, J., Sparks, R., Handley, M., and E.
Schooler, "SIP: Session Initiation Protocol", RFC 3261,
June 2002.
[RFC4579] Johnston, A. and O. Levin, "Session Initiation Protocol
(SIP) Call Control - Conferencing for User Agents", BCP
119, RFC 4579, August 2006.
[RFC4826] Rosenberg, J., "Extensible Markup Language (XML) Formats
for Representing Resource Lists", RFC 4826, May 2007.
[RFC5363] Camarillo, G. and A.B. Roach, "Framework and Security
Considerations for Session Initiation Protocol (SIP) URI-
List Services", RFC 5363, October 2008.
[RFC5364] Garcia-Martin, M. and G. Camarillo, "Extensible Markup
Language (XML) Format Extension for Representing Copy
Control Attributes in Resource Lists", RFC 5364, October
2008.
10.2. Informative References
[RFC4245] Levin, O. and R. Even, "High-Level Requirements for
Tightly Coupled SIP Conferencing", RFC 4245, November
2005.
[RFC4353] Rosenberg, J., "A Framework for Conferencing with the
Session Initiation Protocol (SIP)", RFC 4353, February
2006.
[RFC4575] Rosenberg, J., Schulzrinne, H., and O. Levin, Ed., "A
Session Initiation Protocol (SIP) Event Package for
Conference State", RFC 4575, August 2006.
Authors' Addresses
Gonzalo Camarillo
Ericsson
Hirsalantie 11
Jorvas 02420
Finland
EMail: Gonzalo.Camarillo@ericsson.com
Alan Johnston
Avaya
St. Louis, MO 63124
USA
EMail: alan@sipstation.com
Full Copyright Statement
Copyright (C) The IETF Trust (2008).
This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
ISO Plain Language
On this page
§1Creating a Conference in One Request
Section 5.4 of RFC 4579 describes how to create a conference using ad hoc SIP methods of RFC 3261. The client sends an INVITE request to a conference factory URI and receives the actual conference URI, which contains the isfocus feature tag, in the Contact header field of a response, typically a 200 (OK) response. Once the User Agent Client has that conference URI, it can add participants to the newly created conference in the several ways described in RFC 4579.
Some environments have tough requirements about how quickly a conference must be set up. They require the User Agent Client to be able to request the creation of an ad hoc conference and to give the conference server the initial set of participants in a single operation. This document describes how to meet that requirement, using the mechanism for transporting URI lists in SIP messages that is defined in RFC 5363.
Setting up a conference the ordinary way takes two steps and two round trips. This document combines them into one request, which matters when the conference has to exist quickly.
§3User Agent Client Procedures
A User Agent Client that wants to include the set of initial participants in its initial INVITE request to create an ad hoc conference adds a body whose disposition type is recipient-list, as defined in RFC 5363, with a URI list containing the participants that the User Agent Client wants the conference server to invite. The User Agent Client MUST also include the recipient-list-invite option-tag, which is registered with IANA in Section 8, in a Require header field, and it sends this INVITE request to the conference factory URI.
The INVITE transaction is also part of an offer/answer exchange that establishes a session between the User Agent Client and the conference server, as specified in RFC 4579. The INVITE request may therefore need to carry a multipart body: a session description and a URI list.
The status code in the response does not say whether the conference server was able to bring the users in the URI list into the conference. A 200 (OK) response means that the conference was created successfully, that the User Agent Client that generated the INVITE request is in the conference, and that the server understood the URI list. If the client wants information about the status of the other users in the conference, it SHOULD use general conference mechanisms, such as the conference package defined in RFC 4575.
Once the dialog between the User Agent Client and the conference server has been established, the client can send subsequent INVITE requests, typically called re-INVITE requests, for example to change the characteristics of the media exchanged with the server. There are no semantics associated with recipient-list bodies in re-INVITE requests, although future extensions may define them, so User Agent Clients SHOULD NOT include such bodies in re-INVITE requests sent to a conference server. The difference between the two kinds of request matters here: the initial INVITE goes to the conference factory URI, while the re-INVITE goes to the URI the server supplied in a Contact header field when the dialog was established. From the client's point of view, the resource identified by the first URI supports recipient-list bodies, while the resource identified by the second does not.
The client attaches two things to the invitation: the list of people to invite, and a marker saying that the list is there. The server's reply confirms that the conference was created and that the list was understood, but it says nothing about whether each person answered. A later invitation inside the same call must not carry the list again, because the conference server does not support it there.
§4The URI-List Document Format
As described in RFC 5363, specifications of individual URI-list services, such as the conferencing service described here, need to specify a default format for recipient-list bodies used within the particular service.
The default format for recipient-list bodies for conferencing User Agents is the XML resource list format specified in RFC 4826, extended with the copy control attribute extension defined in RFC 5364. Conferencing User Agents generating recipient-list bodies MUST support both of these formats and MAY support other formats, and conferencing servers able to handle such bodies MUST support both of these formats and MAY support others.
Each URI can be tagged with a copyControl attribute set to either to, cc or bcc, indicating the role in which the recipient will get the INVITE request. URIs can also be tagged with the anonymize attribute, to prevent the conference server from disclosing the target URI in a URI list. The same extension defines a recipient-list-history body, which contains the list of recipients, and the default format for those bodies is the same XML resource list document extended with the copy control extension.
The XML resource list document provides features, such as hierarchical lists and the ability to include entries by reference relative to the XCAP root URI, that the conferencing service does not need, since it only needs to transfer a flat list of URIs between a User Agent and the conference server. Conferencing User Agents SHOULD therefore use flat lists and SHOULD NOT use entry-ref elements, and a conference factory application receiving a URI list with more information than that MAY discard all the extra information. Figure 1 of the RFC shows a flat list with three entries, one tagged to, one cc and one bcc.
The list of people is written as an XML document. Each entry says whether the person is a main recipient, a copied recipient or a blind copy, and can ask for the address to be hidden from the other participants. The conferencing service only needs a flat list, so the richer features of the XML format should not be used.
<?xml version="1.0" encoding="UTF-8"?>
<resource-lists xmlns="urn:ietf:params:xml:ns:resource-lists"
xmlns:cp="urn:ietf:params:xml:ns:copycontrol">
<list>
<entry uri="sip:bill@example.com" cp:copyControl="to" />
<entry uri="sip:joe@example.org" cp:copyControl="cc" />
<entry uri="sip:ted@example.net" cp:copyControl="bcc" />
</list>
</resource-lists>§5Conference Server Procedures
Conference servers that are able to receive and process INVITE requests with a recipient-list body SHOULD include the recipient-list-invite option-tag in a Supported header field when responding to OPTIONS requests.
On reception of an INVITE request containing a recipient-list body as described in Section 3, a conference server MUST follow the rules described in RFC 4579 to create the ad hoc conference. Once the conference is created, the server SHOULD attempt to add the participants in the URI list to the conference as if their addition had been requested using any of the methods described in RFC 4579. Once it has created the conference and attempted to add the initial set of participants, the conference server behaves as a regular conference server and MUST follow the rules in RFC 4579.
The incoming INVITE request contains a URI-list body or reference, as specified in RFC 5363, with the actual list of recipients. If this list includes resources tagged with the copyControl attribute set to to or cc, the conference server SHOULD include a URI list in each of the outgoing INVITE requests, formatted according to the XML format for resource lists and the copy control extension. The URI-list service MUST follow the procedures specified in RFC 5364 for the handling of the anonymize, count and copyControl attributes.
If the conference server includes a URI list in an outgoing INVITE request, it MUST include a Content-Disposition header field, specified in RFC 2183, with the value set to recipient-list-history and a handling parameter, as specified in RFC 3204, set to optional.
For a re-INVITE request there are no semantics associated with recipient-list bodies, so a conference server that receives one, and therefore a recipient-list-invite option-tag, rejects it following standard SIP procedures with a 420 (Bad Extension), which carries an Unsupported header field listing the recipient-list-invite option-tag. The resource identified by the conference URI does not support the extension, while the resource identified by the conference factory URI does, and consequently includes the option-tag in, for example, responses to OPTIONS requests.
When the server gets the invitation with the list, it creates the conference and then sends its own invitation to each person on the list. Each outgoing invitation carries a copy of the list, with the hidden addresses replaced and the blind-copy recipients removed, so that everyone can see who else is in the room.
§6Example Exchange
Figure 2 of the RFC shows the example operation. A User Agent Client sends an INVITE request, F1, containing an SDP body and a URI list to the conference server. The conference server answers with a 200 (OK) response and generates an INVITE request to each of the User Agent Servers identified by the URIs in the list. Each outgoing INVITE request contains SDP and a manipulated URI list.
Figure 3 shows the F1 request itself. It carries a multipart/mixed body composed of two other bodies: an application/sdp body that describes the session and an application/resource-lists+xml body that contains the list of target URIs. The request also carries Require: recipient-list-invite and a Content-Disposition: recipient-list header on the list body. The list holds seven entries: two tagged to, two tagged cc and two tagged bcc, with three of them also carrying cp:anonymize="true".
Figure 4 shows the outgoing F3 request. The application/resource-lists+xml body in it is not the same as the one in F1: the conference server has anonymized the URIs tagged with the anonymize attribute and has removed the URIs tagged with a bcc copyControl attribute. The two anonymized to entries collapse into one entry for sip:anonymous@anonymous.invalid carrying a cp:count="2" attribute, and the anonymized cc entry into one carrying cp:count="1". The body is marked Content-Disposition: recipient-list-history; handling=optional.
The example shows a client sending one invitation that carries both the session description and the list of seven people. The server then invites each of them separately, and the list it passes on shows only the recipients that are meant to see each other, with hidden addresses replaced by a placeholder that says how many were hidden.
- F1 INVITECarries an SDP body and the URI list.
- F2 200 OKThe conference was created and the client is in it.
- F3 INVITEWith SDP and a manipulated URI list.
- F4 INVITE
- F5 INVITE
- F6 200 OK
- F7 200 OK
- F8 200 OK
§7Security Considerations
Both conferencing and URI-list services have their own security requirements. Conferences generally have authorization rules about who can or cannot join, what type of media can or cannot be used, and so on, and this information is used by the focus to admit or deny participation. It is RECOMMENDED that these authorization rules be used to provide security for a SIP conference.
For that authorization information to be used, the focus needs to be able to authenticate potential participants, using normal SIP mechanisms such as Digest authentication and certificates. The conference-specific security requirements are discussed further in RFC 4245 and RFC 4353.
For conference creation using a list there are additional considerations. Because a conference server sending INVITE requests to a set of users acts as a URI-list service, implementations of conference servers that handle lists MUST follow the security-related rules in RFC 5363. Those rules include opt-in lists and mandatory authentication and authorization of clients.
A conference has rules about who may join and what media may be used, and the server enforces them. Because the server is now inviting a list of people on its own, it must also follow the security rules that apply to any service that sends invitations to a list.
§8The recipient-list-invite Option Tag
This document defines the recipient-list-invite SIP option-tag. It has been registered in the Option Tags subregistry under the SIP parameter registry. The description used in the registration reads: the body contains a list of URIs that indicates the recipients of the SIP INVITE request.
The option-tag is what makes the extension detectable. A client puts it in the Require header field of the INVITE request, so a server that does not understand it answers with an error instead of quietly ignoring the list. A server that does understand it announces the tag in the Supported header field when it answers an OPTIONS request.
The tag in the Require header is how a client tells the server that the list is not optional. A server that does not know the tag rejects the request instead of dropping the list, and a server that does know it advertises the tag when asked what it supports.