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

Philipp Hancke <> Mon, 23 September 2013 05:58 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id D698011E8195 for <>; Sun, 22 Sep 2013 22:58:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.017
X-Spam-Status: No, score=-1.017 tagged_above=-999 required=5 tests=[AWL=-1.147, BAYES_20=-0.74, SARE_MLH_Stock1=0.87]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id deHHksXGHmVc for <>; Sun, 22 Sep 2013 22:57:56 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id C183911E8199 for <>; Sun, 22 Sep 2013 22:57:55 -0700 (PDT)
Received: from [] ( []) (authenticated bits=0) by (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8N5vrLX005270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <>; Mon, 23 Sep 2013 07:57:54 +0200
Message-ID: <>
Date: Mon, 23 Sep 2013 07:57:48 +0200
From: Philipp Hancke <>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
References: <> <>
In-Reply-To: <>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
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 05:58:02 -0000

 > Thanks again for the review. Comments inline.

As before, removing items done.

new nit: [length] looks like it should be replaced with the examples 
actual length in three places. Only seen in -groupchat.

>> 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. :-)

Right. But then it might make sense to either add a "not shown" marker 
in the ascii art or not number them. I'll check if that happens often 
enough to make sense.

>> 4.4: presence broadcast before ack? must buffer until receiving
>> 110 ack?
> Your comment is a bit cryptic. Would you please expand it?

Hah, that was the only comment you found cryptic? :-)

btw: it might make sense to reuse the caption from XEP-0045 (7.2.3 
Presence Broadcast) for the caption of F7 (which is raw, unbridled xmpp 
and not translated; current text seems copy-paste from F11 in sect 3.5):
  "Service Sends Presence from Existing Occupants to New Occupant"

Now the attempt to decipher my comments:
First part:
In MUC, the participant lists is sent to the new occupant (muc example 
21) before the new occupants own presence (muc  example 24) and 
therefore potentially before any acknowledgements that might be required 
on the MSRP side. Is that a problem?

Second part:
In example F10, two (or more) stanzas are translated into a single 
event. Unless you can do partial updates (Emil? I think you mentioned 
such a thing for COIN) here, the gateway needs to know when it can 
dispatch example 4.4 -- upon receiving the participants own presence, 
which might come with a 110 status code. Since I don't think all xmpp 
serveers do 110, i think there is some text required that the gateway 
needs to be able to recognize the self-presence and not mistake it as 
part of the participants list.
(should it be participant_s_ presence in the caption?)

Is that clearer?