mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 09:12:19 -05:00
1.1 published
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@662 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
d313555d21
commit
1c52af8028
50
xep-0155.xml
50
xep-0155.xml
@ -7,7 +7,7 @@
|
|||||||
<xep>
|
<xep>
|
||||||
<header>
|
<header>
|
||||||
<title>Stanza Session Negotiation</title>
|
<title>Stanza Session Negotiation</title>
|
||||||
<abstract>This document specifies a feature negotiation profile for initiating a one-to-one XMPP stanza communication session.</abstract>
|
<abstract>This document specifies a feature negotiation profile for initiating an exchange of XML stanzas between two entities.</abstract>
|
||||||
&LEGALNOTICE;
|
&LEGALNOTICE;
|
||||||
<number>0155</number>
|
<number>0155</number>
|
||||||
<status>Draft</status>
|
<status>Draft</status>
|
||||||
@ -22,14 +22,14 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
<supersedes/>
|
<supersedes/>
|
||||||
<supersededby/>
|
<supersededby/>
|
||||||
<shortname>chatneg</shortname>
|
<shortname>ssn</shortname>
|
||||||
&ianpaterson;
|
&ianpaterson;
|
||||||
&stpeter;
|
&stpeter;
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.1</version>
|
<version>1.1</version>
|
||||||
<date>2007-03-12</date>
|
<date>2007-03-15</date>
|
||||||
<initials>ip</initials>
|
<initials>ip/psa</initials>
|
||||||
<remark><p>Renamed to Stanza Session Negotiation</p></remark>
|
<remark>With XMPP Council approval, changed name from Chat Session Negotiation to Stanza Session Negotiation; also changed URN to urn:xmpp:ssn.</remark>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
@ -201,7 +201,7 @@ PENDING o---------------+
|
|||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<title>Open chat with Romeo?</title>
|
<title>Open chat with Romeo?</title>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field label='Accept this session?' type='boolean' var='accept'>
|
<field label='Accept this session?' type='boolean' var='accept'>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
@ -289,7 +289,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='submit'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='accept'><value>true</value></field>
|
<field var='accept'><value>true</value></field>
|
||||||
<field var='logging'><value>mustnot</value></field>
|
<field var='logging'><value>mustnot</value></field>
|
||||||
@ -319,7 +319,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='submit'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='accept'><value>0</value></field>
|
<field var='accept'><value>0</value></field>
|
||||||
</x>
|
</x>
|
||||||
@ -327,7 +327,7 @@ PENDING o---------------+
|
|||||||
<body>Sorry, can't chat now! How about tonight?</body>
|
<body>Sorry, can't chat now! How about tonight?</body>
|
||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
<p>If the contact's client does not support feature negotiation or does not support the "urn:xmpp:chatneg" FORM_TYPE, it SHOULD return a &unavailable; error:</p>
|
<p>If the contact's client does not support feature negotiation or does not support the "urn:xmpp:ssn" FORM_TYPE, it SHOULD return a &unavailable; error:</p>
|
||||||
<example caption="Contact returns service unavailable error"><![CDATA[
|
<example caption="Contact returns service unavailable error"><![CDATA[
|
||||||
<message type='error'
|
<message type='error'
|
||||||
from='juliet@capulet.com/balcony'
|
from='juliet@capulet.com/balcony'
|
||||||
@ -336,7 +336,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
...
|
...
|
||||||
</x>
|
</x>
|
||||||
@ -355,7 +355,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
...
|
...
|
||||||
</x>
|
</x>
|
||||||
@ -377,7 +377,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
...
|
...
|
||||||
</x>
|
</x>
|
||||||
@ -401,7 +401,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='result'>
|
<x xmlns='jabber:x:data' type='result'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='accept'><value>true</value></field>
|
<field var='accept'><value>true</value></field>
|
||||||
</x>
|
</x>
|
||||||
@ -418,7 +418,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='result'>
|
<x xmlns='jabber:x:data' type='result'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='accept'><value>0</value></field>
|
<field var='accept'><value>0</value></field>
|
||||||
</x>
|
</x>
|
||||||
@ -437,7 +437,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='submit'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='continue'><value>PDA</value></field>
|
<field var='continue'><value>PDA</value></field>
|
||||||
</x>
|
</x>
|
||||||
@ -454,7 +454,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='result'>
|
<x xmlns='jabber:x:data' type='result'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='continue'><value>PDA</value></field>
|
<field var='continue'><value>PDA</value></field>
|
||||||
</x>
|
</x>
|
||||||
@ -473,7 +473,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field label='Renegotiate?' type='boolean' var='renegotiate'>
|
<field label='Renegotiate?' type='boolean' var='renegotiate'>
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
@ -500,7 +500,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='submit'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='renegotiate'><value>1</value></field>
|
<field var='renegotiate'><value>1</value></field>
|
||||||
<field var='logging'><value>may</value></field>
|
<field var='logging'><value>may</value></field>
|
||||||
@ -520,7 +520,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='submit'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='renegotiate'><value>0</value></field>
|
<field var='renegotiate'><value>0</value></field>
|
||||||
<field var='logging'><value>may</value></field>
|
<field var='logging'><value>may</value></field>
|
||||||
@ -540,7 +540,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='submit'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='terminate'><value>1</value></field>
|
<field var='terminate'><value>1</value></field>
|
||||||
</x>
|
</x>
|
||||||
@ -557,7 +557,7 @@ PENDING o---------------+
|
|||||||
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
<feature xmlns='http://jabber.org/protocol/feature-neg'>
|
||||||
<x xmlns='jabber:x:data' type='result'>
|
<x xmlns='jabber:x:data' type='result'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:chatneg</value>
|
<value>urn:xmpp:ssn</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='terminate'><value>1</value></field>
|
<field var='terminate'><value>1</value></field>
|
||||||
</x>
|
</x>
|
||||||
@ -611,13 +611,13 @@ PENDING o---------------+
|
|||||||
</section1>
|
</section1>
|
||||||
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
|
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
|
||||||
<section2 topic='Protocol Namespaces' anchor='ns'>
|
<section2 topic='Protocol Namespaces' anchor='ns'>
|
||||||
<p>The ®ISTRAR; includes 'urn:xmpp:chatneg' in its registry of protocol namespaces (see &NAMESPACES;).</p>
|
<p>The ®ISTRAR; includes 'urn:xmpp:ssn' in its registry of protocol namespaces (see &NAMESPACES;).</p>
|
||||||
</section2>
|
</section2>
|
||||||
<section2 topic='Service Discovery Features' anchor='registrar-features'>
|
<section2 topic='Service Discovery Features' anchor='registrar-features'>
|
||||||
<p>The XMPP Registrar includes 'urn:xmpp:chatneg' in its registry of Service Discovery features (see &DISCOFEATURES;).</p>
|
<p>The XMPP Registrar includes 'urn:xmpp:ssn' in its registry of Service Discovery features (see &DISCOFEATURES;).</p>
|
||||||
<code caption='Registry Submission'><![CDATA[
|
<code caption='Registry Submission'><![CDATA[
|
||||||
<var>
|
<var>
|
||||||
<name>urn:xmpp:chatneg</name>
|
<name>urn:xmpp:ssn</name>
|
||||||
<desc>Support for Stanza Session Negotiation and its FORM_TYPE</desc>
|
<desc>Support for Stanza Session Negotiation and its FORM_TYPE</desc>
|
||||||
<doc>XEP-0155</doc>
|
<doc>XEP-0155</doc>
|
||||||
</var>
|
</var>
|
||||||
@ -627,7 +627,7 @@ PENDING o---------------+
|
|||||||
<p>&xep0068; defines a process for standardizing the fields used within Data Forms qualified by a particular namespace. The following fields are registered for use in Stanza Session Negotiation (see &FORMTYPES;):</p>
|
<p>&xep0068; defines a process for standardizing the fields used within Data Forms qualified by a particular namespace. The following fields are registered for use in Stanza Session Negotiation (see &FORMTYPES;):</p>
|
||||||
<code caption='Registry Submission'><![CDATA[
|
<code caption='Registry Submission'><![CDATA[
|
||||||
<form_type>
|
<form_type>
|
||||||
<name>urn:xmpp:chatneg</name>
|
<name>urn:xmpp:ssn</name>
|
||||||
<doc>XEP-0155</doc>
|
<doc>XEP-0155</doc>
|
||||||
<desc>
|
<desc>
|
||||||
Forms enabling negotation of a one-to-one
|
Forms enabling negotation of a one-to-one
|
||||||
|
Loading…
Reference in New Issue
Block a user