[Simple] Can the subscription sip URI be the pres URI of the presentity?

"Hyttfors, Per" <Per.Hyttfors@sonyericsson.com> Wed, 07 June 2006 14:15 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Fnyod-0008K4-I2; Wed, 07 Jun 2006 10:15:23 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Fnyoc-0008Jw-QR for simple@ietf.org; Wed, 07 Jun 2006 10:15:22 -0400
Received: from seldrel01.sonyericsson.com ([212.209.106.2]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Fnyob-0007cn-9z for simple@ietf.org; Wed, 07 Jun 2006 10:15:22 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 07 Jun 2006 16:15:16 +0200
Message-ID: <1AF90E65795A3D45AA116B9264B4DAAF05F779E0@SELDMSX01.corpusers.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Can the subscription sip URI be the pres URI of the presentity?
Thread-Index: AcaDzRJ/KAxCkTDTQk++ulgJNZasggGblrzw
From: "Hyttfors, Per" <Per.Hyttfors@sonyericsson.com>
To: jdrosen@cisco.com
X-OriginalArrivalTime: 07 Jun 2006 14:15:17.0522 (UTC) FILETIME=[CD646F20:01C68A3C]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d185fa790257f526fedfd5d01ed9c976
Cc: simple@ietf.org
Subject: [Simple] Can the subscription sip URI be the pres URI of the presentity?
X-BeenThere: simple@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: SIP for Instant Messaging and Presence Leveraging Extensions <simple.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/simple>
List-Post: <mailto:simple@ietf.org>
List-Help: <mailto:simple-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=subscribe>
Errors-To: simple-bounces@ietf.org

It is stated in RFC 3863 §4.1.1 that the <presence> element MUST have an 'entity' attribute. The value of the 'entity' attribute is the 'pres' URL of the PRESENTITY publishing this presence document.

Examples in "draft-ietf-simple-rpid-10", "draft-ietf-simple-partial-pidf-format-06" has the 'entity' attribute set to a pres: URI. The example in section 6 in IETF draft "draft-ietf-simple-event-list-07" has the 'entity' attribute set to a sip: URI, the same URI as the one in the resource lists document for that user.

Can the presentity URI be the same as the URI used when subscribing? I.e can the subscription sip URI be the 'pres' URL of the presentity?

Also, don't know if this has been reported, but the example in 7.1 in draft-ietf-simple-presence-data-model-07 is invalid, the entity attribute is missing.

(The unanswered question below covers the same question as mine)

Regards,

Per
 
>-----Original Message-----
>From: Silvestr.Peknik@tietoenator.com 
>[mailto:Silvestr.Peknik@tietoenator.com] 
>Sent: tisdag den 30 maj 2006 11:40
>To: jdrosen@cisco.com
>Cc: simple@ietf.org
>Subject: [Simple] publishing presence state - sip and pres uris (again)
>
>Hi, please could you check my questions?
>
>Thank you,
>Silvestr
>
>>-----Original Message-----
>>From: Jonathan Rosenberg [mailto:jdrosen@cisco.com]
>>Sent: Monday, May 01, 2006 9:21 PM
>>To: Peknik Silvestr
>>Cc: simple@ietf.org
>>Subject: Re: [Simple] publishing presence state - sip and pres uris
>>
>>This can happen, yes. The presence data model draft (out shortly as an
>>RFC) does say you shouldn't do this - that the URI in the 
>SUBSCRIBE or 
>>PUBLISH should match that in the document.
>
>What is the relation between To header and r-URI? Currently it 
>seems to me that the client should set both to the same value, 
>but r-URI can be changed by proxies. If this is the case, why 
>not to use To header instead of r-URI for identifying the 
>target of the request? And if the r-URI can not be changed, 
>what is the purpose of To header?
>
>>
>>That said, the presence server should know that the pres and sip URI
>are
>>equivalent, and thus even though the R-uri identifies the SIP 
>URI, the 
>>document should be applied to the presentity URI sip:alan@example.com
>as
>>well. Consequently, a SUBSCRIBE request for 
>sip:alan@example.com would 
>>return a presence document whose entity attribute is
>sip:alan@example.com.
>
>I guess there is typo - it should say:
>...applied to the presentity URI pres:alan@example.com as well...
>Am I right?
>
>Thank you,
>Silvestr Peknik
>
>_______________________________________________
>Simple mailing list
>Simple@ietf.org
>https://www1.ietf.org/mailman/listinfo/simple
>

_______________________________________________
Simple mailing list
Simple@ietf.org
https://www1.ietf.org/mailman/listinfo/simple