SIMPLE Working Group                                    M. Garcia-Martin
Internet-Draft                                    Nokia Siemens Networks
Intended status: Standards Track                            May 28, 2007
Expires: November 29, 2007


   The Presence-Specific Static Dictionary for Signaling Compression
                               (Sigcomp)
             draft-garcia-simple-presence-dictionary-05.txt

Status of this Memo

   By submitting this Internet-Draft, each author represents that any
   applicable patent or other IPR claims of which he or she is aware
   have been or will be disclosed, and any of which he or she becomes
   aware will be disclosed, in accordance with Section 6 of BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt.

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.

   This Internet-Draft will expire on November 29, 2007.

Copyright Notice

   Copyright (C) The IETF Trust (2007).

Abstract

   The Session Initiation Protocol (SIP) is a text-based protocol for
   initiating and managing communication sessions.  The protocol is
   extended by the SIP-events notification framework to provide
   subscriptions and notifications of SIP events.  One example of such
   event notification mechanism is presence, which is expressed in XML
   documents called presence documents.  SIP can be compressed by using
   Signaling Compression (SigComp), which is enhanced by using the SIP/



Garcia-Martin           Expires November 29, 2007               [Page 1]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   SDP dictionary to achieve better compression rates.  However, the
   SIP/SDP dictionary is not able to increase the compression factor of
   (typically lengthy) presence documents.  This memo defines the
   presence-specific static dictionary that SigComp can use in order to
   compress presence documents to achieve higher efficiency.  The
   dictionary is compression algorithm independent.


Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Terminology  . . . . . . . . . . . . . . . . . . . . . . . . .  4
   3.  Design considerations  . . . . . . . . . . . . . . . . . . . .  4
   4.  Binary representation of the presence-specific static
       dictionary . . . . . . . . . . . . . . . . . . . . . . . . . .  6
   5.  Security Considerations  . . . . . . . . . . . . . . . . . . . 12
   6.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 12
   7.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 13
   Appendix A.  Input strings to the presence-specific static
                dictionary  . . . . . . . . . . . . . . . . . . . . . 13
   8.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 22
     8.1.  Normative References . . . . . . . . . . . . . . . . . . . 22
     8.2.  Informational References . . . . . . . . . . . . . . . . . 22
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 24
   Intellectual Property and Copyright Statements . . . . . . . . . . 25


























Garcia-Martin           Expires November 29, 2007               [Page 2]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


1.  Introduction

   The Session Initiation Protocol (SIP) [4] is extended by the SIP-
   events framework [5] to provide subscriptions and notifications of
   SIP events.  One example of such event notification mechanism is
   presence.  The presence information is typically carried in
   Extensible Markup Language (XML) [22] documents that are compliant
   with a given XML schema [23].  The Presence Information Data Format
   (PIDF) [8] defines the format for the basic presence document that
   supplies presence information.  Typically, PIDF is used in
   combination with other extensions to provide a richer user
   experience, among others: the Presence Data Model [10], Rich Presence
   Extensions to PIDF (RPID) [11], Contact Information in PIDF (CIPID)
   [12], the SIP Event Notification Extension for Resource Lists [19]
   and the SIP User Agent Capability Extensions to PIDF [20].

   Typically, presence documents can contain large bulks of data.  The
   size of this data is dependent on the number of presentities that a
   watcher is subscribed to and the amount of information supplied by
   the presentity.  This can impose a problem in environments where
   resources are scarce (e.g., such as low bandwidth links with high
   latency) and the presence service is offered at low or no cost.  This
   is the case, e.g., of some wireless network and devices.  It is
   reasonable to try to minimize the impact of bringing the presence
   service to wireless networks under these circumstances.

   Work has been done to mitigate the impact of transferring large
   amounts of presence documents between endpoints.  For example, the
   Partial PIDF [15] reduces the amount of data transferred between the
   endpoints.

   On the other hand, the signaling compression mechanisms specified in
   the SigComp framework (RFC 3320) [2] provide a multiple compression/
   decompression algorithm framework to compress and decompress text-
   based protocols such as SIP.  When compression is used in SIP, the
   compression achieves its maximum rate once a few message exchanges
   have taken place.  This is due to the fact that the first message the
   compressor sends to the decompressor is only partially compressed, as
   there is not a previous stored state to compress against.  As the
   goal is to compress as much as possible, it seems sensible to
   investigate a mechanism to boost the compression rate from the first
   message.

   RFC 3485 [7] defines a the static dictionary for SIP [4] and SDP [9].
   The dictionary is to be used in conjunction with SIP [4], SDP [9] and
   SigComp [2].  The static SIP/SDP dictionary constitutes a SigComp
   state that can be referenced in the first SIP message that the
   compressor sends out.  The dictionary boosts the compression of SIP



Garcia-Martin           Expires November 29, 2007               [Page 3]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   and SDP, but unfortunately, does not have any effect in XML-based
   presence documents.

   It sounds reasonable to define a presence-specific static dictionary
   that can be used in conjunction with SIP and Sigcomp.  This
   dictionary can coexist with the static SIP/SDP dictionary defined in
   RFC 3485 [7].  Sigcomp endpoints will initially announce the
   availability of one or both dictionaries until the other end
   acknowledges that it has received the announcement.

   Our initial simulations when developing this dictionary reveal that,
   once the current mitigation mechanisms are applied (e.g., Sigcomp,
   partial notification, partial publication), a further compression
   factor of 10% can be achieved when Sigcomp uses the presence-specific
   static dictionary.


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 BCP 14, RFC 2119 [1]
   and indicate requirement levels for compliant implementations.


3.  Design considerations

   The presence static dictionary is a collection of well-known strings
   that appear in most of the presence documents used by SIP.  The
   dictionary is not a comprehensive list of reserved words, but it
   includes many of the strings that appear in presence documents.

   The presence static dictionary is unique and MAY be available in
   SigComp implementations for SIP that support the presence service.
   The dictionary is not intended to evolve as presence evolve.  It is
   defined once, and stays as is forever.  This solves the problems of
   updating, upgrading and finding out the dictionary that is supported
   at the remote end when several versions of the same dictionary
   coexist.

   Appendix A contains the collection of strings that were contributed
   to the presence static dictionary.  The appendix also includes
   references to the documents that define those strings.

   While this appendix is of an informative nature, Section 4 gives the
   normative binary form of the presence-specific static dictionary.
   This is the dictionary that is included in the SigComp
   implementation.  This dictionary has been formed from the collection



Garcia-Martin           Expires November 29, 2007               [Page 4]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   of individual dictionaries given in Appendix A.

   The input set is a collection of UTF-8 [6] encoded character strings.
   The appendix provides a table where each row represents an entry.
   Each entry contains the string that actually occurs in the
   dictionary, its priority (see below), its offset from the first octet
   and its length (both in hexadecimal), and one or more references that
   elucidate why this string is expected to occur in presence documents.

      Note: Length in this document always refers to octets.

   The columns in the table are described as follows:

   String:  represents the UTF-8 string that is inserted into the
      dictionary.  Note that the quotes (") are not part of the string
      itself.
   Pr:  indicates the priority of this string within the dictionary.
      Some compression algorithms, such as DEFLATE [3], offer an
      increased efficiency when the most commonly used strings are
      located at the bottom of the dictionary.  To facilitate generating
      a dictionary that has the most frequently occurring strings
      further down at the bottom, we have decided to allocate a priority
      to each string in the dictionary.  Priorities range from 1 until
      5.  A low value in the priority column (e.g., 1) indicates that we
      believe in a high probability of finding the string in a presence
      document.  A high value in the priority column (e.g., 5) indicates
      lower probability of finding the string in a presence document.
      This is typically the case for less frequent extensions or
      optional infrequent XML elements or attributes.
   Off:  indicates the hexadecimal offset of the entry with respect to
      the first octet in the dictionary.  Note that several strings in
      the collections can share space in the dictionary if they exhibit
      suitable common substrings.
   Len:  the length of the string in octets in hexadecimal.
   References:  contains one or more references to the specification and
      the section within the specification where the string is defined.
      Note that the strings stored in the dictionary are case sensitive.
      (Again, the strings do not comprise the quotes ("), they are just
      shown here to increase the readability).

   There are a few design considerations that require a bit more
   explanation:

   o  Due to the fact that most compression algorithms have a break-even
      point around three or four characters, we have selected those
      static strings of characters that consist of four or more
      characters.




Garcia-Martin           Expires November 29, 2007               [Page 5]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   o  When a string appears as an XML element in an XML document, it is
      typically prepended by the '<' and '>' signs, such as in '<foo>'.
      It would have been natural to include the '<' and '>' signs of the
      element in each input string.  However, we took the decision of
      omitting the '<' and '>' signs because then we can easily reuse
      the same string for opening elements (e.g., <foo>), opening
      elements that contain with attributes (e.g., <foo attr="myattr">),
      empty elements (e.g., <foo/>), and closing elements (e.g.,
      </foo>).
   o  Whenever there is an enumerated string, the string does not
      contain quotes, following the same pattern as any other input
      string.
   o  In a few cases, we have decided to split a string that appears a
      few times into a few substrings.  This is the case of Uniform
      Resource Names (URNs) in the IETF address space, because this
      allows the dictionary to reuse the same substring in various URN
      strings.


4.  Binary representation of the presence-specific static dictionary

   This section contains the binary form of the presence-specific static
   dictionary that is loaded into SigComp as a state.

   The binary SigComp dictionary is comprised of two parts, the
   concatenation of which serves as the state value of the state item: A
   string subset, which contains all strings in the contributing
   collections as a substring (roughly ordered such that strings with
   low priority numbers occur at the end), and a table subset, which
   contains pairs of length and offset values for all the strings in the
   contributing collections.  In each of these pairs, the length is
   stored as a one-byte value, and the offset is stored as a two-byte
   value that has had 1024 added to the offset (this allows direct
   referencing from the stored value if the dictionary state has been
   loaded at address 1024).

   The intention is that all compression algorithms will be able to use
   the (or part of the) string subset, and some compression methods,
   notably those that are related to the LZ78 family, will also use the
   table in order to form an initial set of tokens for that compression
   method.  The text below therefore gives examples for referencing both
   the table subset and the string subset of the dictionary state item.

   As defined in section 3.3.3 in the Signaling Compression
   specification [2], a SigComp state is characterized by a certain set
   of information.  For the presence-specific static dictionary, the
   information in the following Table 2 fully characterizes the state
   item.



Garcia-Martin           Expires November 29, 2007               [Page 6]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   Note that the string subset of the dictionary can be accessed using:

      STATE-ACCESS (%ps, 6, 0, 0x0951, %sa, 0),

   and the table subset can be accessed using:

      STATE-ACCESS (%ps, 6, 0x0951, 0x0453, %sa, 0),

   where %ps points to UDVM memory containing

      0x554a2da68469

   and %sa is the desired destination address in UDVM memory with UDVM
   byte copying rules applied).

   If only a subset of the dictionary up to a specific priority is
   desired (e.g., to save UDVM space), the values for the third and
   forth operand in these STATE-ACCESS instructions can be changed to:

   +---------------+------------+------------+------------+------------+
   |   Priorities  |   String   |   String   |    Table   |    Table   |
   |    desired    |   offset   |   length   |   offset   |   length   |
   +---------------+------------+------------+------------+------------+
   |     1 only    |   0x07A7   |   0x01AA   |   0x0951   |   0x0039   |
   |      1..2     |   0x06DD   |   0x0274   |   0x0951   |   0x0066   |
   |      1..3     |   0x04DE   |   0x0473   |   0x0951   |   0x0144   |
   |      1..4     |   0x028E   |   0x06C3   |   0x0951   |   0x01B0   |
   |      1..5     |   0x0000   |   0x0951   |   0x0951   |   0x0453   |
   +---------------+------------+------------+------------+------------+

                          Table 1: Priority Table

   The state item consists of the following elements:

   +----------------------+--------------------------------------------+
   | Name                 | Value                                      |
   +----------------------+--------------------------------------------+
   | state_identifier     | 0x554a2da68469e0063c43e96ae12e81a6a5edd7a6 |
   | state_length         | 0x0DA4                                     |
   | state_address        | 0 (not relevant for the dictionary)        |
   | state_instruction    | 0 (not relevant for the dictionary)        |
   | minimum_access_lengt | 6                                          |
   | h                    |                                            |
   | state_value          | Representation of the table of Figure 1    |
   +----------------------+--------------------------------------------+

                         Table 2: State item table




Garcia-Martin           Expires November 29, 2007               [Page 7]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   0000  7065 726d 616e 656e 742d 6162 7365 6e63  permanent-absenc
   0010  656d 6261 7272 6173 7365 6465 6163 7469  embarrassedeacti
   0020  7661 7465 6469 7374 7261 6374 6564 696e  vatedistractedin
   0030  6e65 7276 6f75 7365 6c66 7265 6967 6874  nervouselfreight
   0040  636f 6e76 656e 7469 6f6e 2d63 656e 7465  convention-cente
   0050  726d 696e 6174 6564 6570 7265 7373 6564  rminatedepressed
   0060  6973 6775 7374 6564 696e 2d70 6572 736f  isgustedin-perso
   0070  6e61 6c6f 6e65 6c79 696e 6475 7374 7269  nalonelyindustri
   0080  616c 6173 742d 696e 7075 743d 6875 6d69  alast-input=humi
   0090  6c69 6174 6564 6f6d 6169 6e3d 6175 746f  liatedomain=auto
   00A0  6d6f 6269 6c65 636f 7572 6965 7265 6a65  mobilecouriereje
   00B0  6374 6564 6375 7269 6f75 7370 6972 6974  ctedcuriouspirit
   00C0  732d 494e 4450 7365 6e64 2d6f 6e6c 7970  s-INDPsend-onlyp
   00D0  6174 6865 6174 6572 6573 746c 6573 736c  atheaterestlessl
   00E0  6565 7079 706c 6179 6675 6c6f 7765 7274  eepyplayfulowert
   00F0  6861 6e6e 6f79 6564 756e 636f 6d66 6f72  hannoyeduncomfor
   0100  7461 626c 6578 636c 7564 653d 636f 6e66  tablexclude=conf
   0110  7573 6564 7661 6361 7469 6f6e 6169 7263  usedvacationairc
   0120  7261 6674 6869 7273 7479 636c 7562 7573  rafthirstyclubus
   0130  2d73 7461 7469 6f6e 6869 7374 696e 666f  -stationhistinfo
   0140  6666 6963 6572 656d 6f76 653d 7761 6974  fficeremove=wait
   0150  696e 6772 756d 7079 6172 656e 6162 6c65  ingrumpyarenable
   0160  643d 5245 4645 5245 4749 5354 4552 706f  d=REFEREGISTERpo
   0170  7374 616c 6861 6c66 7072 6566 6978 3d6d  stalhalfprefix=m
   0180  6561 6e67 7279 7072 6f76 6174 696f 6e53  eangryprovationS
   0190  5542 5343 5249 4245 6170 7072 6f76 6564  UBSCRIBEapproved
   01A0  696e 636c 7564 653d 706c 6179 696e 6768  include=playingh
   01B0  6f6c 6964 6179 756e 6b6e 6f77 6e50 5542  olidayunknownPUB
   01C0  4c49 5348 4d45 5353 4147 4570 6172 6b69  LISHMESSAGEparki
   01D0  6e67 6169 7270 6f72 7477 6f72 7269 6564  ngairportworried
   01E0  6875 6d62 6c65 6461 7368 616d 6564 7072  humbledashamedpr
   01F0  6973 6f6e 6661 6d69 6c79 616d 617a 6564  isonfamilyamazed
   0200  6372 616e 6b79 5550 4441 5445 6875 6e67  crankyUPDATEhung
   0210  7279 4e4f 5449 4659 494e 5649 5445 4341  ryNOTIFYINVITECA
   0220  4e43 454c 6166 7261 6964 6672 6965 6e64  NCELafraidfriend
   0230  696e 5f61 7765 6669 7865 6450 5241 434b  in_awefixedPRACK
   0240  6861 7070 7970 726f 7564 6272 6176 6562  happyproudbraveb
   0250  6f72 6564 686f 7465 6c71 7569 6574 6361  oredhotelquietca
   0260  6665 6261 6e6b 6875 7274 636f 6c64 6d65  febankhurtcoldme
   0270  616c 6275 7379 6177 6179 6d69 6e3d 6d61  albusyawaymin=ma
   0280  783d 6369 643d 7572 6e3d 776f 726b 6a65  x=cid=urn=workje
   0290  616c 6f75 7370 6972 6974 732d 7573 6572  alouspirits-user
   02A0  2d70 726f 676f 7665 726e 6d65 6e74 7261  -progovernmentra
   02B0  696e 2d73 7461 7469 6f6e 6f72 6566 6572  in-stationorefer
   02C0  7375 6273 6372 6962 6566 6f72 6574 7261  subscribeforetra
   02D0  6e73 6d69 7373 696f 6e2d 616c 6c6f 7765  nsmission-allowe
   02E0  6475 7261 7469 6f6e 2d73 7562 7363 7269  duration-subscri
   02F0  6265 643d 6869 6768 6572 7468 616e 7869  bed=higherthanxi



Garcia-Martin           Expires November 29, 2007               [Page 8]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   0300  6f75 7365 7276 6963 652d 6465 7363 7269  ouservice-descri
   0310  7074 696f 6e3d 6272 6561 6b66 6173 7461  ption=breakfasta
   0320  6469 756d 7367 2d74 616b 6572 656d 6f72  diumsg-takeremor
   0330  7365 6675 6c6c 3a63 6976 6963 4c6f 636f  sefull:civicLoco
   0340  6e66 6572 656e 6365 7175 616c 7374 7265  nferencequalstre
   0350  7373 6564 7761 7465 7263 7261 6674 6572  ssedwatercrafter
   0360  616e 6765 3a62 6173 6963 506f 6c69 6379  ange:basicPolicy
   0370  636c 6563 6861 6e67 6564 636f 756e 7472  clechangedcountr
   0380  7975 6e74 696c 3d61 6464 6564 7768 6174  yuntil=addedwhat
   0390  7572 693d 666c 6972 7461 7469 6f75 7361  uri=flirtatiousa
   03A0  6765 2d72 756c 6573 6572 7663 6170 7370  ge-ruleservcapsp
   03B0  6865 7265 6769 7374 7261 7469 6f6e 2d73  heregistration-s
   03C0  7461 7465 3d62 6172 7269 6e67 2d73 7461  tate=barring-sta
   03D0  7465 7874 6572 6e61 6c2d 7275 6c65 7365  texternal-rulese
   03E0  7469 6d65 2d6f 6666 7365 7464 6961 6c6f  time-offsetdialo
   03F0  6769 6e5f 6c6f 7665 7272 6964 696e 672d  gin_loverriding-
   0400  7769 6c6c 696e 676e 6573 7370 6563 7461  willingnesspecta
   0410  746f 7265 7369 6465 6e63 6576 656e 742d  toresidencevent-
   0420  7061 636b 6167 6573 7570 6572 7669 736f  packagesuperviso
   0430  7265 7374 6175 7261 6e74 7275 636b 706c  restaurantruckpl
   0440  6d6f 6269 6c69 7479 6a6f 696e 6170 7072  mobilityjoinappr
   0450  6f70 7269 6174 6576 656e 746c 6973 7465  opriateventliste
   0460  6572 696e 6769 7665 7570 7269 6e63 6970  eringiveuprincip
   0470  616c 616e 6775 6167 6573 6368 656d 6573  alanguageschemes
   0480  7361 6765 2d73 756d 6d61 7279 706c 6163  sage-summaryplac
   0490  652d 6f66 2d77 6f72 7368 6970 6c61 6365  e-of-worshiplace
   04A0  2d74 7970 653d 7761 7265 686f 7573 6572  -type=warehouser
   04B0  2d69 6e70 7574 7261 7665 6c65 6374 726f  -inputravelectro
   04C0  6e69 6369 7669 6341 6464 7265 7373 6172  nicivicAddressar
   04D0  6361 7374 6963 6f6e 7465 6e74 6564 3a74  casticontented:t
   04E0  696d 6564 2d73 7461 7475 732d 6963 6f6e  imed-status-icon
   04F0  7374 7275 6374 696f 6e65 7574 7261 6c49  structioneutralI
   0500  4e46 4f50 5449 4f4e 5369 656d 656e 732d  NFOPTIONSiemens-
   0510  5254 502d 5374 6174 7365 7276 6963 652d  RTP-Statservice-
   0520  6964 6c65 2d74 6872 6573 686f 6c64 3d70  idle-threshold=p
   0530  7562 6c69 632d 7472 616e 7370 6f72 746f  ublic-transporto
   0540  6f62 7269 6768 7472 6967 6765 7265 736f  obrightriggereso
   0550  7572 6365 3d3a 6765 6f70 7269 7631 3030  urce=:geopriv100
   0560  7265 6c61 7469 6f6e 7368 6970 6f63 2d73  relationshipoc-s
   0570  6574 7469 6e67 7375 7270 7269 7365 6461  ettingsurpriseda
   0580  726b 7572 6e3a 6f6d 613a 786d 6c3a 7072  rkurn:oma:xml:pr
   0590  733a 7069 6466 3a6f 6d61 2d70 7265 7365  s:pidf:oma-prese
   05A0  6e74 6174 696f 6e6f 6973 793a 7369 6d70  ntationoisy:simp
   05B0  6c65 2d66 696c 7465 722d 7365 7469 6d65  le-filter-setime
   05C0  6f75 7464 6f6f 7273 6368 6f6f 6c70 6172  outdoorschoolpar
   05D0  7469 616c 6f63 6174 696f 6e2d 696e 666f  tialocation-info
   05E0  726d 6174 696f 6e61 6d65 6574 696e 6763  rmationameetingc
   05F0  616c 6d65 7468 6f64 7374 6f72 6574 656e  almethodstoreten



Garcia-Martin           Expires November 29, 2007               [Page 9]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   0600  7469 6f6e 2d65 7870 6972 793a 7761 7463  tion-expiry:watc
   0610  6865 7269 6e66 6f66 6665 6e64 6564 636f  herinfoffendedco
   0620  6e74 726f 6c6f 6f6b 696e 672d 666f 722d  ntrolooking-for-
   0630  776f 726b 696e 6777 6174 6368 6572 2d6c  workingwatcher-l
   0640  6973 7472 6565 7470 6c61 6365 2d69 7366  istreetplace-isf
   0650  6f63 7573 6f75 6e64 6572 7761 7968 6f6d  ocusounderwayhom
   0660  6570 6167 6570 7269 7661 6379 626f 7468  epageprivacyboth
   0670  6572 6563 6569 7665 2d6f 6e6c 793a 726c  ereceive-only:rl
   0680  6d69 6e76 616c 7565 3d3a 6361 7073 6c65  minvalue=:capsle
   0690  6570 696e 6775 696c 7479 696e 7669 6e63  epinguiltyinvinc
   06A0  6962 6c65 7665 6e74 3d70 6163 6b61 6765  iblevent=package
   06B0  3d72 656c 6965 7665 646d 6f6f 6479 7072  =relievedmoodypr
   06C0  696f 7269 7479 6672 6f6d 3d76 6964 656f  iorityfrom=video
   06D0  6175 6469 6f70 6f73 3d63 6172 6461 7574  audiopos=cardaut
   06E0  6f6d 6174 6170 706c 6963 6174 696f 6e6f  omatapplicationo
   06F0  7473 7570 706f 7274 6564 6576 6963 6549  tsupportedeviceI
   0700  4469 6d70 7265 7373 6564 6973 6170 706f  Dimpressedisappo
   0710  696e 7465 646e 6f74 652d 7765 6c6c 6962  intednote-wellib
   0720  7261 7279 3a64 6174 612d 6d6f 6465 6c69  rary:data-modeli
   0730  6e64 6967 6e61 6e74 696d 6572 6570 6c61  ndignantimerepla
   0740  6365 7368 6f63 6b65 6463 6c61 7373 6973  ceshockedclassis
   0750  7461 6e74 696d 6573 7461 6d70 726f 7669  tantimestamprovi
   0760  6465 642d 6279 3a63 6970 6964 662d 6675  ded-by:cipidf-fu
   0770  6c6c 5374 6174 653d 6163 746f 7265 6d6f  llState=actoremo
   0780  7665 6462 7573 696e 6573 7365 7269 6f75  vedbusinesseriou
   0790  7365 6c3d 3a73 6368 656d 6178 7661 6c75  sel=:schemaxvalu
   07A0  653d 3a72 7069 6475 726e 3a69 6574 663a  e=:rpidurn:ietf:
   07B0  7061 7261 6d73 3a78 6d6c 2d70 6174 6368  params:xml-patch
   07C0  2d6f 7073 6563 2d61 6772 6565 6172 6c79  -opsec-agreearly
   07D0  2d73 6573 7369 6f6e 2d70 6174 6963 6970  -session-paticip
   07E0  6174 696f 6e2d 7468 652d 7068 6f6e 6574  ation-the-phonet
   07F0  776f 726b 2d61 7661 696c 6162 696c 6974  work-availabilit
   0800  7970 6572 666f 726d 616e 6365 7863 6974  yperformancexcit
   0810  6564 7072 6563 6f6e 6469 7469 6f6e 6f72  edpreconditionor
   0820  6573 6f75 7263 652d 7072 696f 7269 7479  esource-priority
   0830  3d66 616c 7365 7276 6963 652d 636c 6173  =falservice-clas
   0840  7372 6f6f 6d75 7374 556e 6465 7273 7461  sroomustUndersta
   0850  6e64 6973 706c 6179 2d6e 616d 653d 696e  ndisplay-name=in
   0860  7374 616e 6365 7874 656e 7369 6f6e 732d  stancextensions-
   0870  6269 6e64 696e 6773 6470 2d61 6e61 7474  bindingsdp-anatt
   0880  656e 6461 6e74 7275 653a 7069 6466 2d64  endantrue:pidf-d
   0890  6966 6672 7573 7472 6174 6564 7570 6c65  iffrustrateduple
   08A0  7870 6972 6174 696f 6e3d 636f 6e74 6163  xpiration=contac
   08B0  7469 7669 7469 6573 686f 7070 696e 672d  tivitieshopping-
   08C0  6172 6561 736f 6e3d 6173 736f 6369 6174  areason=associat
   08D0  656e 636f 6469 6e67 3d61 7070 6f69 6e74  encoding=appoint
   08E0  6d65 6e74 6974 793d 696e 7465 7265 7374  mentity=interest
   08F0  6564 6576 6361 7073 7461 7475 733d 6163  edevcapstatus=ac



Garcia-Martin           Expires November 29, 2007              [Page 10]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   0900  7469 7665 7273 696f 6e3d 7769 6e66 6f70  tiversion=winfop
   0910  656e 6469 6e67 696e 2d74 7261 6e73 6974  endingin-transit
   0920  7570 6c65 686f 7370 6974 616c 616e 673d  uplehospitalang=
   0930  3c3f 786d 6c6e 733d 7369 636b 7072 6573  <?xmlns=sickpres
   0940  656e 6365 5554 462d 383f 3e63 6c6f 7365  enceUTF-8?>close
   0950  6405 0d30 080d 0209 0cd0 070d 4406 0d32  d..0........D..2
   0960  130b a705 0991 070c e108 0d3c 050d 1f05  ...........<....
   0970  0c31 070c aa05 0d2b 0608 e505 0765 040d  .1.....+.....e..
   0980  0e06 0d4b 090c 2804 0c85 040b 1509 0b53  ...K..(........S
   0990  0b0b 2408 0af9 060a f906 046b 050b a207  ..$........k....
   09A0  0b94 070b 3b09 0b69 0e0b b609 0c8a 0a0c  ....;..i........
   09B0  8904 0b90 0605 450e 0c44 0a0c ae07 0a65  ......E..D.....e
   09C0  1d09 820d 0c34 0607 ae0b 08e5 0b07 e00a  .....4..........
   09D0  08ac 060c fe04 0920 060b 6604 0ab9 080a  ....... ..f.....
   09E0  4705 0ad0 040a d90c 0c51 050a cb08 0a5d  G........Q.....]
   09F0  0408 d404 07d0 050a 5305 0ac6 0a08 9b04  ........S.......
   0A00  0ad5 0508 a105 0a6d 050b 490a 0955 0709  .......m..I..U..
   0A10  560d 09d3 0b07 9d06 09f2 0b0b 5b0c 0a0b  V...........[...
   0A20  0b0a 0c06 07bf 0c0a 3709 094c 080a a907  ........7..L....
   0A30  0a0c 070c f706 0aa3 0e09 ab0a 09b3 0b0c  ................
   0A40  6d0a 0c6d 0609 b308 0aa9 050a 7d04 085b  m..m........}..[
   0A50  0409 e608 094c 0a0b 6e05 0a89 0807 a70b  .....L..n.......
   0A60  0ae4 070a 1e07 087d 0408 a108 0add 060c  .......}........
   0A70  9b0b 070a 0e08 1a08 0abe 070a 650c 0960  ............e..`
   0A80  0709 f20a 0c65 0708 7905 0b78 070a 4d09  .....e..y..x..M.
   0A90  0871 070c f10b 0c9f 1406 e00d 08de 0c07  .q..............
   0AA0  640c 08df 0407 8c07 0946 0407 9007 0773  d........F.....s
   0AB0  0507 8707 0b7c 0607 8116 06cb 1009 fb08  .....|..........
   0AC0  0c5e 1007 d109 0b15 0907 360c 08c2 0707  .^........6.....
   0AD0  7a04 0732 0709 cd06 06c7 0507 5b04 0a6c  z..2........[..l
   0AE0  090a f10c 0aee 1307 020a 0918 070d 020b  ................
   0AF0  0800 140b d112 07b2 0d07 c516 07f5 140b  ................
   0B00  ed06 0600 0704 b409 0457 0c0b 0909 045f  .........W....._
   0B10  0a04 240b 0410 070c 0b0b 0794 0a0c 9206  ..$.............
   0B20  0552 060a 9405 0640 0705 e00a 048c 0606  .R.....@........
   0B30  0c04 0666 090b 0106 0630 0707 f109 0b2f  ...f.....0...../
   0B40  0a0c e80a 0a9a 0706 8e06 0472 0405 7f05  ...........r....
   0B50  0ab9 0704 3007 08f8 080a 1607 04e4 0506  ....0...........
   0B60  4508 0ab1 0a07 2b08 04d7 0908 cd07 0b8a  E.....+.........
   0B70  070b 4204 0d38 0604 de08 074c 0909 7607  ..B..8.....L..v.
   0B80  0523 0705 d905 09a6 0506 5909 093e 0409  .#........Y..>..
   0B90  7e0d 04f8 0d08 4a08 051c 0705 d205 0558  ~.....J........X
   0BA0  0a04 9c04 0662 0b05 2d04 065e 090c 3c04  .....b..-..^..<.
   0BB0  052a 0c08 ed11 0440 0507 6e0a 06a4 080d  .*.....@..n.....
   0BC0  2405 0654 0a04 7807 0b1d 0605 3f08 09c0  $..T..x.....?...
   0BD0  0705 cb10 088c 0605 ee06 092f 1009 2f09  .........../../.
   0BE0  0812 0a08 3006 09c7 0d0c b707 071d 0509  ....0...........
   0BF0  f806 0a41 0704 d105 06ad 0d06 ad05 0839  ...A...........9



Garcia-Martin           Expires November 29, 2007              [Page 11]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   0C00  080a 5509 08a6 0507 540a 0754 090b 4b09  ..U.....T..T..K.
   0C10  0cc8 0605 f406 062a 0404 360a 0827 0704  .......*..6..'..
   0C20  a60a 08b9 0704 3909 06c0 0805 980b 041a  ......9.........
   0C30  0905 8608 04ac 0709 bc06 0864 0a0c 1d07  ...........d....
   0C40  05b6 0b0c d909 0468 0704 a606 056e 0406  .......h.....n..
   0C50  7609 0716 0406 720c 070a 0705 7804 0686  v.....r.....x...
   0C60  0604 2d07 05af 0a0d 1607 0495 0705 4508  ..-...........E.
   0C70  055a 0805 a008 0504 100a 2404 066e 0709  .Z........$..n..
   0C80  e80c 0be3 0406 8a04 0a5d 0b0c 0111 0400  .........]......
   0C90  0406 8207 05a8 070c c10c 099b 080c b708  ................
   0CA0  0a8d 0908 0a08 085d 0605 6e09 0468 0704  .......]..n..h..
   0CB0  3906 08b5 0805 140f 0920 0b04 8107 0a30  9........ .....0
   0CC0  0708 950d 0c51 0606 2407 0d0f 0605 fa05  .....Q..$.......
   0CD0  0581 080b 8308 046b 0405 740c 0a71 0904  .......k..t..q..
   0CE0  c609 04ea 0a06 f406 0747 0507 5f09 0b99  .........G.._...
   0CF0  090a 8006 0a83 0406 7e04 067a 0705 4c08  ........~..z..L.
   0D00  0840 0506 3606 04a0 0a07 3e06 07eb 0408  .@..6.....>.....
   0D10  3d0f 087d 0c09 6b05 06bb 1109 080d 04ba  =..}..k.........
   0D20  1106 9405 0d0a 0606 1e04 08ff 0606 1807  ................
   0D30  05c4 0606 1207 0902 0506 3b07 05bd 0505  ..........;.....
   0D40  6208 0566 0905 8f06 0606 0609 5d0d 0bcb  b..f........]...
   0D50  0908 5608 0538 0408 480a 06b9 0404 cf0c  ..V..8..H.......
   0D60  0c12 0405 780a 044e 080b 3b11 0c1f 080c  ....x..N..;.....
   0D70  7709 0bc3 0707 ea05 0b37 0908 6909 0c7d  w........7..i..}
   0D80  0907 230b 09dc 0a08 b907 04f1 0706 fc07  ..#.............
   0D90  05e7 0506 4f05 064a 0409 ef04 066a 0805  ....O..J.....j..
   0DA0  0c09 08d5                                ....


      Figure 1: Binary representation of the presence-specific static
                          dictionary for SigComp


5.  Security Considerations

   This document defines a presence-specific static dictionary for the
   Sigcomp framework [2].  Therefore, the security considerations of RFC
   3320 [2] apply.  This memo does not introduce any known additional
   security risk.


6.  IANA Considerations

   This document does not introduce any actions to IANA.







Garcia-Martin           Expires November 29, 2007              [Page 12]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


7.  Acknowledgements

   The author would like to thank Miraj Mostafa, Pekka Pessi, and
   Catalin Ionescu for their persistent convincing arguments to
   demonstrate the benefit of this dictionary.  Thanks to Carsten
   Bormann and Adam Roach for providing assistance with the software
   that automatically generates the binary dictionary.  Adam Roach,
   Cristian Constantin, and Avshalom Houri, and Krisztian Kiss reviewed
   the document and provided helpful comments.


Appendix A.  Input strings to the presence-specific static dictionary



   String                                Pr Off  Len  References
   ===================================== == ==== ==== ==========
   "<?xml"                                1 092D 0005
   "version="                             1 08FF 0008
   "encoding="                            1 08C2 0009
   "UTF-8?>"                              1 0941 0007
   "xmlns="                               1 092F 0006
   "urn:ietf:params:xml"                  1 0886 0013 [8] 4.4
                                                      [10] 5.1
                                                      [11] 5
                                                      [12] 5
                                                      [13] 5
                                                      [14] 9
                                                      [15] 7
                                                      [17] 6
                                                      [18] 7
                                                      [19] 5.1
                                                      [20] 3.2, 3.3
   ":pidf"                                1 05A1 0005 [8] 4.4
                                                      [10] 5.1
                                                      [11] 5
                                                      [12] 5
                                                      [13] 5
                                                      [20] 3.2, 3.3
   "entity="                              1 08B3 0007 [8] 4.4, [15] 7
   "presence"                             1 0939 0008 [8] 4.4
                                                      [20] 3.2.14
   "tuple"                                1 091C 0005 [8] 4.4
   "note"                                 2 0748 0004 [8] 4.4
                                                      [10] 5.1
                                                      [13] 5
                                                      [11] 5
   "contact"                              1 0866 0007 [8] 4.4



Garcia-Martin           Expires November 29, 2007              [Page 13]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   "timestamp"                            2 077E 0009 [8] 4.4
                                                      [10] 5.1
   "status"                               1 04FA 0006 [8] 4.4
   "basic"                                1 039A 0005 [8] 4.4
                                                      [13] 5
                                                      [21]
   "open"                                 1 090B 0004 [8] 4.4, [21]
   "closed"                               1 08CB 0005 [8] 4.4, [21]
   "priority="                            1 07E4 0009 [8] 4.4
   "mustUnderstand"                       3 0800 000E [8] 4.4
   "true"                                 1 0841 0004 [8] 4.4
                                                      [16] 2.2.5
                                                      [18] 7
                                                      [19] 5.1
                                                      [20] 3.2, 3.3
   "false"                                1 07ED 0005 [8] 4.4
                                                      [16] 2.2.5
                                                      [18] 7
                                                      [19] 5.1
                                                      [20] 3.2, 3.3
   ":data-model"                          2 0705 000B [10] 5.1
   "deviceID"                             2 072C 0008 [10] 5.1
   "device"                               2 072C 0006 [10] 5.1
   "person"                               2 0111 0006 [10] 5.1
   ":rpid"                                2 07C9 0005 [11] 5
   "activities"                           3 086A 000A [11] 5
   "unknown"                              5 0281 0007 [11] 5
   "appointment"                          5 08AB 000B [11] 5
   "away"                                 5 0324 0004 [11] 5
   "breakfast"                            5 034F 0009 [11] 5
   "busy"                                 5 0320 0004 [11] 5
   "dinner"                               5 002D 0006 [11] 5
   "holiday"                              5 027A 0007 [11] 5
   "in-transit"                           5 0913 000A [11] 5
   "looking-for-work"                     5 066E 0010 [11] 5
   "meal"                                 5 031C 0004 [11] 5
   "meeting"                              5 05F8 0007 [11] 5
   "on-the-phone"                         5 0426 000C [11] 5
   "performance"                          5 0444 000B [11] 5
   "permanent-absence"                    5 0000 0011 [11] 5
   "playing"                              5 0273 0007 [11] 5
   "presentation"                         5 05AB 000C [11] 5
   "shopping"                             5 033E 0008 [11] 5
   "sleeping"                             5 04AE 0008 [11] 5
   "spectator"                            5 03E9 0009 [11] 5
   "steering"                             5 04D0 0008 [11] 5
   "travel"                               5 03D1 0006 [11] 5
   "vacation"                             5 01A8 0008 [11] 5



Garcia-Martin           Expires November 29, 2007              [Page 14]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   "working"                              5 067A 0007 [11] 5
   "worship"                              5 048A 0007 [11] 5
   "other"                                3 06A1 0005 [11] 5
   "class"                                3 0774 0005 [11] 5
                                                      [20] 3.2
   "afraid"                               5 02CA 0006 [11] 5
   "amazed"                               5 02C4 0006 [11] 5
   "angry"                                5 021B 0005 [11] 5
   "annoyed"                              5 0185 0007 [11] 5
   "anxious"                              5 0100 0007 [11] 5
   "ashamed"                              5 026C 0007 [11] 5
   "bored"                                5 02F3 0005 [11] 5
   "brave"                                5 02EE 0005 [11] 5
   "calm"                                 5 07AE 0004 [11] 5
   "cold"                                 5 0318 0004 [11] 5
   "confused"                             5 01A0 0008 [11] 5
   "contented"                            5 053D 0009 [11] 5
   "cranky"                               5 02BE 0006 [11] 5
   "curious"                              5 036F 0007 [11] 5
   "depressed"                            5 00AD 0009 [11] 5
   "disappointed"                         5 073C 000C [11] 5
   "disgusted"                            5 00B5 0009 [11] 5
   "distracted"                           5 0024 000A [11] 5
   "embarrassed"                          5 0010 000B [11] 5
   "excited"                              5 044E 0007 [11] 5
   "flirtatious"                          5 049B 000B [11] 5
   "frustrated"                           5 084E 000A [11] 5
   "grumpy"                               5 01E6 0006 [11] 5
   "guilty"                               5 04B5 0006 [11] 5
   "happy"                                5 02E9 0005 [11] 5
   "humbled"                              5 0265 0007 [11] 5
   "humiliated"                           5 0132 000A [11] 5
   "hungry"                               5 02B8 0006 [11] 5
   "hurt"                                 5 0314 0004 [11] 5
   "impressed"                            5 0734 0009 [11] 5
   "in_awe"                               5 02B2 0006 [11] 5
   "in_love"                              5 081A 0007 [11] 5
   "indignant"                            5 0757 0009 [11] 5
   "interested"                           5 064F 000A [11] 5
   "invincible"                           5 06BD 000A [11] 5
   "jealous"                              5 0142 0007 [11] 5
   "lonely"                               5 0118 0006 [11] 5
   "mean"                                 5 0219 0004 [11] 5
   "moody"                                5 06DC 0005 [11] 5
   "nervous"                              5 0030 0007 [11] 5
   "neutral"                              5 050D 0007 [11] 5
   "offended"                             5 0647 0008 [11] 5
   "playful"                              5 0178 0007 [11] 5



Garcia-Martin           Expires November 29, 2007              [Page 15]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   "proud"                                5 02E4 0005 [11] 5
   "relieved"                             5 06D4 0008 [11] 5
   "remorseful"                           5 0364 000A [11] 5
   "restless"                             5 08ED 0008 [11] 5
   "sarcastic"                            5 0535 0009 [11] 5
   "serious"                              5 076A 0007 [11] 5
   "shocked"                              5 04EC 0007 [11] 5
   "sick"                                 5 0935 0004 [11] 5
   "sleepy"                               5 05D7 0006 [11] 5
   "stressed"                             5 0106 0008 [11] 5
   "surprised"                            5 0154 0009 [11] 5
   "thirsty"                              5 01B7 0007 [11] 5
   "worried"                              5 025E 0007 [11] 5
   "mood"                                 3 06DC 0004 [11] 5
   "place-is"                             3 061D 0008 [11] 5
   "audio"                                3 06F8 0005 [11] 5
                                                      [20] 3.2
   "noisy"                                5 05B6 0005 [11] 5
   "quiet"                                5 02DF 0005 [11] 5
   "video"                                3 06F3 0005 [11] 5
                                                      [20] 3.2
   "toobright"                            5 0555 0009 [11] 5
   "dark"                                 5 015C 0004 [11] 5
   "text"                                 3 0460 0004 [11] 5
                                                      [20] 3.2
   "uncomfortable"                        5 018C 000D [11] 5
   "inappropriate"                        5 04BD 000D [11] 5
   "place-type"                           3 0490 000A [11]
   "aircraft"                             5 01B0 0008 [11] 5
   "airport"                              5 0257 0007 [11] 5
   "arena"                                5 01F8 0005 [11] 5
   "automobile"                           5 0160 000A [11] 5
   "bank"                                 5 0310 0004 [11] 5
   "bus-station"                          5 01C1 000B [11] 5
   "cafe"                                 5 030C 0004 [11] 5
   "classroom"                            5 07F8 0009 [11] 5
   "club"                                 5 01BE 0004 [11] 5
   "construction"                         5 0502 000C [11] 5
   "convention-center"                    5 0096 0011 [11] 5
   "cycle"                                5 03A3 0005 [11] 5
   "government"                           5 0046 000A [11] 5
   "hospital"                             5 0921 0008 [11] 5
   "hotel"                                5 02DA 0005 [11] 5
   "industrial"                           5 011E 000A [11] 5
   "library"                              5 0750 0007 [11] 5
   "office"                               5 01D3 0006 [11] 5
   "outdoors"                             5 05D0 0008 [11] 5
   "parking"                              5 0250 0007 [11] 5



Garcia-Martin           Expires November 29, 2007              [Page 16]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   "place-of-worship"                     5 0481 0010 [11] 5
   "prison"                               5 02AC 0006 [11] 5
   "public"                               5 0546 0006 [11] 5
   "public-transport"                     5 0546 0010 [11] 5
   "residence"                            5 03F1 0009 [11] 5
   "restaurant"                           5 00E0 000A [11] 5
   "school"                               5 058C 0006 [11] 5
   "shopping-area"                        5 033E 000D [11] 5
   "stadium"                              5 0356 0007 [11] 5
   "store"                                5 0629 0005 [11] 5
   "street"                               5 068B 0006 [11] 5
   "theater"                              5 08E7 0007 [11] 5
   "train"                                5 004F 0005 [11] 5
   "train-station"                        5 004F 000D [11] 5
   "truck"                                5 00E9 0005 [11] 5
   "underway"                             5 0660 0008 [11] 5
   "warehouse"                            5 03C2 0009 [11] 5
   "water"                                5 0389 0005 [11] 5
   "watercraft"                           5 0389 000A [11] 5
   "privacy"                              3 0699 0007 [11] 5
                                                      [20] 3.2.17
   "relationship"                         3 051F 000C [11] 5
   "assistant"                            5 0776 0009 [11] 5
   "associate"                            5 08BA 0009 [11] 5
   "family"                               5 02A6 0006 [11] 5
   "friend"                               5 02A0 0006 [11] 5
   "self"                                 5 0770 0004 [11] 5
   "supervisor"                           5 00D7 000A [11] 5
   "courier"                              5 016A 0007 [11] 5, [11] 5
   "electronic"                           5 03D5 000A [11] 5, [11] 5
   "freight"                              5 0212 0007 [11] 5, [11] 5
   "in-person"                            5 010E 0009 [11] 5, [11] 5
   "postal"                               5 0202 0006 [11] 5, [11] 5
   "service-class"                        3 07F0 000D [11] 5
   "courier"                              5 016A 0007 [11] 5, [11] 5
   "electronic"                           5 03D5 000A [11] 5, [11] 5
   "freight"                              5 0212 0007 [11] 5, [11] 5
   "in-person"                            5 010E 0009 [11] 5, [11] 5
   "postal"                               5 0202 0006 [11] 5, [11] 5
   "sphere"                               3 0606 0006 [11] 5
   "home"                                 5 0691 0004 [11] 5
   "work"                                 5 0308 0004 [11] 5
   "status-icon"                          3 04FA 000B [11] 5
   "time-offset"                          3 0470 000B [11] 5
   "description="                         5 037D 000C [11] 5
   "user-input"                           3 03C8 000A [11] 5
   "active"                               3 08FB 0006 [11] 5
                                                      [19] 5.1



Garcia-Martin           Expires November 29, 2007              [Page 17]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


                                                      [21]
                                                      [17] 6
   "idle"                                 3 08D6 0004 [11] 5
   "idle-threshold="                      5 08D6 000F [11] 5
   "last-input="                          5 0127 000B [11] 5
   ":cipid"                               3 0791 0006 [12] 5
   "card"                                 3 0701 0004 [12] 5
   "display-name"                         3 080D 000C [12] 5
   "homepage"                             3 0691 0008 [12] 5
   "icon"                                 3 0501 0004 [12] 5
   "sound"                                3 065E 0005 [12] 5
   ":timed-status"                        4 04F3 000D [13] 5
   "timed-status"                         4 04F4 000C [13] 5
   "from="                                3 06EE 0005 [11] 5
                                                      [10] 5.1
                                                      [13] 5
                                                      [18] 7
   "until="                               4 03AF 0006 [13] 5
                                                      [10] 5.1
                                                      [11] 5
   ":schema"                              2 07BB 0007 [14] 9
   ":xml-patch-ops"                       2 0895 000E [14] 9
   "replace"                              2 0763 0007 [14] 9
   "remove"                               2 01D9 0006 [14] 9
   "sel="                                 2 07B7 0004 [14] 9
   "pos="                                 3 06FD 0004 [14] 9
   "type="                                3 0496 0005 [14] 9, [18] 7
   "before"                               4 0069 0006 [14] 9
   "after"                                4 0390 0005 [14] 9
   "both"                                 4 06A0 0004 [14] 9
   ":pidf-diff"                           2 0845 000A [15] 7
   "pidf-diff"                            2 0846 0009 [15] 7
   "pidf-full"                            2 0794 0009 [15] 7
   ":geopriv10"                           3 0514 000A [16] 2.2.5
   ":basicPolicy"                         4 0399 000C [16] 2.2.5
   "geopriv"                              3 0515 0007 [16] 2.2.5
   "location-info"                        3 05E3 000D [16] 2.2.5
   "usage-rules"                          3 04A4 000B [16] 2.2.5
   "method"                               3 07B1 0006 [16] 2.2.5
   "provided-by"                          3 0786 000B [16] 2.2.5
   "retransmission-allowed"               4 006D 0016 [16] 2.2.5
   "retention-expiry"                     4 062C 0010 [16] 2.2.5
   "external-ruleset"                     4 0461 0010 [16] 2.2.5
   "note-well"                            4 0748 0009 [16] 2.2.5
   ":civicLoc"                            4 0328 0009 [16] 2.2.5
   "civicAddress"                         4 03DE 000C [16] 2.2.5
   "country"                              4           [16] 2.2.5
   ":watcherinfo"                         3 063C 000C [17] 6



Garcia-Martin           Expires November 29, 2007              [Page 18]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   "watcherinfo"                          3 063D 000B [17] 6
   "state="                               3 0617 0006 [17] 6
                                                      [19] 5.1
   "full"                                 4 036B 0004 [17] 6 [20] 3.2.12
   "partial"                              4 05DD 0007 [17] 6
   "watcher-list"                         3 0681 000C [17] 6
   "resource="                            3 0563 0009 [17] 6
   "package="                             3 06CC 0008 [17] 6, [18] 7
   "watcher"                              3 063D 0007 [17] 6
   "display-name="                        5 080D 000D [17] 6
   "status="                              3 08F4 0007 [17] 6
   "pending"                              5 090C 0007 [17] 6
                                                      [19] 5.1
   "waiting"                              5 01E0 0007 [17] 6
   "terminated"                           5 00A4 000A [17] 6
                                                      [19] 5.1
                                                      [21]
   "event="                               3 06C6 0006 [17] 6
   "subscribe"                            5 0062 0009 [17] 6
   "approved"                             5 023A 0008 [17] 6
   "deactivated"                          5 001A 000B [17] 6
   "provation"                            5 0229 0009 [17] 6
   "rejected"                             5 0170 0008 [17] 6
   "timeout"                              5 05CC 0007 [17] 6
   "giveup"                               5 04D7 0006 [17] 6
   "noresource"                           5 07D9 000A [17] 6
   "expiration="                          4 085B 000B [17] 6
   "duration-subscribed="                 4 0082 0014 [17] 6
   "lang="                                1 0928 0005 [17] 6
                                                      [19] 5.1
                                                      [10] 5.1
                                                      [16] 2.2.5
   ":simple-filter"                       3 05BB 000E [18] 7
   "filter-set"                           3 05C3 000A [18] 7
   "ns-bindings"                          3 057B 000B [18] 7
   "ns-binding"                           3 057B 000A [18] 7
   "filter"                               3 05C3 0006 [18] 7
   "package="                             3 06CC 0008 [17] 6, [18] 7
   "prefix="                              5 0208 0007 [18] 7
   "urn="                                 5 0304 0004 [18] 7
   "what"                                 4 03BE 0004 [18] 7
   "trigger"                              4 055D 0007 [18] 7
   "uri="                                 4 03BA 0004 [18] 7
                                                      [19] 5.1
   "domain="                              5 013B 0007 [18] 7
   "remove="                              5 01D9 0007 [18] 7
   "enabled="                             5 01FA 0008 [18] 7
   "include="                             5 0232 0008 [18] 7



Garcia-Martin           Expires November 29, 2007              [Page 19]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   "exclude="                             5 0198 0008 [18] 7
   "changed"                              4 03A8 0007 [18] 7
   "added"                                4 03B5 0005 [18] 7
   "removed"                              4 07A7 0007 [18] 7
   ":rlmi"                                3 06B1 0005 [19] 5.1
   "list"                                 3 04CE 0004 [19] 5.1
   "name"                                 3 05F6 0004 [19] 5.1
   "resource"                             3 0563 0008 [19] 5.1
   "fullState="                           3 0799 000A [19] 5.1
   "cid="                                 5 0300 0004 [19] 5.1
   "instance"                             4 056C 0008 [19] 5.1
   "reason="                              5 0348 0007 [19] 5.1
   ":caps"                                3 06E9 0005 [20] 3.2, 3.3
   "servcaps"                             3 0585 0008 [20] 3.2
   "application"                          3 0717 000B [20] 3.2
   "control"                              3 0668 0007 [20] 3.2
   "message"                              3 0877 0007 [20] 3.2
   "type"                                 3 0442 0004 [20] 3.2
   "automata"                             3 0710 0008 [20] 3.2
   "duplex"                               3 0857 0006 [20] 3.2
   "description"                          3 037D 000B [20] 3.2, 3.3
                                                      [21]
   "event-packages"                       3 03F9 000E [20] 3.2
   "priority"                             3 06E1 0008 [20] 3.2, 3.3
   "methods"                              3 07B1 0007 [20] 3.2
   "extensions"                           3 0573 000A [20] 3.2
   "schemes"                              3 0873 0007 [20] 3.2
   "actor"                                3 07A3 0005 [20] 3.2
   "isfocus"                              3 0623 0007 [20] 3.2
   "languages"                            3 04E4 0009 [20] 3.2
   "supported"                            4 0724 0009 [20] 3.2, 3.3
   "notsupported"                         4 0721 000C [20] 3.2, 3.3
   "business"                             5 05FF 0008 [20] 3.2.11
   "personal"                             5 0111 0008 [20] 3.2.11
   "half"                                 5 020F 0004 [20] 3.2.12
   "receive-only"                         5 06A5 000C [20] 3.2.12
   "send-only"                            5 08A2 0009 [20] 3.2.12
   "lowerthan"                            5 017E 0009 [20] 3.2, 3.3
   "higherthan"                           5 00F8 000A [20] 3.2, 3.3
   "equals"                               5 0339 0006 [20] 3.2, 3.3
   "range"                                5 0394 0005 [20] 3.2, 3.3
   "maxvalue="                            5 07C0 0009 [20] 3.2, 3.3
   "minvalue="                            5 06B4 0009 [20] 3.2, 3.3
   "value="                               5 06B7 0006 [20] 3.2, 3.3
   "max="                                 5 02FC 0004 [20] 3.2, 3.3
   "min="                                 5 02F8 0004 [20] 3.2, 3.3
   "devcaps"                              3 0658 0007 [20] 3.3
   "mobility"                             5 00F0 0008 [20] 3.3



Garcia-Martin           Expires November 29, 2007              [Page 20]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   "fixed"                                5 02D5 0005 [20] 3.3.2
   "mobile"                               5 0164 0006 [20] 3.3.2
   "conference"                           5 0330 000A [20] 3.2.14
   "dialog"                               5 047B 0006 [20] 3.2.14
   "kplm"                                 5 00ED 0004 [20] 3.2.14
   "message-summary"                      5 0877 000F [20] 3.2.14
   "poc-settings"                         5 052A 000C [20] 3.2.14
   "refer"                                5 005D 0005 [20] 3.2.14
   "Siemens-RTP-Stats"                    5 00C7 0011 [20] 3.2.14
   "spirits-INDPs"                        5 0148 000D [20] 3.2.14
   "spirits-user-prog"                    5 0036 0011 [20] 3.2.14
   "winfo"                                5 0907 0005 [20] 3.2.14
   "CANCEL"                               5 029A 0006 [20] 3.2.16
   "INFO"                                 5 00BE 0004 [20] 3.2.16
   "INVITE"                               5 0294 0006 [20] 3.2.16
   "MESSAGE"                              5 0249 0007 [20] 3.2.16
   "NOTIFY"                               5 028E 0006 [20] 3.2.16
   "OPTIONS"                              5 00C1 0007 [20] 3.2.16
   "PRACK"                                5 02D0 0005 [20] 3.2.16
   "PUBLISH"                              5 0242 0007 [20] 3.2.16
   "REFER"                                5 01EC 0005 [20] 3.2.16
   "REGISTER"                             5 01F0 0008 [20] 3.2.16
   "SUBSCRIBE"                            5 0220 0009 [20] 3.2.16
   "UPDATE"                               5 0288 0006 [20] 3.2.16
   "100rel"                               5 051C 0006 [20] 3.2.17
   "early-session"                        5 040E 000D [20] 3.2.17
   "eventlist"                            5 04C9 0009 [20] 3.2.17
   "histinfo"                             5 01CC 0008 [20] 3.2.17
   "join"                                 5 04BB 0004 [20] 3.2.17
   "norefersub"                           5 005B 000A [20] 3.2.17
   "path"                                 5 08E5 0004 [20] 3.2.17
   "precondition"                         5 07CE 000C [20] 3.2.17
   "pref"                                 5 0208 0004 [20] 3.2.17
   "privacy"                              3 0699 0007 [11] 5
                                                      [20] 3.2.17
   "replaces"                             5 0763 0008 [20] 3.2.17
   "resource-priority"                    5 07DB 0011 [20] 3.2.17
   "sdp-anat"                             5 0833 0008 [20] 3.2.17
   "sec-agree"                            5 0406 0009 [20] 3.2.17
   "tdialog"                              5 047A 0007 [20] 3.2.17
   "timer"                                5 075F 0005 [20] 3.2.17
   "principal"                            5 04DC 0009 [20] 3.2.19
   "attendant"                            5 0839 0009 [20] 3.2.19
   "msg-taker"                            5 035C 0009 [20] 3.2.19
   "information"                          5 05EC 000B [20] 3.2.19
   "urn:oma:xml:prs:pidf:oma-pres"        3 0592 001D [21]
   "service-description"                  4 0375 0013 [21]
   "service-id"                           4 08CE 000A [21]



Garcia-Martin           Expires November 29, 2007              [Page 21]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   "version"                              4 08FF 0007 [21]
   "willingness"                          4 0829 000B [21]
   "session-paticipation"                 4 0414 0014 [21]
   "registration-state"                   4 060A 0012 [21]
   "barring-state"                        4 0455 000D [21]
   "overriding-willingness"               4 081E 0016 [21]
   "network-availability"                 4 0430 0014 [21]


                          Figure 2: Input strings


8.  References

8.1.  Normative References

   [1]   Bradner, S., "Key words for use in RFCs to Indicate Requirement
         Levels", BCP 14, RFC 2119, March 1997.

   [2]   Price, R., Bormann, C., Christoffersson, J., Hannu, H., Liu,
         Z., and J. Rosenberg, "Signaling Compression (SigComp)",
         RFC 3320, January 2003.

8.2.  Informational References

   [3]   Deutsch, P., "DEFLATE Compressed Data Format Specification
         version 1.3", RFC 1951, May 1996.

   [4]   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.

   [5]   Roach, A., "Session Initiation Protocol (SIP)-Specific Event
         Notification", RFC 3265, June 2002.

   [6]   Yergeau, F., "UTF-8, a transformation format of ISO 10646",
         STD 63, RFC 3629, November 2003.

   [7]   Garcia-Martin, M., Bormann, C., Ott, J., Price, R., and A.
         Roach, "The Session Initiation Protocol (SIP) and Session
         Description Protocol (SDP) Static Dictionary for Signaling
         Compression (SigComp)", RFC 3485, February 2003.

   [8]   Sugano, H., Fujimoto, S., Klyne, G., Bateman, A., Carr, W., and
         J. Peterson, "Presence Information Data Format (PIDF)",
         RFC 3863, August 2004.

   [9]   Handley, M., Jacobson, V., and C. Perkins, "SDP: Session



Garcia-Martin           Expires November 29, 2007              [Page 22]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


         Description Protocol", RFC 4566, July 2006.

   [10]  Rosenberg, J., "A Data Model for Presence", RFC 4479,
         July 2006.

   [11]  Schulzrinne, H., Gurbani, V., Kyzivat, P., and J. Rosenberg,
         "RPID: Rich Presence Extensions to the Presence Information
         Data Format (PIDF)", RFC 4480, July 2006.

   [12]  Schulzrinne, H., "CIPID: Contact Information for the Presence
         Information Data Format", RFC 4482, July 2006.

   [13]  Schulzrinne, H., "Timed Presence Extensions to the Presence
         Information Data Format (PIDF) to Indicate Status Information
         for Past and Future Time Intervals", RFC 4481, July 2006.

   [14]  Urpalainen, J., "An Extensible Markup Language (XML) Patch
         Operations Framework Utilizing XML  Path Language (XPath)
         Selectors", draft-ietf-simple-xml-patch-ops-02 (work in
         progress), March 2006.

   [15]  Lonnfors, M., "Presence Information Data format (PIDF)
         Extension for Partial Presence",
         draft-ietf-simple-partial-pidf-format-08 (work in progress),
         November 2006.

   [16]  Peterson, J., "A Presence-based GEOPRIV Location Object
         Format", RFC 4119, December 2005.

   [17]  Rosenberg, J., "An Extensible Markup Language (XML) Based
         Format for Watcher Information", RFC 3858, August 2004.

   [18]  Khartabil, H., Leppanen, E., Lonnfors, M., and J. Costa-
         Requena, "An Extensible Markup Language (XML)-Based Format for
         Event Notification Filtering", RFC 4661, September 2006.

   [19]  Roach, A., Campbell, B., and J. Rosenberg, "A Session
         Initiation Protocol (SIP) Event Notification Extension for
         Resource Lists", RFC 4662, August 2006.

   [20]  Lonnfors, M. and K. Kiss, "Session Initiation Protocol (SIP)
         User Agent Capability Extension to  Presence Information Data
         Format (PIDF)", draft-ietf-simple-prescaps-ext-07 (work in
         progress), July 2006.

   [21]  Open Mobile Alliance, OMA., "OMA Presence Simple V1.0.1,
         Presence Information Data Format PIDF Schema Description",
         November 2006.



Garcia-Martin           Expires November 29, 2007              [Page 23]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


   [22]  Paoli, J., Maler, E., Yergeau, F., Sperberg-McQueen, C., and T.
         Bray, "Extensible Markup Language (XML) 1.0 (Fourth Edition)",
         World Wide Web Consortium Recommendation REC-xml-20060816,
         August 2006, <http://www.w3.org/TR/2006/REC-xml-20060816>.

   [23]  Fallside, D. and P. Walmsley, "XML Schema Part 0: Primer Second
         Edition", World Wide Web Consortium Recommendation REC-
         xmlschema-0-20041028, October 2004,
         <http://www.w3.org/TR/2004/REC-xmlschema-0-20041028>.


Author's Address

   Miguel A. Garcia-Martin
   Nokia Siemens Networks
   P.O.Box 6
   Nokia Siemens Networks, FIN  02022
   Finland

   Email: miguel.garcia@nsn.com































Garcia-Martin           Expires November 29, 2007              [Page 24]


Internet-Draft       Presence dictionary for Sigcomp            May 2007


Full Copyright Statement

   Copyright (C) The IETF Trust (2007).

   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.


Acknowledgment

   Funding for the RFC Editor function is provided by the IETF
   Administrative Support Activity (IASA).





Garcia-Martin           Expires November 29, 2007              [Page 25]