Re: [Stox] review of core, chat, groupchat and presence

Peter Saint-Andre <> Mon, 23 September 2013 04:12 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id B94E811E80D2 for <>; Sun, 22 Sep 2013 21:12:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -102.832
X-Spam-Status: No, score=-102.832 tagged_above=-999 required=5 tests=[AWL=0.897, BAYES_00=-2.599, GB_I_INVITATION=-2, SARE_MLH_Stock1=0.87, USER_IN_WHITELIST=-100]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id C5iSev6Xms8L for <>; Sun, 22 Sep 2013 21:12:32 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id A1B9B11E8186 for <>; Sun, 22 Sep 2013 21:12:25 -0700 (PDT)
Received: from ergon.local (unknown []) (Authenticated sender: stpeter) by (Postfix) with ESMTPSA id 2A1E341639; Sun, 22 Sep 2013 22:17:26 -0600 (MDT)
Message-ID: <>
Date: Sun, 22 Sep 2013 22:12:18 -0600
From: Peter Saint-Andre <>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: Philipp Hancke <>
References: <>
In-Reply-To: <>
X-Enigmail-Version: 1.5.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [Stox] review of core, chat, groupchat and presence
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP-TO-XMPP Working Group discussion list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 23 Sep 2013 04:12:36 -0000

Hash: SHA1

Thanks again for the review. Comments inline.

On 8/8/13 12:33 PM, Philipp Hancke wrote:

> groupchat: 2: at least in RFC 6120, jid stands for jabber id, not
> jabber identifier.

Correct. Will fix.

> 3.1: Room Nickname -> lowercase?


> 3.1: example f2: conversion->conversation?

More like conversion->mapping :-)

BTW in the -chat spec I numbered all the examples sequentially, and
I'll start doing that here too.

> table 1: thread<->call id


> 3.2: example f7: possibly use by= on the error element?

Sure, by='' seems good.

> xep 0045 has the conflicting resource in the from

Correct. Will fix.

> 3.4: "Occupant JID in another room" -- i don't think mediated 
> invites work across different rooms.

Section 7.8.2 of XEP-0045 states in part:


It may be wondered why the invitee does not send the decline message
directly to the inviter. The main reason is that certain
implementations might choose to base invitations on occupant JIDs
rather than bare JIDs (so that, for example, an occupant could invite
someone from one room to another without knowing that person's bare
JID). Thus the service needs to handle both the invites and declines.


However, I'm not sure how widely that feature is implemented.

> example f1: hecate is benvolio? c&p error from 0045

Will fix.

> example f2: contact has a wrong host?

You are right.

> reeived -> received


> example f3 is not shown

I don't feel that we need to show every 200 OK. Yes, we put the
example in, but sometimes you really can have too many
examples. :-)

> below f4 there is a sip/2.0 200 ok on its own?

Will fix.

> 3.5: table 2: xmpp From/To -> from/to

Will fix.

> ex f9: where is juliets own presence in msrp?

Good catch. Will fix.

> ex f11: where is juliets own presence with code 110?

Will fix.

> ex f14: mapping <message id/> to Message-ID does msrp have a
> concept of room history?

I'm not sure.

> 3.6.2: do we have an equivalent disco feature for muc?

No, it's assumed by support for ''.

> 3.7: does xmpp still support the <status/> when in muc? In IRC
> this has caused PART spam


> 4.1: ex f5: lack of error until when? must wait until receiving
> 110 status?

We might way "within a reasonable amount of time, such as 5 seconds".

> 4.4: presence broadcast before ack? must buffer until receiving
> 110 ack?

Your comment is a bit cryptic. Would you please expand it?

> 4.5.1: use message id instead of guessing?

Good idea.

Thanks for the feedback!


- -- 
Peter Saint-Andre

Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools -
Comment: Using GnuPG with Thunderbird -