[Standards] Server-assisted message receipts

Daniele Ricci daniele.athome at gmail.com
Tue Oct 7 15:12:14 UTC 2014


Hello everyone,
I'd like to propose a new XEP or possibly a change to an existing one.
My purpose is to draft something between AMP [1] and delivery receipts
[2], for message stanzas only, designed to give developers and server
administrators a simple tool for making sure messages are delivered
between client and server and between servers.

I'm currently using my own XEP described here [3] for my own project,
but I'd like to extend XEP-0184 to support two more tags:

<sent/>
This is used by the server to indicate clients (or another server)
that the message has been accepted and queued for delivery. An id
attribute in this tag will identify the message with a
server-generated unique ID.

<ack/>
This is sent by the server to acknowledge that the <received/> stanza
has been accepted and the delivery receipt is being delivered.
This may also be sent by the client to acknowledge that the
<received/> stanza was received correctly. The id attribute will be
filled with the stanza id from the <received/> stanza.

Matching of request-reply (e.g. request-sent pair) in every step shall
be done using the stanza ID attribute.

I don't want to complicate things, I just want to give people and
myself a simpler choice that does not involve the complexity of AMP or
the ubiquitous approach of stream management [4].

Thanks to anyone willing to comment this.
Regards
-- 
Daniele

[1] http://xmpp.org/extensions/xep-0079.html
[2] http://www.xmpp.org/extensions/xep-0184.html
[3] https://github.com/kontalk/specs/wiki/XMPP-extensions#server-receipts
[4] http://xmpp.org/extensions/xep-0198.html



More information about the Standards mailing list