70 likes | 140 Views
IM Delivery and Read Reports. Hisham Khartabil hisham.khartabil@telio.no. Requirements draft-rosenberg-simple-messaging-requirements-01. It MUST be possible for the sender of an IM to request a delivery notification.
E N D
IM Delivery and Read Reports Hisham Khartabil hisham.khartabil@telio.no
Requirementsdraft-rosenberg-simple-messaging-requirements-01 • It MUST be possible for the sender of an IM to request a delivery notification. • It MUST be possible for the delivery notification to be sent at an arbitrary time in the future. • The delivery notification MUST be capable of indicating that the message was delivered to the intended target. • The delivery notification MUST be capable of indicating whether the message was delivered successfully, or whether, when it was delivered, the recipient generated an error. • The delivery notification MUST indicate the time of message delivery. • The delivery notification MUST indicate the specific message which was delivered. • When an IM is sent to a group, there MUST be delivery notifications generated about the delivery of the IM to each group participant. • MUST support recursive groups.
Solution Example 1 UA1 Proxy UA2 MESSAGE MESSAGE 200 Ok 200 Ok MESSAGE MESSAGE 200 Ok 200 Ok
Solution Example 2 UA1 IM Server UA2 MESSAGE 200 Ok MESSAGE 481 Ok MESSAGE 200 Ok
IM MESSAGE ... Content-type: Message/CPIM From: Alice <im:alice@example.com> To: Bob <im:bob@example.com> Message-ID: 34jk324j Receipt-Request: positive-delivery, negative-delivery Content-type: text/plain Content-length: 12 Hello World Report MESSAGE ... Content-type: Message/CPIM From: Bob <im:bob@example.com> To: Alice <im:alice@example.com> Content-type: message/status-report Content-Disposition: confirm Content-length: ... <status-report> <message-id>34jk324j</message-id> <recipient-uri>bob@example.com</recipient-uri> <type>delivery</type> <status>200</status> <note lang="en">The message was successfully Delivered</note> </status-report> Examples
Issues • Content-Disposition header in the report. Should it be on SIP/MSRP level or message/cpim?
Way Forward • No need to discuss technical issues yet • Is the WG interested in solving such problem?