XEP-0183: Jingle Telepathy Transport

Abstract:This document defines a telepathic transport method for establishing Extra-Sensory Perception (ESP) streams.
Author:Peter Saint-Andre
Copyright:© 1999 - 2010 XMPP Standards Foundation. SEE LEGAL NOTICES.
Status:Active
Type:Humorous
Version:1.0
Last Updated:2006-04-01

NOTICE: This document is Humorous. It MAY provide amusement but SHOULD NOT be taken seriously.


Table of Contents


1. Introduction
2. Requirements
3. Protocol Description
    3.1. Transport Initiation
    3.2. Receiver Response
    3.3. Informational Messages
4. Deployment Notes
5. Security Considerations
6. IANA Considerations
7. XMPP Registrar Considerations
    7.1. Protocol Namespaces
    7.2. Jingle Transport Methods
8. XML Schemas
    8.1. Transport Method
    8.2. Informational Messages

Appendices
    A: Document Information
    B: Author Information
    C: Legal Notices
    D: Relation to XMPP
    E: Discussion Venue
    F: Requirements Conformance
    G: Notes
    H: Revision History


1. Introduction

Jingle [1] defines a framework for negotiating and managing out-of-band multimedia sessions over XMPP. In order to provide a flexible framework, the base Jingle specification defines neither data transport methods nor media (session) types, leaving that up to separate specifications.

Typical peer-to-peer session types include voice chat (see Jingle RTP Sessions [2]) and video chat (see Jingle Video via RTP [3]). But Jingle can go farther. Indeed, why not support not only physical multimedia sessions (limited to the five physical senses) but also psychical multimedia sessions (which go beyond the basic physical senses to include advanced, extra-sensory perception)? The media (or medium) may be different, but the underlying principles are the same: fostering freedom of conversation by connecting people (e.g., through mind-reading and séances) and even applications such as accessing information from the future (e.g., in clairvoyance and precognition). Indeed, the ability to communicate with the spirit world will push Jabber/XMPP technologies into a new age of real-time communications (light years ahead of traditional IM and VoIP systems). Beyond Internet telephony, our innovations in Internet telepathy will give new meaning to the term "voice chat" as users are able to hear voices from the past, present, or future.

Unfortunately, these advanced session types cannot be supported using existing transport mechanisms such as Jingle ICE-UDP Transport Method [4], Jingle Raw UDP Transport Method [5], and Jingle IAX Transport Method [6]. Therefore, this document defines a new Jingle transport method for establishing and managing Extra-Sensory Perception (ESP) streams: the "telepathy" method.

2. Requirements

The Jingle telepathy transport method is designed to meet the following requirements:

  1. Make it possible to establish and manage extra-sensory perception (ESP) streams between two XMPP entities.
  2. Make it relatively easy to implement support in standard Jabber/XMPP clients.
  3. Where communication with non-XMPP (indeed, non-material) entities is needed, push as much complexity as possible onto gateways between this world and the spirit world.

Note: Whether or not an ESP stream can be established depends on the user's native telepathic abilities as well as acquired telepathic skills such as grounding, centering, pinging, pulse-sending, broadcasting, scanning, probing, suggestion, and projection. [7] Your mileage may vary.

3. Protocol Description

3.1 Transport Initiation

In order for the initiating entity in a Jingle exchange to start the negotiation, it MUST send a Jingle "session-initiate" stanza as described in XEP-0166. This stanza MUST include at least one transport method. If the initiating entity wishes to negotiate the telepathy transport, it MUST include a <transport/> child element qualified by the 'http://jabber.org/protocol/jingle/transport/telepathy' namespace.

This <transport/> element MUST include one and only one <candidate/> element per channel specifying the parameters that the initiator believes will be most likely to succeed for that channel. (Note: You have to believe.) This is not necessarily the initiator's preferred address for spiritual communication, but instead is the "address most likely to succeed", i.e., the address that is assumed to be reachable by the vast majority of target entities. (Establishing direct spiritual communication is hard enough as it is.) Here is an example:

Example 1. Initiation Example

<iq from='medium@example.com/seance' to='psychic@example.net/spiritworld' id='jingle1' type='set'>
  <jingle xmlns='http://jabber.org/protocol/jingle' 
          action='session-initiate' 
          initiator='medium@example.com/seance'
          sid='a73sjjvkla37jfea'>
    <description xmlns='urn:xmpp:example'/>
    <transport xmlns='http://jabber.org/protocol/jingle/transport/telepathy'>
      <candidate name='ihearvoices' generation='0' plane='9' pulse='80'
                 psi-sig='yellow happy bright open no-shields' 
                 sign='Pisces' time='present'/>
    </transport>
  </jingle>
</iq>
    

The attributes of the <candidate/> element are as follows:

3.2 Receiver Response

As described in XEP-0166, to provisionally accept the session initiation request, the receiver returns an IQ-result:

Example 2. Receiver Provisionally Accepts the Session Request

<iq type='result' from='psychic@example.net/spiritworld' to='medium@example.com/seance' id='jingle1'/>
    

To definitively accept the telepathy transport method, the receiver MUST send a <jingle/> element with an action of 'transport-accept', specifying the transport method desired.

Example 3. Receiver Accepts the Telepathy Transport Method

<iq type='set' from='psychic@example.net/spiritworld' to='medium@example.com/seance' id='jingle2'>
  <jingle xmlns='http://jabber.org/protocol/jingle' 
          action='transport-accept' 
          initiator='medium@example.com/seance'
          sid='a73sjjvkla37jfea'>
    <transport xmlns='http://jabber.org/protocol/jingle/transport/telepathy'>
      <candidate name='ihearvoices'/>
    </transport>
  </jingle>
</iq>
    

The initiating entity then acknowledges the receiver's acceptance:

Example 4. Initiating Entity Acknowledges Definitive Acceptance

<iq from='medium@example.com/seance' to='psychic@example.net/spiritworld' id='jingle2' type='result'/>
    

Now the initiating entity and receiver can begin sending appropriate psychical media over the negotiated ESP stream.

In the event that the receiver cannot establish a channel, it SHOULD terminate the session (see XEP-0176 or XEP-0177 for examples).

3.3 Informational Messages

Because the informational message payloads specific to the telepathy transport method cannot be tied down to the arbitrary conventions of XML syntax, a <message/> element qualified by the 'http://jabber.org/protocol/info/telepathy' namespace may include any character data that either party feels like communicating.

4. Deployment Notes

This specification applies exclusively to Jabber/XMPP clients and places no additional requirements on Jabber/XMPP servers. However, service administrators may wish to deploy a gateway to the spirit world in order to ease the channel negotiation process. How to develop such gateways is an inexact science (but it is a science!) and therefore is outside the scope of this document.

5. Security Considerations

To the author's knowledge, no channel encryption technologies exist for direct spiritual connections. Although this vulnerability can be mitigated through speaking in tongues and the use of various alternative languages such as Runic and Mumbo-Jumbo, the result is only security through obscurity, not channel encryption as those familiar with the merely material world understand it. If only benighted materialist scientists and technologists would recognize the validity of psychical experience and extra-sensory perception, progress in applying encryption principles to psychical channeling and the exchange of pure spiritual energy would rapidly ensue.

6. IANA Considerations

This document requires no interaction with the Internet Assigned Numbers Authority (IANA) [9].

7. XMPP Registrar Considerations

7.1 Protocol Namespaces

The XMPP Registrar [10] shall include 'http://jabber.org/protocol/jingle/transport/telepathy' and 'http://jabber.org/protocol/jingle/info/telepathy' in its registry of protocol namespaces.

7.2 Jingle Transport Methods

The XMPP Registrar shall include "http://jabber.org/protocol/jingle/transport/telepathy" in its registry of Jingle transport methods. The registry submission is as follows:

<transport>
  <name>telepathy</name>
  <desc>
    A method for the negotiation of Extra-Sensory Perception (ESP) streams. 
  </desc>
  <doc>XEP-0183</doc>
</transport>
    

8. XML Schemas

8.1 Transport Method

<?xml version='1.0' encoding='UTF-8'?>

<xs:schema
    xmlns:xs='http://www.w3.org/2001/XMLSchema'
    targetNamespace='http://jabber.org/protocol/jingle/transport/telepathy'
    xmlns='http://jabber.org/protocol/jingle/transport/telepathy'
    elementFormDefault='qualified'>

  <xs:element name='transport'>
    <xs:complexType>
      <xs:choice>
        <xs:sequence>
          <xs:element ref='candidate' minOccurs='0' maxOccurs='1'/>
        </xs:sequence>
      </xs:choice>
    </xs:complexType>
  </xs:element>

  <xs:element name='candidate'>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base='empty'>
          <xs:attribute name='generation' type='xs:unsignedByte' use='required'/>
          <xs:attribute name='name' type='xs:string' use='required'/>
          <xs:attribute name='plane' type='xs:positiveInteger' use='optional'/>
          <xs:attribute name='pulse' type='xs:positiveInteger' use='optional'/>
          <xs:attribute name='psi-sig' type='xs:string' use='optional'/>
          <xs:attribute name='sign' use='optional'>
            <xs:simpleType>
              <xs:restriction base='xs:NCName'>
                <xs:enumeration value='Aquarius'/>
                <xs:enumeration value='Aries'/>
                <xs:enumeration value='Cancer'/>
                <xs:enumeration value='Capricorn'/>
                <xs:enumeration value='Gemini'/>
                <xs:enumeration value='Leo'/>
                <xs:enumeration value='Libra'/>
                <xs:enumeration value='Pisces'/>
                <xs:enumeration value='Sagittarius'/>
                <xs:enumeration value='Scorpio'/>
                <xs:enumeration value='Taurus'/>
                <xs:enumeration value='Virgo'/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name='time' use='optional'>
            <xs:simpleType>
              <xs:restriction base='xs:NCName'>
                <xs:enumeration value='future'/>
                <xs:enumeration value='past'/>
                <xs:enumeration value='present'/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>

  <xs:simpleType name='empty'>
    <xs:restriction base='xs:string'>
      <xs:enumeration value=''/>
    </xs:restriction>
  </xs:simpleType>

</xs:schema>
    

8.2 Informational Messages

<?xml version='1.0' encoding='UTF-8'?>

<xs:schema
    xmlns:xs='http://www.w3.org/2001/XMLSchema'
    targetNamespace='http://jabber.org/protocol/jingle/info/telepathy'
    xmlns='http://jabber.org/protocol/jingle/info/telepathy'
    elementFormDefault='qualified'>

  <xs:element name='message' type='xs:string'/>

</xs:schema>
    

Appendices


Appendix A: Document Information

Series: XEP
Number: 0183
Publisher: XMPP Standards Foundation
Status: Active
Type: Humorous
Version: 1.0
Last Updated: 2006-04-01
Approving Body: XMPP Council
Dependencies: XMPP Core, XEP-0166
Supersedes: None
Superseded By: None
Short Name: telepathy
Source Control: HTML  RSS


Appendix B: Author Information

Peter Saint-Andre

Email: stpeter@jabber.org
JabberID: stpeter@jabber.org
URI: https://stpeter.im/


Appendix C: Legal Notices

Copyright

This XMPP Extension Protocol is copyright © 1999 - 2010 by the XMPP Standards Foundation (XSF).

Permissions

Permission is hereby granted, free of charge, to any person obtaining a copy of this specification (the "Specification"), to make use of the Specification without restriction, including without limitation the rights to implement the Specification in a software program, deploy the Specification in a network service, and copy, modify, merge, publish, translate, distribute, sublicense, or sell copies of the Specification, and to permit persons to whom the Specification is furnished to do so, subject to the condition that the foregoing copyright notice and this permission notice shall be included in all copies or substantial portions of the Specification. Unless separate permission is granted, modified works that are redistributed shall not contain misleading information regarding the authors, title, number, or publisher of the Specification, and shall not claim endorsement of the modified works by the authors, any organization or project to which the authors belong, or the XMPP Standards Foundation.

Disclaimer of Warranty

## NOTE WELL: This Specification is provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. ##

Limitation of Liability

In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall the XMPP Standards Foundation or any author of this Specification be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising from, out of, or in connection with the Specification or the implementation, deployment, or other use of the Specification (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if the XMPP Standards Foundation or such author has been advised of the possibility of such damages.

IPR Conformance

This XMPP Extension Protocol has been contributed in full conformance with the XSF's Intellectual Property Rights Policy (a copy of which can be found at <http://xmpp.org/extensions/ipr-policy.shtml> or obtained by writing to XMPP Standards Foundation, 1899 Wynkoop Street, Suite 600, Denver, CO 80202 USA).

Appendix D: Relation to XMPP

The Extensible Messaging and Presence Protocol (XMPP) is defined in the XMPP Core (RFC 3920) and XMPP IM (RFC 3921) specifications contributed by the XMPP Standards Foundation to the Internet Standards Process, which is managed by the Internet Engineering Task Force in accordance with RFC 2026. Any protocol defined in this document has been developed outside the Internet Standards Process and is to be understood as an extension to XMPP rather than as an evolution, development, or modification of XMPP itself.


Appendix E: Discussion Venue

The primary venue for discussion of XMPP Extension Protocols is the <standards@xmpp.org> discussion list.

Discussion on other xmpp.org discussion lists might also be appropriate; see <http://xmpp.org/about/discuss.shtml> for a complete list.

Errata can be sent to <editor@xmpp.org>.


Appendix F: Requirements Conformance

The following requirements keywords as used in this document are to be interpreted as described in RFC 2119: "MUST", "SHALL", "REQUIRED"; "MUST NOT", "SHALL NOT"; "SHOULD", "RECOMMENDED"; "SHOULD NOT", "NOT RECOMMENDED"; "MAY", "OPTIONAL".


Appendix G: Notes

1. XEP-0166: Jingle <http://xmpp.org/extensions/xep-0166.html>.

2. XEP-0167: Jingle RTP Sessions <http://xmpp.org/extensions/xep-0167.html>.

3. XEP-0180: Jingle Video via RTP <http://xmpp.org/extensions/xep-0180.html>.

4. XEP-0176: Jingle ICE-UDP Transport Method <http://xmpp.org/extensions/xep-0176.html>.

5. XEP-0177: Jingle Raw UDP Transport Method <http://xmpp.org/extensions/xep-0177.html>.

6. XEP-0179: Jingle IAX Transport Method <http://xmpp.org/extensions/xep-0179.html>.

7. For a good introduction to telepathic skills, see The Telepathy Manual located at <http://www.psipog.net/art-telepathy-manual.html>.

8. XEP-0163: Personal Eventing Protocol <http://xmpp.org/extensions/xep-0163.html>.

9. The Internet Assigned Numbers Authority (IANA) is the central coordinator for the assignment of unique parameter values for Internet protocols, such as port numbers and URI schemes. For further information, see <http://www.iana.org/>.

10. The XMPP Registrar maintains a list of reserved protocol namespaces as well as registries of parameters used in the context of XMPP extension protocols approved by the XMPP Standards Foundation. For further information, see <http://xmpp.org/registrar/>.


Appendix H: Revision History

Note: Older versions of this specification might be available at http://xmpp.org/extensions/attic/

Version 1.0 (2006-04-01)

April Fools!

(psa)

END