Re: [Stox] chat states <-> isComposing

Peter Saint-Andre <stpeter@stpeter.im> Thu, 19 September 2013 12:50 UTC

Return-Path: <stpeter@stpeter.im>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0266521F935A for <stox@ietfa.amsl.com>; Thu, 19 Sep 2013 05:50:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.704
X-Spam-Level:
X-Spam-Status: No, score=-101.704 tagged_above=-999 required=5 tests=[AWL=-0.275, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, SARE_MLH_Stock1=0.87, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w7qjP9r8OsCD for <stox@ietfa.amsl.com>; Thu, 19 Sep 2013 05:50:27 -0700 (PDT)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id B574A21F9344 for <stox@ietf.org>; Thu, 19 Sep 2013 05:50:27 -0700 (PDT)
Received: from ergon.local (unknown [71.237.13.154]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 0AD04206F1; Thu, 19 Sep 2013 06:55:20 -0600 (MDT)
Message-ID: <523AF313.4010509@stpeter.im>
Date: Thu, 19 Sep 2013 06:50:27 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
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: =?ISO-8859-1?Q?Sa=FAl_Ibarra_Corretg=E9?= <saul@ag-projects.com>
References: <5239C275.9080402@stpeter.im> <D5FD7851-B085-4174-9804-2840F8963C91@ag-projects.com>
In-Reply-To: <D5FD7851-B085-4174-9804-2840F8963C91@ag-projects.com>
X-Enigmail-Version: 1.5.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Cc: "stox@ietf.org" <stox@ietf.org>
Subject: Re: [Stox] chat states <-> isComposing
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP-TO-XMPP Working Group discussion list <stox.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stox>, <mailto:stox-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/stox>
List-Post: <mailto:stox@ietf.org>
List-Help: <mailto:stox-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stox>, <mailto:stox-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Sep 2013 12:50:32 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[removing areas of agreement]

On 9/19/13 1:44 AM, Saúl Ibarra Corretgé wrote:

> On Sep 18, 2013, at 5:10 PM, Peter Saint-Andre wrote:
> 
>> gone => ???
>> 
> 
> Here comes the dilemma: that gone state. Not many clients
> implement the 'gone' state, but those who do tend to render a
> message such as "Peter left the conversation" if they get one, and
> likewise, send it if you close the conversation tab. Based on this
> non-scientific testing I mapped it to a SIP BYE, both ways. That
> is, if we are having a chat session (I am on MSRP and you on XMPP)
> if I end the SIP session, the gateway would send a gone chatstate,
> and if your client would send it, the gateway would terminate the
> SIP session.
> 
> I know this looks weird, since we are mixing payload translation
> with session management, but since the gateway needs to handle all
> chat media I don't see a problem with that.

That makes a lot of sense to me, given that the gone chat state is
kind of like in-session unavailable presence.

Peter

- -- 
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSOvMSAAoJEOoGpJErxa2po5AQAKoiJGfNVsgFC/SkuCIyhwjl
585PuyxKRyPnsCVo7G7bu5hN3ZvOJY56yvam60WvdOqiJF9LJfx+6gd8Dr3+v3jy
M0xWQtqGD5lmQmQn3KAJNrYPDvq+wvUd1oFyarkbZUcjvLDyQ+DtlZB6jlEUtiM8
rh65/pOAIDjAZRhrO1xrKbfSZDrprGmb2nnnNJGku1SOT1Hm/ncJRmtwet1Mw4M8
wpj6ryl9CfTGe/7qrf3xa+IU74+ywPiNyZtv/U827QHKAZSKenF9TjgVqFO4X+4F
/imhrv2onV6LFgIu+mevZ+YbopI1on4/cqd7CZc5S0Wq0SoxUIicCQwf6DOVsi10
NtJil7HB7Z8HR3/EuuZItqkeG/I/xs6YvfaD+G93gpSgsBtfhk8JkahYeKEPJGbw
v0b9wUrvc411N7ONEgxTuyqGNhI8Cn0463SCV+OsUySLTAldfpd9wIfUd8xyTKWW
PRSUqHjSv9AFzRrxL+AYLEVrgWDMz/3xK2fgFN/YYD4YC42AVLknGkB7UkMr+tEM
/ejwXcYzRq9FWUop6fcydc88Jr7DmgJ+RIBuw3OkRx0Qn+xJvLZ35wCA0IhvkiNu
peP49Od2/TXFsbC/lXWZmhDWBQsplI/RqnCdrGviJJW2M41kNebrvKtoQqDc0mWY
6Y8SUg+gxsYwJlPA/Iuh
=x09Y
-----END PGP SIGNATURE-----