git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1068 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2007-07-14 00:50:37 +00:00
parent 2bfb3ecfb3
commit 39f6cc586b
1 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@
</tr>
</table>
<p>If the contact chooses the resource with which it initiates a voice chat based on the user's default XMPP presence priority (i.e., priority for XMPP messaging), the resulting behavior could be misleading (i.e., initiating the voice chat with the "desktop" resource rather than the "mobile" resource).</p>
<p>What is needed is a way for the user's clients to indicate that the application priority for the three resources is different from the standard XMPP messaging priority. Such information can also be used by an XMPP to route XMPP &MESSAGE; stanzas directed to a user's bare JID (&BAREJID;). This document defines such a mechanism via an optional XMPP presence extension.</p>
<p>What is needed is a way for the user's clients to indicate that the application priority for the three resources is different from the standard XMPP messaging priority. Such information can also be used by an XMPP server to route XMPP &MESSAGE; stanzas directed to a user's bare JID (&BAREJID;). This document defines such a mechanism via an optional XMPP presence extension.</p>
<p>In addition, this document also defines a way for an XMPP server to flag which resource it considers to be primary for any given application type, if it has information -- such as communication preferences -- that can help determine the primary resource.</p>
</section1>
<section1 topic='Application Priority' anchor='primary'>
@ -170,7 +170,7 @@
</section1>
<section1 topic='RAP-Based Message Routing' anchor='route'>
<p>A server MAY use the RAP data provided by clients in order to route incoming &MESSAGE; stanzas directed to the bare JID (&BAREJID;) of a registered account. In order to enable such routing, the sender MUST include an empty &lt;route/&gt; element qualified by the 'http://www.xmpp.org/extensions/xep-0168.html#ns-raproute' namespace &NSNOTE; including an 'ns' attribute corresponding to the desired application.</p>
<p>For example, consider a &xep0155; request send from one user (Romeo) to another (Juliet), where the users do not share presence:</p>
<p>For example, consider a &xep0155; request sent from one user (Romeo) to another (Juliet), where the users do not share presence:</p>
<example caption="User requests session"><![CDATA[
<message type='headline'
from='romeo@montague.net/orchard'