[Standards] "Reason Attribute" for JingleSession-Terminate packet?
Thiago Camargo
thiago at jivesoftware.com
Fri Apr 13 10:59:21 CDT 2007
Hello Peter,
I would like structured strings; it increases compatibility in many
aspects.
Maybe we should add several types and add an OPTIONAL description in
free-form.
Enum ReasonType{
"normally",
"media-error",
"connectivity-error",
"general-error"
}
And an optional description that SHOULD be OPTIONAL.
Using both we can increase compatibility in error handling and user
messages.
Best Regards,
Thiago
-----Original Message-----
From: standards-bounces at xmpp.org [mailto:standards-bounces at xmpp.org] On
Behalf Of Peter Saint-Andre
Sent: sexta-feira, 13 de abril de 2007 12:29
To: XMPP Extension Discussion List
Subject: Re: [Standards] "Reason Attribute" for JingleSession-Terminate
packet?
Peter Saint-Andre wrote:
> Thiago Camargo wrote:
>> Shouldn't we include one optional attribute "Reason" to
>> Session-Terminate Packet in Jingle?
>>
>> We can use for tell the other party, why we are hanging up. Examples:
>
> Sure, that's a fine idea. I'll add it to the next version (which
should
> have a small diff from the current version).
Should the reasons be free-form text (e.g., "Sorry, gotta go!") or
structured/registered strings (e.g., "bandwidth-exceeded")? I can see
justifications for either or both.
And these could be used for things other than session-terminate...
/psa
More information about the Standards
mailing list