[Simple] Adding a telephone number to a basic PIDF document
"Tim Rang" <timrang@microsoft.com> Thu, 06 October 2005 22:33 UTC
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1ENeIp-0004bC-4D; Thu, 06 Oct 2005 18:33:27 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1ENeIn-0004az-5W for simple@megatron.ietf.org; Thu, 06 Oct 2005 18:33:25 -0400
Received: from ietf-mx.ietf.org (ietf-mx [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA23401 for <simple@ietf.org>; Thu, 6 Oct 2005 18:33:21 -0400 (EDT)
Received: from mail2.microsoft.com ([131.107.3.124]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1ENeRx-00047h-3R for simple@ietf.org; Thu, 06 Oct 2005 18:42:54 -0400
Received: from mailout1.microsoft.com ([157.54.1.117]) by mail2.microsoft.com with Microsoft SMTPSVC(6.0.3790.2499); Thu, 6 Oct 2005 15:33:14 -0700
Received: from RED-MSG-43.redmond.corp.microsoft.com ([157.54.12.203]) by mailout1.microsoft.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 6 Oct 2005 15:33:14 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 06 Oct 2005 15:33:12 -0700
Message-ID: <1BEC4DA05ABCD34FACFCFC82086AC24707A41062@RED-MSG-43.redmond.corp.microsoft.com>
Thread-Topic: Adding a telephone number to a basic PIDF document
thread-index: AcXKxe+rtC6xhK3qTpS9+XHR4uGFTw==
From: Tim Rang <timrang@microsoft.com>
To: Simple WG <simple@ietf.org>
X-OriginalArrivalTime: 06 Oct 2005 22:33:14.0180 (UTC) FILETIME=[F079A840:01C5CAC5]
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 441f623df000f14368137198649cb083
Subject: [Simple] Adding a telephone number to a basic PIDF document
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>
Content-Type: multipart/mixed; boundary="===============1406110660=="
Sender: simple-bounces@ietf.org
Errors-To: simple-bounces@ietf.org
My apologies if I have addressed this to the wrong alias, but I am having a PIDF problem which I need help with. My goal is to add a user specified phone number to an existing PIDF document format. I do not wish to make a SIP endpoint available for A/V calls, just to tell people how to dial my PSTN number. My starting point is a basic PIDF document like the following- <presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:ep="urn:ietf:params:xml:ns:pidf:status:rpid-status" xmlns:et="urn:ietf:params:xml:ns:pidf:rpid-tuple" xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid" entity="sip:foo@bar.com"> <tuple id="0"> <status> <basic>open</basic> <ep:activities> <ep:activity>away</ep:activity> </ep:activities> </status> </tuple> <ci:display-name>Foo Bar</ci:display-name> </presence> Excluding the option of vcard, I assume that I need to add this phone as a device. So I add a device tuple. Since I have nothing more reliable to use than the telephone number, it is used in both the id attribute and the deviceID element. Draft-ietf-simple-presence-data-model-05 doesn't state explicitly as far as I can tell, but reading between the lines I don't think I can have a device without an associated deviceID element pointing to it from a service. I also assume that the 'note' element for device is interpreted differently from a note for person or under the 'presence' root so that the note is merely a descriptor of the device. I only assume this because I don't see a better candidate for describing the device. Assuming that, my original document is modified as follows- <presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:ep="urn:ietf:params:xml:ns:pidf:status:rpid-status" xmlns:et="urn:ietf:params:xml:ns:pidf:rpid-tuple" xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" entity="sip:foo@bar.com"> <tuple id="0"> <status> <basic>open</basic> <ep:activities> <ep:activity>away</ep:activity> </ep:activities> </status> <dm:deviceID>tel:+4255551234</dm:deviceID> </tuple> <ci:display-name>Foo Bar</ci:display-name> <dm:device id="4255551234"> <dm:deviceID>urn:tel:+4255551234</dm:deviceID> <dm:note>Home Phone</dm:note> </dm:device> </presence> Is this how other folks are implementing this? Thanks for your feedback, Tim Rang
_______________________________________________ Simple mailing list Simple@ietf.org https://www1.ietf.org/mailman/listinfo/simple
- [Simple] Adding a telephone number to a basic PID… Tim Rang
- Re: [Simple] Adding a telephone number to a basic… Paul Kyzivat
- RE: [Simple] Adding a telephone number to a basic… Tim Rang
- Re: [Simple] Adding a telephone number to a basic… Jonathan Rosenberg
- Re: [Simple] Adding a telephone number to a basic… Paul Kyzivat
- RE: [Simple] Adding a telephone number to a basic… Tim Rang
- Re: [Simple] Adding a telephone number to a basic… Paul Kyzivat
- Re: [Simple] Adding a telephone number to a basic… Jonathan Rosenberg