mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-23 01:32:22 -05:00
corrected examples
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3977 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
540ae9cf67
commit
c7d8a0a9e5
@ -51,9 +51,9 @@
|
||||
<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
|
||||
initiator='medium@example.com/seance'
|
||||
sid='a73sjjvkla37jfea'>
|
||||
<description ...>
|
||||
<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'
|
||||
@ -80,7 +80,7 @@
|
||||
]]></example>
|
||||
<p>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.</p>
|
||||
<example caption="Receiver Accepts the Telepathy Transport Method"><![CDATA[
|
||||
<iq type='set' from='psychic@example.net/spiritworld' to='medium@example.com/seance' id='jingle2'/>
|
||||
<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'
|
||||
@ -93,7 +93,7 @@
|
||||
]]></example>
|
||||
<p>The initiating entity then acknowledges the receiver's acceptance:</p>
|
||||
<example caption="Initiating Entity Acknowledges Definitive Acceptance"><![CDATA[
|
||||
<iq from='medium@example.com/seance' to='psychic@example.net/spiritworld' id='jingle2' type='result'>
|
||||
<iq from='medium@example.com/seance' to='psychic@example.net/spiritworld' id='jingle2' type='result'/>
|
||||
]]></example>
|
||||
<p>Now the initiating entity and receiver can begin sending appropriate psychical media over the negotiated ESP stream.</p>
|
||||
<p>In the event that the receiver cannot establish a channel, it SHOULD terminate the session (see <cite>XEP-0176</cite> or <cite>XEP-0177</cite> for examples).</p>
|
||||
|
Loading…
Reference in New Issue
Block a user