From speechsc-bounces@ietf.org Mon Apr 03 10:28:15 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQQ2N-0006rp-D7; Mon, 03 Apr 2006 10:28:11 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FQQ2M-0006rk-5c
	for speechsc@ietf.org; Mon, 03 Apr 2006 10:28:10 -0400
Received: from maile.telecomitalia.it ([156.54.233.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FQQ2J-0004t1-3P
	for speechsc@ietf.org; Mon, 03 Apr 2006 10:28:10 -0400
Received: from ptpxch008ba020.idc.cww.telecomitalia.it ([156.54.240.51]) by
	maile.telecomitalia.it with Microsoft SMTPSVC(6.0.3790.1830);
	Mon, 3 Apr 2006 16:27:57 +0200
Received: from PTPEVS106BA020.idc.cww.telecomitalia.it ([156.54.241.223]) by
	ptpxch008ba020.idc.cww.telecomitalia.it with Microsoft
	SMTPSVC(6.0.3790.211); Mon, 3 Apr 2006 16:27:57 +0200
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Importance: normal
Priority: normal
Subject: [Speechsc] VoiceXML inputmodes property
Date: Mon, 3 Apr 2006 16:27:11 +0200
Message-ID: <01C0B9926BC410459FE9AACE49B815023F55B7@PTPEVS106BA020.idc.cww.telecomitalia.it>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] VoiceXML inputmodes property
thread-index: AcZXKrIzRFqJTxBXTrO5pilcZXrErA==
From: "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>
To: <speechsc@ietf.org>
X-OriginalArrivalTime: 03 Apr 2006 14:27:57.0133 (UTC)
	FILETIME=[CD4E1FD0:01C6572A]
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 501044f827b673024f6a4cb1d46e67d2
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0038182067=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============0038182067==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_163E2A_01C6573B.910EA1A0"
Content-Class: urn:content-classes:message

This is a multi-part message in MIME format.

------=_NextPart_000_163E2A_01C6573B.910EA1A0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
some months ago there was a discussion on VoiceXML 'inputmodes' property
implementability in MRCPv2 protocol (see
http://www1.ietf.org/mail-archive/web/speechsc/current/msg01497.html).
That thread was closed renaming 'START-OF-SPEECH' event in
'START-OF-INPUT', adding 'input-type' header to it and clarifying
conditions under which START-OF-INPUT event has to be generated from
server.

However, this solution seems not so good to us, for the following
reasons:

- When both synthesis and recognition resources are involved in the same
MRCPv2 session, START-OF-INPUT event generation causes internal SPEAK
interruption. If 'input-mode' header is not conform to inputmodes
property, VoiceXML client can only abort RECOGNIZE method and take some
action (raise an error event? nomatch, noinput or others). On the other
hand, even though only a RECOGNIZE is sent, a wrong grammar could be
matched (e.g. a DTFM grammar when the input mode was set to "voice"); in
this case the VoiceXML interpreter could just recover the error raising
e.g. a NO-MATCH event and reprompting the question to the user; an "a
priori" solution, allowing to ignore the not-requested modality, would
be much more effective.

- In hotword recognition, START-OF-INPUT event is never generated, so
VoiceXML client receives RECOGNITION-COMPLETE event only, and if result
is not conform to inputmodes property it can only raise an error event
(nomatch, noinput or others)

- When external grammars are involved in VoiceXML pages, VoiceXML client
might not to know whether they accept vocal or dtmf input: it cannot
activates grammars according to inputmode property.

These are not conforming to VoiceXML specification:

6.3.6 Miscellaneous Properties
inputmodes=20
This property determines which input modality to use. The input modes to
enable: dtmf and voice. On platforms that support both modes, inputmodes
defaults to "dtmf voice". To disable speech recognition, set inputmodes
to "dtmf". To disable DTMF, set it to "voice". One use for this would be
to turn off speech recognition in noisy environments. Another would be
to conserve speech recognition resources by turning them off where the
input is always expected to be DTMF. This property does not control the
activation of grammars. For instance, voice-only grammars may be active
when the inputmode is restricted to DTMF. Those grammars would not be
matched, however, because the voice input modality is not active.

For these reasons, we propose to add a new Recog-only header:

Input Mode

   This header MAY be sent as part of the RECOGNIZE request in order to
   determines which input modality to use. It can assume following
values:=20
   "voice": dtmf input will be ignored from server
   "dtmf": speech input will be ignored from server
   "all": both dtmf and speech input will be analyzed from server. This
is
   the default value if header is not specified

   input-mode         =3D  "Input-Mode" ":"  modes CRLF
   modes              =3D  "voice" / "dtmf" / "all"

Alternatively, it is possible to reuse and extend the input type header,

in the following way:

Input Type

   When the recognizer detects barge-inable input and generates a START-
   OF-INPUT event, that event MUST carry this header field to specify
   where the input that caused the barge-in was DTMF or speech.=20
 =20
   This header MAY also be sent as part of the RECOGNIZE request in
order to
   determines which input modality to use. If its value is 'speech',
dtmf
   input will be ignored from server. If its value is 'dtmf', speech
   input will be ignored from server. If its value is 'all', both dtmf
and
   speech input will be analyzed from server. If not specified, it
defaults
   to 'all'.

   input-type         =3D  "Input-Type" ":"  inputs CRLF
   inputs             =3D  "speech" / "dtmf" / "all"


Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons =
above and may contain confidential information. If you have received the =
message in error, be informed that any use of the content hereof is =
prohibited. Please return it immediately to the sender and delete the =
message. Should you have any questions, please send an e_mail to =
<mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank =
you<http://www.loquendo.com>www.loquendo.com
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
------=_NextPart_000_163E2A_01C6573B.910EA1A0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 =
Transitional//EN"><HTML><HEAD><META HTTP-EQUIV=3D"Content-Type" =
CONTENT=3D"text/html; =
charset=3Diso-8859-1"></HEAD><BODY><DIV>&nbsp;</DIV>Hi,<BR>some months =
ago there was a discussion on VoiceXML 'inputmodes' =
property<BR>implementability in MRCPv2 protocol =
(see<BR>http://www1.ietf.org/mail-archive/web/speechsc/current/msg01497.h=
tml).<BR>That thread was closed renaming 'START-OF-SPEECH' event =
in<BR>'START-OF-INPUT', adding 'input-type' header to it and =
clarifying<BR>conditions under which START-OF-INPUT event has to be =
generated from<BR>server.<BR><BR>However, this solution seems not so =
good to us, for the following<BR>reasons:<BR><BR>- When both synthesis =
and recognition resources are involved in the same<BR>MRCPv2 session, =
START-OF-INPUT event generation causes internal SPEAK<BR>interruption. =
If 'input-mode' header is not conform to inputmodes<BR>property, =
VoiceXML client can only abort RECOGNIZE method and take some<BR>action =
(raise an error event? nomatch, noinput or others). On the =
other<BR>hand, even though only a RECOGNIZE is sent, a wrong grammar =
could be<BR>matched (e.g. a DTFM grammar when the input mode was set to =
"voice"); in<BR>this case the VoiceXML interpreter could just recover =
the error raising<BR>e.g. a NO-MATCH event and reprompting the question =
to the user; an "a<BR>priori" solution, allowing to ignore the =
not-requested modality, would<BR>be much more effective.<BR><BR>- In =
hotword recognition, START-OF-INPUT event is never generated, =
so<BR>VoiceXML client receives RECOGNITION-COMPLETE event only, and if =
result<BR>is not conform to inputmodes property it can only raise an =
error event<BR>(nomatch, noinput or others)<BR><BR>- When external =
grammars are involved in VoiceXML pages, VoiceXML client<BR>might not to =
know whether they accept vocal or dtmf input: it cannot<BR>activates =
grammars according to inputmode property.<BR><BR>These are not =
conforming to VoiceXML specification:<BR><BR>6.3.6 Miscellaneous =
Properties<BR>inputmodes <BR>This property determines which input =
modality to use. The input modes to<BR>enable: dtmf and voice. On =
platforms that support both modes, inputmodes<BR>defaults to "dtmf =
voice". To disable speech recognition, set inputmodes<BR>to "dtmf". To =
disable DTMF, set it to "voice". One use for this would be<BR>to turn =
off speech recognition in noisy environments. Another would be<BR>to =
conserve speech recognition resources by turning them off where =
the<BR>input is always expected to be DTMF. This property does not =
control the<BR>activation of grammars. For instance, voice-only grammars =
may be active<BR>when the inputmode is restricted to DTMF. Those =
grammars would not be<BR>matched, however, because the voice input =
modality is not active.<BR><BR>For these reasons, we propose to add a =
new Recog-only header:<BR><BR>Input Mode<BR><BR>   This header MAY be =
sent as part of the RECOGNIZE request in order to<BR>   determines which =
input modality to use. It can assume following<BR>values: <BR>   =
"voice": dtmf input will be ignored from server<BR>   "dtmf": speech =
input will be ignored from server<BR>   "all": both dtmf and speech =
input will be analyzed from server. This<BR>is<BR>   the default value =
if header is not specified<BR><BR>   input-mode         =3D  =
"Input-Mode" ":"  modes CRLF<BR>   modes              =3D  "voice" / =
"dtmf" / "all"<BR><BR>Alternatively, it is possible to reuse and extend =
the input type header,<BR><BR>in the following way:<BR><BR>Input =
Type<BR><BR>   When the recognizer detects barge-inable input and =
generates a START-<BR>   OF-INPUT event, that event MUST carry this =
header field to specify<BR>   where the input that caused the barge-in =
was DTMF or speech. <BR>  <BR>   This header MAY also be sent as part of =
the RECOGNIZE request in<BR>order to<BR>   determines which input =
modality to use. If its value is 'speech',<BR>dtmf<BR>   input will be =
ignored from server. If its value is 'dtmf', speech<BR>   input will be =
ignored from server. If its value is 'all', both dtmf<BR>and<BR>   =
speech input will be analyzed from server. If not specified, =
it<BR>defaults<BR>   to 'all'.<BR><BR>   input-type         =3D  =
"Input-Type" ":"  inputs CRLF<BR>   inputs             =3D  "speech" / =
"dtmf" / "all"<BR><BR>Gruppo=20
Telecom Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.<BR><BR><FONT=20
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR>CONFIDENTIALITY=20
NOTICE<BR>This message and its attachments are addressed solely to the=20
persons<BR>above and may contain confidential information. If you have=20
received<BR>the message in error, be informed that any use of the =
content=20
hereof<BR>is prohibited. Please return it immediately to the sender and=20
delete<BR>the message. Should you have any questions, please send an =
e_mail=20
to<BR>&lt;<A=20
href=3D"mailto:webmaster@telecomitalia.it">mailto:webmaster@telecomitalia=
.it</A>&gt;webmaster@telecomitalia.it.=20
Thank you<BR>&lt;<A=20
href=3D"http://www.loquendo.com">http://www.loquendo.com</A>&gt;www.loque=
ndo.com<BR><FONT=20
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR></P></FONT></BODY></HTML>
------=_NextPart_000_163E2A_01C6573B.910EA1A0--


--===============0038182067==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============0038182067==--




From speechsc-bounces@ietf.org Thu Apr 06 16:35:34 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FRbCV-000192-TP; Thu, 06 Apr 2006 16:35:31 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FRbCU-00018x-2G
	for speechsc@ietf.org; Thu, 06 Apr 2006 16:35:30 -0400
Received: from mail.voicegenie.com ([205.150.90.87] helo=voicegenie.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FRbCS-0006mU-PP
	for speechsc@ietf.org; Thu, 06 Apr 2006 16:35:30 -0400
Received: from [205.150.90.65] (parrot.voicegenie.com [205.150.90.65])
	by voicegenie.com (8.11.6+Sun/8.9.3) with ESMTP id k36KZME01719
	for <speechsc@ietf.org>; Thu, 6 Apr 2006 16:35:22 -0400 (EDT)
Message-ID: <44357B7F.4040008@voicegenie.com>
Date: Thu, 06 Apr 2006 16:35:11 -0400
From: Andrew Wahbe <awahbe@voicegenie.com>
Organization: VoiceGenie Technologies
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: "IETF SPEECHSC (E-mail)" <speechsc@ietf.org>
Subject: [speechsc] Recognition Section Typos and Errors
Content-Type: multipart/mixed; boundary="------------040305070709000306000005"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c0bedb65cce30976f0bf60a0a39edea4
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.
--------------040305070709000306000005
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Some typos and errors found in the current MRCPv2 draft (09):

Section 9.12: Unique is mis-spelled as "uniqe".

Section 9.13: The title should be "START-INPUT-TIMERS" not 
"INPUT-TIMERS" (Table of Contents is wrong too).

Section 9.13: The last sentence isn't quite right/clear. It says: "The 
recognizer resource SHOULD NOT start the timers until the client sends a 
START-INPUT-TIMERS method to the recognizer." This is only true if the 
timers were not started by the RECOGNIZE request.

Section 9.9: The "Non-Hotword mode recognition" subsection gives an 
overview of the execution of a recognition. In addition to some typos, 
this section also confuses the no-input timer and the recognition timer 
(ie. maxspeech timer).
    * Typo in first sentence: "recongition" should be "recognition"
    * In the first paragraph, instances of "Recognition-Timer" should be 
changed to "No-Input Timer". (ie. "The Recognition-Timer MUST BE started 
at...." should be "The No-Input Timer MUST BE started at..." and "If 
this header is set to "false", the Recognition-Timer MUST be started..." 
should be "If this header is set to "false", the No-Input-Timer MUST be 
started...").
    * Typos in point (1.): "recongizer" should be "recognizer" and 
"end-ofspeech" should be "end-of-speech"
    * There is no (correct) mention of when the Recognition-Timer should 
be started. Presumably this would be when the START-OF-INPUT event is sent.
    * There is no mention of what happens when the No-Input Timer 
expires (completion cause of 002 no-input-timeout)

Other issues:
    * Both "Recognition Timer" and "Recognition-Timer" are used 
throughout the document. One should be used consistently; "Recognition 
Timer" is perhaps best.

Regards,

Andrew Wahbe

--------------040305070709000306000005
Content-Type: text/x-vcard; charset=utf-8;
 name="awahbe.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="awahbe.vcf"

begin:vcard
fn:Andrew Wahbe
n:Wahbe;Andrew
org:VoiceGenie Technologies INC.;Multimodal and Development Tools
adr:8th Floor;;1120 Finch Avenue W.;Toronto;ON;M3J 3H7;Canada
email;internet:awahbe@voicegenie.com
title:Technical Manager
tel;work:(416) 736-0905 ext. 258
tel;fax:(416) 736-1551
x-mozilla-html:TRUE
url:http://www.voicegenie.com
version:2.1
end:vcard


--------------040305070709000306000005
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--------------040305070709000306000005--




From speechsc-bounces@ietf.org Sat Apr 08 23:00:30 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FSQA8-0007k0-T2; Sat, 08 Apr 2006 23:00:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FSQA7-0007jv-3r
	for speechsc@ietf.org; Sat, 08 Apr 2006 23:00:27 -0400
Received: from mxgate1.brooktrout.com ([204.176.74.10])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FSQA6-0004BN-O7
	for speechsc@ietf.org; Sat, 08 Apr 2006 23:00:27 -0400
X-IronPort-AV: i="4.04,103,1144036800"; 
	d="scan'208"; a="31174612:sNHT51401552"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Sat, 8 Apr 2006 23:00:25 -0400
Message-ID: <330A23D8336C0346B5C1A5BB19666647029F55A5@ATLANTIS.Brooktrout.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] Issues around grammar lifetimes
Thread-Index: AcZPYaWeHb+8QdCQRt6quEJxWrCjeAMH65PQ
From: "Burger, Eric" <EBurger@cantata.com>
To: "Carter, Jerry" <jerry.carter@nuance.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 200d029292fbb60d25b263122ced50fc
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

>>> An MRCP server SHOULD retain grammars on each session created by a =
DEFINE-GRAMMAR message until at least the next RECOGNIZE.  It MAY retain =
grammars for much longer. <<<

Under what circumstance would an MRCP server *not* retain the grammar?  =
If you cannot think of one, and this is important, than an MRCP server =
MUST retain grammars until the next RECOGNIZE.  Conversely, if there are =
too many circumstances when the MRCP server would not retain the =
grammar, there is no point saying it should, because implementers will =
do whatever they want, anyway.

In general, if we have a statement that X SHOULD do Y, then in the same =
paragraph one needs to enumerate when X would NOT do Y.

________________________________________
From: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
Sent: Friday, March 24, 2006 11:25 AM
To: speechsc@ietf.org
Subject: [Speechsc] Issues around grammar lifetimes

Typically, an MRCP client will issue multiple DEFINE-GRAMMAR messages =
eventually followed by a RECOGNIZE.=A0 The MRCP client might reasonably =
expect that the defined grammars would be available when recognition is =
requested, but this does not appear to be guaranteed.=A0 Furthermore, I =
do not see any notification mechanism for informing the client of which =
grammars are unavailable.


There does not appear to be any language in section 9 that describes =
grammar lifetimes. =A0There is language in the session URI description =
(section 13.7) that might relate

=A0=A0=A0=A0=A0 The purpose
=A0=A0=A0=A0=A0 of this scheme is to permit access to the specific =
resource for
=A0=A0=A0=A0=A0 the lifetime of the session with the entity storing the =
resource.

but this is not a normative statement requiring availability for a =
session lifetime.=A0 In practice a MRCP server has a finite cache and =
may support multiple parallel sessions. =A0It is unreasonable to require =
that the MRCP server provision a sufficiently large cache to store all =
grammars across all sessions, particularly if sessions are long and =
employ large dynamic grammars.=A0 Such a requirement would render small =
footprint MRCP servers impossible.

If a grammar is flushed from the MRCP server's cache before RECOGNIZE, =
the notification mechanism is unclear.=A0 Presumably a completion cause =
of 'grammar-load-failure' would be returned.=A0 The server might want to =
return a list of URIs in the message but this would violate 9.4.12

=A0=A0 Clients SHOULD NOT interpret the completion reason text.=A0 =
Instead it
=A0=A0 is RECOMMENDED that the reason be recorded in client logs and
=A0=A0 otherwise made available for debugging and instrumentation =
purposes.
=20
and such an approach would need to be standardized.=A0 Additionally, a =
developer would like some assurance _before_ RECOGNIZE is invoked that =
all the loaded grammars are available.


Because MRCP servers have finite memory and caches, it is not reasonable =
to require that grammars be available on a session indefinitely after a =
DEFINE-GRAMMAR. =A0We might instead require that grammars have =
guaranteed availability on a session only until the next call to =
RECOGNIZE; this also breaks for the same reason.


Here is a solution that I believe works.

(1) An MRCP server SHOULD retain grammars on each session created by a =
DEFINE-GRAMMAR message until at least the next RECOGNIZE.=A0 It MAY =
retain grammars for much longer.

(2) DEFINE-GRAMMAR should support redefining grammars by passing the IDs =
without supplying the grammar definition.=A0 The text/grammar-ref-list =
media type might be appropriate for this purpose.

(3) A RECOGNIZE or a DEFINE-GRAMMAR returning a completion cause of =
either 'grammar-load-failure' or 'grammar-completion-failure' should =
include a CRLF separated list detailing the IDs which grammars did not =
load or compile.

(4) The text in 9.4.11 should support DEFINE-GRAMMAR returning =
'grammar-load-failure' and 'grammar-completion-failure'.

-------------------------

Under this proposal, the client might do the following:

DEFINE-GRAMMAR documentLevel1 (new definition)
DEFINE-GRAMMAR documentLevel2 (new definition)
DEFINE-GRAMMAR formLevel1 (new definition)
DEFINE-GRAMMAR fieldLevel1 (new definition)
RECOGNIZE

DEFINE-GRAMMAR documentLevel1 documentLevel2 formLevel1 (IDs only to =
reassert continued need)
DEFINE-GRAMMAR fieldLevel2 (new definition)
RECOGNIZE

-------------------------

Likewise, in the typical error case:

DEFINE-GRAMMAR documentLevel1 (new definition)
DEFINE-GRAMMAR documentLevel2 (new definition)
DEFINE-GRAMMAR formLevel1 (new definition)
DEFINE-GRAMMAR fieldLevel1 (new definition)
RECOGNIZE

<time passes during which documentLevel2 gets flushed from the server's =
cache>

DEFINE-GRAMMAR documentLevel1 documentLevel2 formLevel1 (only to =
reassert continued need; an error is returned indicating that =
documentLevel2 could not load)
DEFINE-GRAMMAR documentLevel2 (new definition)
DEFINE-GRAMMAR fieldLevel2 (new definition)
RECOGNIZE

-------------------------

Furthermore, if the client believes that the server has sufficient =
storage capabilities, the existing protocol may be followed.

DEFINE-GRAMMAR documentLevel1 (new definition)
DEFINE-GRAMMAR documentLevel2 (new definition)
DEFINE-GRAMMAR formLevel1 (new definition)
DEFINE-GRAMMAR fieldLevel1 (new definition)
RECOGNIZE

<time passes, but grammars are not flushed>

DEFINE-GRAMMAR documentLevel2 (new definition)
DEFINE-GRAMMAR fieldLevel2 (new definition)
RECOGNIZE

Here the client is taking a chance that RECOGNIZE will fail because a =
grammar is not available, but finds that an acceptable risk.=A0 Were =
RECOGNIZE to return with 'grammar-load-failure', the client would still =
be able to recover - though the user might experience some undesired =
latency.=20




_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 12 11:02:18 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTgrG-00050e-Tf; Wed, 12 Apr 2006 11:02:14 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTgrF-0004zI-NP
	for speechsc@ietf.org; Wed, 12 Apr 2006 11:02:13 -0400
Received: from stsc1260-eth-s1-s1p1-vip.va.neustar.com ([156.154.16.129]
	helo=chiedprmail1.ietf.org)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTgQC-0007oT-Hn
	for speechsc@ietf.org; Wed, 12 Apr 2006 10:34:16 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1FTgCA-0003Gj-Sa
	for speechsc@ietf.org; Wed, 12 Apr 2006 10:19:49 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Wed, 12 Apr 2006 10:20:31 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2M4LFWS5>; Wed, 12 Apr 2006 10:19:42 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03CF6837@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: "Burger, Eric" <EBurger@cantata.com>
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Wed, 12 Apr 2006 10:19:34 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.6 (--)
X-Scan-Signature: 325b777e1a3a618c889460b612a65510
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

As I discussed, MRCP servers have finite resources available.  When an =
MRCP
server is asked to track several large grammars, it may be necessary to
purge older grammars from cache to process new requests.  Consider this
case:

DEFINE-GRAMMAR Large_1=20
DEFINE-GRAMMAR Large_2
DEFINE-GRAMMAR Small_3
RECOGNIZE (against Large_1, Large_2, Small_3)
DEFINE-GRAMMAR Large_4
RECOGNIZE (against Large_4)
DEFINE-GRAMMAR Large_5
RECOGNIZE (against Large_5)
DEFINE-GRAMMAR Large_6
RECOGNIZE (against Large_1, Small_3, Large_6) << What happens?

The session starts and recognition occurs against several grammars.  =
The
second recognition (perhaps a modal VXML dialog) requires only a single
grammar.  Likewise, the third recognition (perhaps another modal VXML
dialog) requires only a single grammar.  For the final recognition, =
another
large grammar is required.  If the MRCP server is resource constrained, =
one
or more of the earlier grammars will be flushed from cache to make =
space for
the new grammar.  Let's assume that Large_1 gets flushed; the RECOGNIZE =
will
fail.

As I discussed, there is no language in the MRCP specification =
describing
grammar lifetimes nor do I see any notification mechanism that would
informing the client of which grammars are unavailable to permit a =
recovery.
I see this as a serious and significant deficiency.

For additional comments and a proposed solution, I refer back to the 24
March email.


> -----Original Message-----
> From: Burger, Eric [mailto:EBurger@cantata.com]
> Sent: Saturday, April 08, 2006 11:00 PM
> To: Carter, Jerry
> Cc: speechsc@ietf.org
> Subject: RE: [Speechsc] Issues around grammar lifetimes
>=20
> >>> An MRCP server SHOULD retain grammars on each session created by =
a
> DEFINE-GRAMMAR message until at least the next RECOGNIZE.  It MAY =
retain
> grammars for much longer. <<<
>=20
> Under what circumstance would an MRCP server *not* retain the =
grammar?  If
> you cannot think of one, and this is important, than an MRCP server =
MUST
> retain grammars until the next RECOGNIZE.  Conversely, if there are =
too
> many circumstances when the MRCP server would not retain the grammar,
> there is no point saying it should, because implementers will do =
whatever
> they want, anyway.
>=20
> In general, if we have a statement that X SHOULD do Y, then in the =
same
> paragraph one needs to enumerate when X would NOT do Y.
>=20
> ________________________________________
> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
> Sent: Friday, March 24, 2006 11:25 AM
> To: speechsc@ietf.org
> Subject: [Speechsc] Issues around grammar lifetimes
>=20
> Typically, an MRCP client will issue multiple DEFINE-GRAMMAR messages
> eventually followed by a RECOGNIZE.=A0 The MRCP client might =
reasonably
> expect that the defined grammars would be available when recognition =
is
> requested, but this does not appear to be guaranteed.=A0 Furthermore, =
I do
> not see any notification mechanism for informing the client of which
> grammars are unavailable.
>=20
>=20
> There does not appear to be any language in section 9 that describes
> grammar lifetimes. =A0There is language in the session URI =
description
> (section 13.7) that might relate
>=20
> =A0=A0=A0=A0=A0 The purpose
> =A0=A0=A0=A0=A0 of this scheme is to permit access to the specific =
resource for
> =A0=A0=A0=A0=A0 the lifetime of the session with the entity storing =
the resource.
>=20
> but this is not a normative statement requiring availability for a =
session
> lifetime.=A0 In practice a MRCP server has a finite cache and may =
support
> multiple parallel sessions. =A0It is unreasonable to require that the =
MRCP
> server provision a sufficiently large cache to store all grammars =
across
> all sessions, particularly if sessions are long and employ large =
dynamic
> grammars.=A0 Such a requirement would render small footprint MRCP =
servers
> impossible.
>=20
> If a grammar is flushed from the MRCP server's cache before =
RECOGNIZE, the
> notification mechanism is unclear.=A0 Presumably a completion cause =
of
> 'grammar-load-failure' would be returned.=A0 The server might want to =
return
> a list of URIs in the message but this would violate 9.4.12
>=20
> =A0=A0 Clients SHOULD NOT interpret the completion reason text.=A0 =
Instead it
> =A0=A0 is RECOMMENDED that the reason be recorded in client logs and
> =A0=A0 otherwise made available for debugging and instrumentation =
purposes.
>=20
> and such an approach would need to be standardized.=A0 Additionally, =
a
> developer would like some assurance _before_ RECOGNIZE is invoked =
that all
> the loaded grammars are available.
>=20
>=20
> Because MRCP servers have finite memory and caches, it is not =
reasonable
> to require that grammars be available on a session indefinitely after =
a
> DEFINE-GRAMMAR. =A0We might instead require that grammars have =
guaranteed
> availability on a session only until the next call to RECOGNIZE; this =
also
> breaks for the same reason.
>=20
>=20
> Here is a solution that I believe works.
>=20
> (1) An MRCP server SHOULD retain grammars on each session created by =
a
> DEFINE-GRAMMAR message until at least the next RECOGNIZE.=A0 It MAY =
retain
> grammars for much longer.
>=20
> (2) DEFINE-GRAMMAR should support redefining grammars by passing the =
IDs
> without supplying the grammar definition.=A0 The =
text/grammar-ref-list media
> type might be appropriate for this purpose.
>=20
> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a completion cause of =
either
> 'grammar-load-failure' or 'grammar-completion-failure' should include =
a
> CRLF separated list detailing the IDs which grammars did not load or
> compile.
>=20
> (4) The text in 9.4.11 should support DEFINE-GRAMMAR returning =
'grammar-
> load-failure' and 'grammar-completion-failure'.
>=20
> -------------------------
>=20
> Under this proposal, the client might do the following:
>=20
> DEFINE-GRAMMAR documentLevel1 (new definition)
> DEFINE-GRAMMAR documentLevel2 (new definition)
> DEFINE-GRAMMAR formLevel1 (new definition)
> DEFINE-GRAMMAR fieldLevel1 (new definition)
> RECOGNIZE
>=20
> DEFINE-GRAMMAR documentLevel1 documentLevel2 formLevel1 (IDs only to
> reassert continued need)
> DEFINE-GRAMMAR fieldLevel2 (new definition)
> RECOGNIZE
>=20
> -------------------------
>=20
> Likewise, in the typical error case:
>=20
> DEFINE-GRAMMAR documentLevel1 (new definition)
> DEFINE-GRAMMAR documentLevel2 (new definition)
> DEFINE-GRAMMAR formLevel1 (new definition)
> DEFINE-GRAMMAR fieldLevel1 (new definition)
> RECOGNIZE
>=20
> <time passes during which documentLevel2 gets flushed from the =
server's
> cache>
>=20
> DEFINE-GRAMMAR documentLevel1 documentLevel2 formLevel1 (only to =
reassert
> continued need; an error is returned indicating that documentLevel2 =
could
> not load)
> DEFINE-GRAMMAR documentLevel2 (new definition)
> DEFINE-GRAMMAR fieldLevel2 (new definition)
> RECOGNIZE
>=20
> -------------------------
>=20
> Furthermore, if the client believes that the server has sufficient =
storage
> capabilities, the existing protocol may be followed.
>=20
> DEFINE-GRAMMAR documentLevel1 (new definition)
> DEFINE-GRAMMAR documentLevel2 (new definition)
> DEFINE-GRAMMAR formLevel1 (new definition)
> DEFINE-GRAMMAR fieldLevel1 (new definition)
> RECOGNIZE
>=20
> <time passes, but grammars are not flushed>
>=20
> DEFINE-GRAMMAR documentLevel2 (new definition)
> DEFINE-GRAMMAR fieldLevel2 (new definition)
> RECOGNIZE
>=20
> Here the client is taking a chance that RECOGNIZE will fail because a
> grammar is not available, but finds that an acceptable risk.=A0 Were
> RECOGNIZE to return with 'grammar-load-failure', the client would =
still be
> able to recover - though the user might experience some undesired =
latency.
>=20


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 12 11:07:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTgvp-0007Ty-8L; Wed, 12 Apr 2006 11:06:57 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTgvo-0007TE-FM
	for speechsc@ietf.org; Wed, 12 Apr 2006 11:06:56 -0400
Received: from sj-iport-4.cisco.com ([171.68.10.86])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTgvn-0000ob-Rq
	for speechsc@ietf.org; Wed, 12 Apr 2006 11:06:56 -0400
Received: from sj-core-4.cisco.com ([171.68.223.138])
	by sj-iport-4.cisco.com with ESMTP; 12 Apr 2006 08:06:55 -0700
X-IronPort-AV: i="4.04,115,1144047600"; 
	d="scan'208"; a="1794268820:sNHT44433066"
Received: from imail.cisco.com (sjc12-sbr-sw3-3f5.cisco.com [172.19.96.182])
	by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k3CF6sYg009903;
	Wed, 12 Apr 2006 08:06:54 -0700 (PDT)
Received: from [10.32.245.155] (stealth-10-32-245-155.cisco.com
	[10.32.245.155])
	by imail.cisco.com (8.12.11/8.12.10) with SMTP id k3CF6XAd020758;
	Wed, 12 Apr 2006 08:06:34 -0700
In-Reply-To: <F8940C21CD563F49BC884A274C4653DF03CF6837@bn-exch1.speechworks.com>
References: <F8940C21CD563F49BC884A274C4653DF03CF6837@bn-exch1.speechworks.com>
Mime-Version: 1.0 (Apple Message framework v749.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <7F01B195-FDD6-463E-89A3-4FD201A0E092@cisco.com>
Content-Transfer-Encoding: 7bit
From: David R Oran <oran@cisco.com>
Subject: Re: [Speechsc] Issues around grammar lifetimes
Date: Wed, 12 Apr 2006 11:06:51 -0400
To: "Carter, Jerry" <jerry.carter@nuance.com>
X-Mailer: Apple Mail (2.749.3)
DKIM-Signature: a=rsa-sha1; q=dns; l=8625; t=1144854395; x=1145718395;
	c=relaxed/simple; s=oregon;
	h=To:Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=oran@cisco.com;
	z=From:David=20R=20Oran=20<oran@cisco.com>
	|Subject:Re=3A=20[Speechsc]=20Issues=20around=20grammar=20lifetimes
	|To:=22Carter,=20Jerry=22=20<jerry.carter@nuance.com>;
	X=v=3Dcisco.com=3B=20h=3DE/6qEBznFbAlnNwx3iugOtj/DRQ=3D;
	b=lMaCg2SCnRJtMCuRvzojdOhHL5MRlkkjMW8TWJa4/FWYZGYOMBQMFjd64heMq76seGA0kwXk
	u/njuFW2FN3dL5ZDU9Xc1OQpIriRr3T0EOL3cLEqomOzBSmIuywAiyxP;
Authentication-Results: imail.cisco.com; header.From=oran@cisco.com;
	dkim=pass ( sig from cisco.com verified; ); 
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 32029c790f79bd4a84a26bd2915c54b9
Cc: speechsc@ietf.org, "Burger, Eric" <EBurger@cantata.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

This strikes me as something that should not be exposed to the client  
unless there is really strong reason to believe that the client can  
do a better job of managing server resources than the server can itself.

Dave (chair hat off)

On Apr 12, 2006, at 10:19 AM, Carter, Jerry wrote:

> As I discussed, MRCP servers have finite resources available.  When  
> an MRCP
> server is asked to track several large grammars, it may be  
> necessary to
> purge older grammars from cache to process new requests.  Consider  
> this
> case:
>
> DEFINE-GRAMMAR Large_1
> DEFINE-GRAMMAR Large_2
> DEFINE-GRAMMAR Small_3
> RECOGNIZE (against Large_1, Large_2, Small_3)
> DEFINE-GRAMMAR Large_4
> RECOGNIZE (against Large_4)
> DEFINE-GRAMMAR Large_5
> RECOGNIZE (against Large_5)
> DEFINE-GRAMMAR Large_6
> RECOGNIZE (against Large_1, Small_3, Large_6) << What happens?
>
> The session starts and recognition occurs against several  
> grammars.  The
> second recognition (perhaps a modal VXML dialog) requires only a  
> single
> grammar.  Likewise, the third recognition (perhaps another modal VXML
> dialog) requires only a single grammar.  For the final recognition,  
> another
> large grammar is required.  If the MRCP server is resource  
> constrained, one
> or more of the earlier grammars will be flushed from cache to make  
> space for
> the new grammar.  Let's assume that Large_1 gets flushed; the  
> RECOGNIZE will
> fail.
>
> As I discussed, there is no language in the MRCP specification  
> describing
> grammar lifetimes nor do I see any notification mechanism that would
> informing the client of which grammars are unavailable to permit a  
> recovery.
> I see this as a serious and significant deficiency.
>
> For additional comments and a proposed solution, I refer back to  
> the 24
> March email.
>
>
>> -----Original Message-----
>> From: Burger, Eric [mailto:EBurger@cantata.com]
>> Sent: Saturday, April 08, 2006 11:00 PM
>> To: Carter, Jerry
>> Cc: speechsc@ietf.org
>> Subject: RE: [Speechsc] Issues around grammar lifetimes
>>
>>>>> An MRCP server SHOULD retain grammars on each session created by a
>> DEFINE-GRAMMAR message until at least the next RECOGNIZE.  It MAY  
>> retain
>> grammars for much longer. <<<
>>
>> Under what circumstance would an MRCP server *not* retain the  
>> grammar?  If
>> you cannot think of one, and this is important, than an MRCP  
>> server MUST
>> retain grammars until the next RECOGNIZE.  Conversely, if there  
>> are too
>> many circumstances when the MRCP server would not retain the grammar,
>> there is no point saying it should, because implementers will do  
>> whatever
>> they want, anyway.
>>
>> In general, if we have a statement that X SHOULD do Y, then in the  
>> same
>> paragraph one needs to enumerate when X would NOT do Y.
>>
>> ________________________________________
>> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
>> Sent: Friday, March 24, 2006 11:25 AM
>> To: speechsc@ietf.org
>> Subject: [Speechsc] Issues around grammar lifetimes
>>
>> Typically, an MRCP client will issue multiple DEFINE-GRAMMAR messages
>> eventually followed by a RECOGNIZE.  The MRCP client might reasonably
>> expect that the defined grammars would be available when  
>> recognition is
>> requested, but this does not appear to be guaranteed.   
>> Furthermore, I do
>> not see any notification mechanism for informing the client of which
>> grammars are unavailable.
>>
>>
>> There does not appear to be any language in section 9 that describes
>> grammar lifetimes.  There is language in the session URI description
>> (section 13.7) that might relate
>>
>>       The purpose
>>       of this scheme is to permit access to the specific resource for
>>       the lifetime of the session with the entity storing the  
>> resource.
>>
>> but this is not a normative statement requiring availability for a  
>> session
>> lifetime.  In practice a MRCP server has a finite cache and may  
>> support
>> multiple parallel sessions.  It is unreasonable to require that  
>> the MRCP
>> server provision a sufficiently large cache to store all grammars  
>> across
>> all sessions, particularly if sessions are long and employ large  
>> dynamic
>> grammars.  Such a requirement would render small footprint MRCP  
>> servers
>> impossible.
>>
>> If a grammar is flushed from the MRCP server's cache before  
>> RECOGNIZE, the
>> notification mechanism is unclear.  Presumably a completion cause of
>> 'grammar-load-failure' would be returned.  The server might want  
>> to return
>> a list of URIs in the message but this would violate 9.4.12
>>
>>    Clients SHOULD NOT interpret the completion reason text.   
>> Instead it
>>    is RECOMMENDED that the reason be recorded in client logs and
>>    otherwise made available for debugging and instrumentation  
>> purposes.
>>
>> and such an approach would need to be standardized.  Additionally, a
>> developer would like some assurance _before_ RECOGNIZE is invoked  
>> that all
>> the loaded grammars are available.
>>
>>
>> Because MRCP servers have finite memory and caches, it is not  
>> reasonable
>> to require that grammars be available on a session indefinitely  
>> after a
>> DEFINE-GRAMMAR.  We might instead require that grammars have  
>> guaranteed
>> availability on a session only until the next call to RECOGNIZE;  
>> this also
>> breaks for the same reason.
>>
>>
>> Here is a solution that I believe works.
>>
>> (1) An MRCP server SHOULD retain grammars on each session created  
>> by a
>> DEFINE-GRAMMAR message until at least the next RECOGNIZE.  It MAY  
>> retain
>> grammars for much longer.
>>
>> (2) DEFINE-GRAMMAR should support redefining grammars by passing  
>> the IDs
>> without supplying the grammar definition.  The text/grammar-ref- 
>> list media
>> type might be appropriate for this purpose.
>>
>> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a completion cause  
>> of either
>> 'grammar-load-failure' or 'grammar-completion-failure' should  
>> include a
>> CRLF separated list detailing the IDs which grammars did not load or
>> compile.
>>
>> (4) The text in 9.4.11 should support DEFINE-GRAMMAR returning  
>> 'grammar-
>> load-failure' and 'grammar-completion-failure'.
>>
>> -------------------------
>>
>> Under this proposal, the client might do the following:
>>
>> DEFINE-GRAMMAR documentLevel1 (new definition)
>> DEFINE-GRAMMAR documentLevel2 (new definition)
>> DEFINE-GRAMMAR formLevel1 (new definition)
>> DEFINE-GRAMMAR fieldLevel1 (new definition)
>> RECOGNIZE
>>
>> DEFINE-GRAMMAR documentLevel1 documentLevel2 formLevel1 (IDs only to
>> reassert continued need)
>> DEFINE-GRAMMAR fieldLevel2 (new definition)
>> RECOGNIZE
>>
>> -------------------------
>>
>> Likewise, in the typical error case:
>>
>> DEFINE-GRAMMAR documentLevel1 (new definition)
>> DEFINE-GRAMMAR documentLevel2 (new definition)
>> DEFINE-GRAMMAR formLevel1 (new definition)
>> DEFINE-GRAMMAR fieldLevel1 (new definition)
>> RECOGNIZE
>>
>> <time passes during which documentLevel2 gets flushed from the  
>> server's
>> cache>
>>
>> DEFINE-GRAMMAR documentLevel1 documentLevel2 formLevel1 (only to  
>> reassert
>> continued need; an error is returned indicating that  
>> documentLevel2 could
>> not load)
>> DEFINE-GRAMMAR documentLevel2 (new definition)
>> DEFINE-GRAMMAR fieldLevel2 (new definition)
>> RECOGNIZE
>>
>> -------------------------
>>
>> Furthermore, if the client believes that the server has sufficient  
>> storage
>> capabilities, the existing protocol may be followed.
>>
>> DEFINE-GRAMMAR documentLevel1 (new definition)
>> DEFINE-GRAMMAR documentLevel2 (new definition)
>> DEFINE-GRAMMAR formLevel1 (new definition)
>> DEFINE-GRAMMAR fieldLevel1 (new definition)
>> RECOGNIZE
>>
>> <time passes, but grammars are not flushed>
>>
>> DEFINE-GRAMMAR documentLevel2 (new definition)
>> DEFINE-GRAMMAR fieldLevel2 (new definition)
>> RECOGNIZE
>>
>> Here the client is taking a chance that RECOGNIZE will fail because a
>> grammar is not available, but finds that an acceptable risk.  Were
>> RECOGNIZE to return with 'grammar-load-failure', the client would  
>> still be
>> able to recover - though the user might experience some undesired  
>> latency.
>>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 12 11:13:43 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTh2N-00031y-2h; Wed, 12 Apr 2006 11:13:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTh2L-0002yW-L7
	for speechsc@ietf.org; Wed, 12 Apr 2006 11:13:41 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTh2L-0001I9-7M
	for speechsc@ietf.org; Wed, 12 Apr 2006 11:13:41 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Wed, 12 Apr 2006 11:14:24 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2M4LF53P>; Wed, 12 Apr 2006 11:13:35 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03CF699B@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: David R Oran <oran@cisco.com>
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Wed, 12 Apr 2006 11:13:32 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8d89ee9312a95de8ee48d1c94511f1bb
Cc: speechsc@ietf.org, "Burger, Eric" <EBurger@cantata.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

I'm not proposing that the client have control over grammar lifetimes.  I am
offering a notification and recovery proposal with clarifying language
describing server behavior.

Adding two lines to the example,

DEFINE-GRAMMAR Large_1
DEFINE-GRAMMAR Large_2
DEFINE-GRAMMAR Small_3
RECOGNIZE (against Large_1, Large_2, Small_3)
DEFINE-GRAMMAR Large_4
RECOGNIZE (against Large_4)
DEFINE-GRAMMAR Large_5
RECOGNIZE (against Large_5)
DEFINE-GRAMMAR Large_6
RECOGNIZE (against Large_1, Small_3, Large_6)  [FAILS]
DEFINE-GRAMMAR Large_1
RECOGNIZE (against Large_1, Small_3, Large_6)  [SUCCEEDS]

if the client knows what grammars are unavailable, recovery via
re-DEFINE-GRAMMAR is possible.

As waiting until RECOGNIZE is usually too late, the original email discusses
use of DEFINE-GRAMMAR to signal continued interest without passing the
entire grammar definition over the wire.

> -----Original Message-----
> From: David R Oran [mailto:oran@cisco.com]
> Sent: Wednesday, April 12, 2006 11:07 AM
> To: Carter, Jerry
> Cc: Burger, Eric; speechsc@ietf.org
> Subject: Re: [Speechsc] Issues around grammar lifetimes
> 
> This strikes me as something that should not be exposed to the client
> unless there is really strong reason to believe that the client can
> do a better job of managing server resources than the server can itself.
> 
> Dave (chair hat off)
> 
> On Apr 12, 2006, at 10:19 AM, Carter, Jerry wrote:
> 
> > As I discussed, MRCP servers have finite resources available.  When
> > an MRCP
> > server is asked to track several large grammars, it may be
> > necessary to
> > purge older grammars from cache to process new requests.  Consider
> > this
> > case:
> >
> > DEFINE-GRAMMAR Large_1
> > DEFINE-GRAMMAR Large_2
> > DEFINE-GRAMMAR Small_3
> > RECOGNIZE (against Large_1, Large_2, Small_3)
> > DEFINE-GRAMMAR Large_4
> > RECOGNIZE (against Large_4)
> > DEFINE-GRAMMAR Large_5
> > RECOGNIZE (against Large_5)
> > DEFINE-GRAMMAR Large_6
> > RECOGNIZE (against Large_1, Small_3, Large_6) << What happens?
> >
> > The session starts and recognition occurs against several
> > grammars.  The
> > second recognition (perhaps a modal VXML dialog) requires only a
> > single
> > grammar.  Likewise, the third recognition (perhaps another modal VXML
> > dialog) requires only a single grammar.  For the final recognition,
> > another
> > large grammar is required.  If the MRCP server is resource
> > constrained, one
> > or more of the earlier grammars will be flushed from cache to make
> > space for
> > the new grammar.  Let's assume that Large_1 gets flushed; the
> > RECOGNIZE will
> > fail.
> >
> > As I discussed, there is no language in the MRCP specification
> > describing
> > grammar lifetimes nor do I see any notification mechanism that would
> > informing the client of which grammars are unavailable to permit a
> > recovery.
> > I see this as a serious and significant deficiency.
> >
> > For additional comments and a proposed solution, I refer back to
> > the 24
> > March email.
> >
> >
> >> -----Original Message-----
> >> From: Burger, Eric [mailto:EBurger@cantata.com]
> >> Sent: Saturday, April 08, 2006 11:00 PM
> >> To: Carter, Jerry
> >> Cc: speechsc@ietf.org
> >> Subject: RE: [Speechsc] Issues around grammar lifetimes
> >>
> >>>>> An MRCP server SHOULD retain grammars on each session created by a
> >> DEFINE-GRAMMAR message until at least the next RECOGNIZE.  It MAY
> >> retain
> >> grammars for much longer. <<<
> >>
> >> Under what circumstance would an MRCP server *not* retain the
> >> grammar?  If
> >> you cannot think of one, and this is important, than an MRCP
> >> server MUST
> >> retain grammars until the next RECOGNIZE.  Conversely, if there
> >> are too
> >> many circumstances when the MRCP server would not retain the grammar,
> >> there is no point saying it should, because implementers will do
> >> whatever
> >> they want, anyway.
> >>
> >> In general, if we have a statement that X SHOULD do Y, then in the
> >> same
> >> paragraph one needs to enumerate when X would NOT do Y.
> >>
> >> ________________________________________
> >> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
> >> Sent: Friday, March 24, 2006 11:25 AM
> >> To: speechsc@ietf.org
> >> Subject: [Speechsc] Issues around grammar lifetimes
> >>
> >> Typically, an MRCP client will issue multiple DEFINE-GRAMMAR messages
> >> eventually followed by a RECOGNIZE.  The MRCP client might reasonably
> >> expect that the defined grammars would be available when
> >> recognition is
> >> requested, but this does not appear to be guaranteed.
> >> Furthermore, I do
> >> not see any notification mechanism for informing the client of which
> >> grammars are unavailable.
> >>
> >>
> >> There does not appear to be any language in section 9 that describes
> >> grammar lifetimes.  There is language in the session URI description
> >> (section 13.7) that might relate
> >>
> >>       The purpose
> >>       of this scheme is to permit access to the specific resource for
> >>       the lifetime of the session with the entity storing the
> >> resource.
> >>
> >> but this is not a normative statement requiring availability for a
> >> session
> >> lifetime.  In practice a MRCP server has a finite cache and may
> >> support
> >> multiple parallel sessions.  It is unreasonable to require that
> >> the MRCP
> >> server provision a sufficiently large cache to store all grammars
> >> across
> >> all sessions, particularly if sessions are long and employ large
> >> dynamic
> >> grammars.  Such a requirement would render small footprint MRCP
> >> servers
> >> impossible.
> >>
> >> If a grammar is flushed from the MRCP server's cache before
> >> RECOGNIZE, the
> >> notification mechanism is unclear.  Presumably a completion cause of
> >> 'grammar-load-failure' would be returned.  The server might want
> >> to return
> >> a list of URIs in the message but this would violate 9.4.12
> >>
> >>    Clients SHOULD NOT interpret the completion reason text.
> >> Instead it
> >>    is RECOMMENDED that the reason be recorded in client logs and
> >>    otherwise made available for debugging and instrumentation
> >> purposes.
> >>
> >> and such an approach would need to be standardized.  Additionally, a
> >> developer would like some assurance _before_ RECOGNIZE is invoked
> >> that all
> >> the loaded grammars are available.
> >>
> >>
> >> Because MRCP servers have finite memory and caches, it is not
> >> reasonable
> >> to require that grammars be available on a session indefinitely
> >> after a
> >> DEFINE-GRAMMAR.  We might instead require that grammars have
> >> guaranteed
> >> availability on a session only until the next call to RECOGNIZE;
> >> this also
> >> breaks for the same reason.
> >>
> >>
> >> Here is a solution that I believe works.
> >>
> >> (1) An MRCP server SHOULD retain grammars on each session created
> >> by a
> >> DEFINE-GRAMMAR message until at least the next RECOGNIZE.  It MAY
> >> retain
> >> grammars for much longer.
> >>
> >> (2) DEFINE-GRAMMAR should support redefining grammars by passing
> >> the IDs
> >> without supplying the grammar definition.  The text/grammar-ref-
> >> list media
> >> type might be appropriate for this purpose.
> >>
> >> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a completion cause
> >> of either
> >> 'grammar-load-failure' or 'grammar-completion-failure' should
> >> include a
> >> CRLF separated list detailing the IDs which grammars did not load or
> >> compile.
> >>
> >> (4) The text in 9.4.11 should support DEFINE-GRAMMAR returning
> >> 'grammar-
> >> load-failure' and 'grammar-completion-failure'.
> >>
> >> -------------------------
> >>
> >> Under this proposal, the client might do the following:
> >>
> >> DEFINE-GRAMMAR documentLevel1 (new definition)
> >> DEFINE-GRAMMAR documentLevel2 (new definition)
> >> DEFINE-GRAMMAR formLevel1 (new definition)
> >> DEFINE-GRAMMAR fieldLevel1 (new definition)
> >> RECOGNIZE
> >>
> >> DEFINE-GRAMMAR documentLevel1 documentLevel2 formLevel1 (IDs only to
> >> reassert continued need)
> >> DEFINE-GRAMMAR fieldLevel2 (new definition)
> >> RECOGNIZE
> >>
> >> -------------------------
> >>
> >> Likewise, in the typical error case:
> >>
> >> DEFINE-GRAMMAR documentLevel1 (new definition)
> >> DEFINE-GRAMMAR documentLevel2 (new definition)
> >> DEFINE-GRAMMAR formLevel1 (new definition)
> >> DEFINE-GRAMMAR fieldLevel1 (new definition)
> >> RECOGNIZE
> >>
> >> <time passes during which documentLevel2 gets flushed from the
> >> server's
> >> cache>
> >>
> >> DEFINE-GRAMMAR documentLevel1 documentLevel2 formLevel1 (only to
> >> reassert
> >> continued need; an error is returned indicating that
> >> documentLevel2 could
> >> not load)
> >> DEFINE-GRAMMAR documentLevel2 (new definition)
> >> DEFINE-GRAMMAR fieldLevel2 (new definition)
> >> RECOGNIZE
> >>
> >> -------------------------
> >>
> >> Furthermore, if the client believes that the server has sufficient
> >> storage
> >> capabilities, the existing protocol may be followed.
> >>
> >> DEFINE-GRAMMAR documentLevel1 (new definition)
> >> DEFINE-GRAMMAR documentLevel2 (new definition)
> >> DEFINE-GRAMMAR formLevel1 (new definition)
> >> DEFINE-GRAMMAR fieldLevel1 (new definition)
> >> RECOGNIZE
> >>
> >> <time passes, but grammars are not flushed>
> >>
> >> DEFINE-GRAMMAR documentLevel2 (new definition)
> >> DEFINE-GRAMMAR fieldLevel2 (new definition)
> >> RECOGNIZE
> >>
> >> Here the client is taking a chance that RECOGNIZE will fail because a
> >> grammar is not available, but finds that an acceptable risk.  Were
> >> RECOGNIZE to return with 'grammar-load-failure', the client would
> >> still be
> >> able to recover - though the user might experience some undesired
> >> latency.
> >>
> >
> >
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org
> > https://www1.ietf.org/mailman/listinfo/speechsc

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 12 18:03:06 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTnQX-0002NA-Vb; Wed, 12 Apr 2006 18:03:05 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTnQX-0002N5-8c
	for speechsc@ietf.org; Wed, 12 Apr 2006 18:03:05 -0400
Received: from mail02.corp.tellme.com ([209.157.157.101])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTnQW-0002Pv-17
	for speechsc@ietf.org; Wed, 12 Apr 2006 18:03:05 -0400
Received: from mail02.corp.tellme.com (localhost [127.0.0.1])
	by localhost.corp.tellme.com (Postfix) with ESMTP id EB15E3513
	for <speechsc@ietf.org>; Wed, 12 Apr 2006 15:03:02 -0700 (PDT)
Received: from EXM01.sea.tellme.com (exmcn-mv-01.sea.tellme.com [172.21.15.11])
	by mail02.corp.tellme.com (Postfix) with ESMTP id C35F93511
	for <speechsc@ietf.org>; Wed, 12 Apr 2006 15:03:02 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 12 Apr 2006 15:02:34 -0700
Message-ID: <EA6AA882248CA544AF239ABD339D9F11089F9B@EXM01.sea.tellme.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Vendor-Specific Parameters in Recognize command
Thread-Index: AcZeQ8sZkg3kUIMAQg+OGW3/QvqRBwAOF7dQ
From: "Karthik Ramakrishnan" <karthik@tellme.com>
To: <speechsc@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7aefe408d50e9c7c47615841cb314bed
Subject: [Speechsc] Vendor-Specific Parameters in Recognize command
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

I have read past posts which discuss if the Vendor-Specific-Parameters
header is going be allowed in the RECOGNIZE & SPEAK commands in addition
to GET & SPEAK. Is this something that will be included in next draft of
the spec? Thank you,=20

-k


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 12 19:18:50 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTobo-0001eF-3A; Wed, 12 Apr 2006 19:18:48 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTobn-0001eA-2w
	for speechsc@ietf.org; Wed, 12 Apr 2006 19:18:47 -0400
Received: from sj-iport-4.cisco.com ([171.68.10.86])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTobm-0004VU-Cp
	for speechsc@ietf.org; Wed, 12 Apr 2006 19:18:47 -0400
Received: from sj-core-3.cisco.com ([171.68.223.137])
	by sj-iport-4.cisco.com with ESMTP; 12 Apr 2006 16:18:46 -0700
X-IronPort-AV: i="4.04,116,1144047600"; 
	d="scan'208"; a="1794444829:sNHT37233238"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-3.cisco.com (8.12.10/8.12.6) with ESMTP id k3CNIjVI026742;
	Wed, 12 Apr 2006 16:18:45 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Wed, 12 Apr 2006 16:18:44 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE404A5@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] Issues around grammar lifetimes
Thread-Index: AcZeRE1GVt96w0jET72BiQDORLO8AwAPcMuQ
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Carter, Jerry" <jerry.carter@nuance.com>, "David R Oran" <oran@cisco.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: bc102ac530ba955ef81f1f75b8bebe44
Cc: speechsc@ietf.org, "Burger, Eric" <EBurger@cantata.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org


The main purpose of the DEFINE-GRAMMAR was to give the MRCP server an
opportunity to define and compile inline-grammar blocks that might be
specified and reused multiple times in a RECOGNIZE. Such grammars are
associated with a "session:" URI and is expected to be accessible for
the life of the session. The "lifetime of the session" was specifically
meant for such inline-grammar blocks. This grammar SHOULD NOT be in
"Cache" but in storage associated with the session and are not
"cachedout" though they could be redefined by another DEFINE-GRAMMAR
operation which redefines the "session:" URI with a  new block of
inline-grammar.

Additionally, the DEFINE-GRAMMAR is alo expected to fetch and compile
external URI based grammars which gives the client to make sure the
grammar is accessible to the MRCP server and also compilable. Once
compiled such grammar are placed in the "Cache". Such grammars may be
cached out by other DEFINE-GRAMMAR/RECOGNIZE methods. The implementation
and management of this cache is upto the MRCP server. It could choose to
cache only the grammar or a compilation of the grammar.

Also, note that for inline grammars associated with "session:" URI
refered in the first paragraph, the inline grammar block could them
selves have references to external grammar URI. The server MUST store
the grammar block associated with the "session:" URI for the life of the
session. But it is not a MUST for the server to store all external URI
grammars referenced from within the "session:" inline grammar block. But
note that all external grammar URI references(even those embedded within
inline grammar blocks assocaited with "session:" URI) have to follow the
Caching Parameters.

Sarvi  =20

     -----Original Message-----
     From: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
     Sent: Wednesday, April 12, 2006 8:14 AM
     To: David R Oran
     Cc: speechsc@ietf.org; Burger, Eric
     Subject: RE: [Speechsc] Issues around grammar lifetimes
    =20
     I'm not proposing that the client have control over=20
     grammar lifetimes.  I am offering a notification and=20
     recovery proposal with clarifying language describing=20
     server behavior.
    =20
     Adding two lines to the example,
    =20
     DEFINE-GRAMMAR Large_1
     DEFINE-GRAMMAR Large_2
     DEFINE-GRAMMAR Small_3
     RECOGNIZE (against Large_1, Large_2, Small_3)=20
     DEFINE-GRAMMAR Large_4 RECOGNIZE (against Large_4)=20
     DEFINE-GRAMMAR Large_5 RECOGNIZE (against Large_5)=20
     DEFINE-GRAMMAR Large_6 RECOGNIZE (against Large_1,=20
     Small_3, Large_6)  [FAILS] DEFINE-GRAMMAR Large_1=20
     RECOGNIZE (against Large_1, Small_3, Large_6)  [SUCCEEDS]
    =20
     if the client knows what grammars are unavailable,=20
     recovery via re-DEFINE-GRAMMAR is possible.
    =20
     As waiting until RECOGNIZE is usually too late, the=20
     original email discusses use of DEFINE-GRAMMAR to signal=20
     continued interest without passing the entire grammar=20
     definition over the wire.
    =20
     > -----Original Message-----
     > From: David R Oran [mailto:oran@cisco.com]
     > Sent: Wednesday, April 12, 2006 11:07 AM
     > To: Carter, Jerry
     > Cc: Burger, Eric; speechsc@ietf.org
     > Subject: Re: [Speechsc] Issues around grammar lifetimes
     >=20
     > This strikes me as something that should not be exposed=20
     to the client=20
     > unless there is really strong reason to believe that the=20
     client can do=20
     > a better job of managing server resources than the=20
     server can itself.
     >=20
     > Dave (chair hat off)
     >=20
     > On Apr 12, 2006, at 10:19 AM, Carter, Jerry wrote:
     >=20
     > > As I discussed, MRCP servers have finite resources=20
     available.  When=20
     > > an MRCP server is asked to track several large=20
     grammars, it may be=20
     > > necessary to purge older grammars from cache to process new=20
     > > requests.  Consider this
     > > case:
     > >
     > > DEFINE-GRAMMAR Large_1
     > > DEFINE-GRAMMAR Large_2
     > > DEFINE-GRAMMAR Small_3
     > > RECOGNIZE (against Large_1, Large_2, Small_3)=20
     DEFINE-GRAMMAR Large_4=20
     > > RECOGNIZE (against Large_4) DEFINE-GRAMMAR Large_5 RECOGNIZE=20
     > > (against Large_5) DEFINE-GRAMMAR Large_6 RECOGNIZE=20
     (against Large_1,=20
     > > Small_3, Large_6) << What happens?
     > >
     > > The session starts and recognition occurs against=20
     several grammars. =20
     > > The second recognition (perhaps a modal VXML dialog)=20
     requires only a=20
     > > single grammar.  Likewise, the third recognition=20
     (perhaps another=20
     > > modal VXML
     > > dialog) requires only a single grammar.  For the final=20
     recognition,=20
     > > another large grammar is required.  If the MRCP server=20
     is resource=20
     > > constrained, one or more of the earlier grammars will=20
     be flushed=20
     > > from cache to make space for the new grammar.  Let's=20
     assume that=20
     > > Large_1 gets flushed; the RECOGNIZE will fail.
     > >
     > > As I discussed, there is no language in the MRCP specification=20
     > > describing grammar lifetimes nor do I see any=20
     notification mechanism=20
     > > that would informing the client of which grammars are=20
     unavailable to=20
     > > permit a recovery.
     > > I see this as a serious and significant deficiency.
     > >
     > > For additional comments and a proposed solution, I=20
     refer back to the=20
     > > 24 March email.
     > >
     > >
     > >> -----Original Message-----
     > >> From: Burger, Eric [mailto:EBurger@cantata.com]
     > >> Sent: Saturday, April 08, 2006 11:00 PM
     > >> To: Carter, Jerry
     > >> Cc: speechsc@ietf.org
     > >> Subject: RE: [Speechsc] Issues around grammar lifetimes
     > >>
     > >>>>> An MRCP server SHOULD retain grammars on each=20
     session created by=20
     > >>>>> a
     > >> DEFINE-GRAMMAR message until at least the next=20
     RECOGNIZE.  It MAY=20
     > >> retain grammars for much longer. <<<
     > >>
     > >> Under what circumstance would an MRCP server *not* retain the=20
     > >> grammar?  If you cannot think of one, and this is=20
     important, than=20
     > >> an MRCP server MUST retain grammars until the next=20
     RECOGNIZE. =20
     > >> Conversely, if there are too many circumstances when the MRCP=20
     > >> server would not retain the grammar, there is no=20
     point saying it=20
     > >> should, because implementers will do whatever they=20
     want, anyway.
     > >>
     > >> In general, if we have a statement that X SHOULD do=20
     Y, then in the=20
     > >> same paragraph one needs to enumerate when X would NOT do Y.
     > >>
     > >> ________________________________________
     > >> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
     > >> Sent: Friday, March 24, 2006 11:25 AM
     > >> To: speechsc@ietf.org
     > >> Subject: [Speechsc] Issues around grammar lifetimes
     > >>
     > >> Typically, an MRCP client will issue multiple DEFINE-GRAMMAR=20
     > >> messages eventually followed by a RECOGNIZE.  The=20
     MRCP client might=20
     > >> reasonably expect that the defined grammars would be=20
     available when=20
     > >> recognition is requested, but this does not appear to be=20
     > >> guaranteed.
     > >> Furthermore, I do
     > >> not see any notification mechanism for informing the=20
     client of=20
     > >> which grammars are unavailable.
     > >>
     > >>
     > >> There does not appear to be any language in section 9 that=20
     > >> describes grammar lifetimes.  There is language in=20
     the session URI=20
     > >> description (section 13.7) that might relate
     > >>
     > >>       The purpose
     > >>       of this scheme is to permit access to the=20
     specific resource for
     > >>       the lifetime of the session with the entity storing the=20
     > >> resource.
     > >>
     > >> but this is not a normative statement requiring=20
     availability for a=20
     > >> session lifetime.  In practice a MRCP server has a=20
     finite cache and=20
     > >> may support multiple parallel sessions.  It is=20
     unreasonable to=20
     > >> require that the MRCP server provision a sufficiently=20
     large cache=20
     > >> to store all grammars across all sessions,=20
     particularly if sessions=20
     > >> are long and employ large dynamic grammars.  Such a=20
     requirement=20
     > >> would render small footprint MRCP servers impossible.
     > >>
     > >> If a grammar is flushed from the MRCP server's cache before=20
     > >> RECOGNIZE, the notification mechanism is unclear. =20
     Presumably a=20
     > >> completion cause of 'grammar-load-failure' would be=20
     returned.  The=20
     > >> server might want to return a list of URIs in the=20
     message but this=20
     > >> would violate 9.4.12
     > >>
     > >>    Clients SHOULD NOT interpret the completion reason text.
     > >> Instead it
     > >>    is RECOMMENDED that the reason be recorded in=20
     client logs and
     > >>    otherwise made available for debugging and instrumentation=20
     > >> purposes.
     > >>
     > >> and such an approach would need to be standardized. =20
     Additionally,=20
     > >> a developer would like some assurance _before_=20
     RECOGNIZE is invoked=20
     > >> that all the loaded grammars are available.
     > >>
     > >>
     > >> Because MRCP servers have finite memory and caches, it is not=20
     > >> reasonable to require that grammars be available on a session=20
     > >> indefinitely after a DEFINE-GRAMMAR.  We might=20
     instead require that=20
     > >> grammars have guaranteed availability on a session=20
     only until the=20
     > >> next call to RECOGNIZE; this also breaks for the same reason.
     > >>
     > >>
     > >> Here is a solution that I believe works.
     > >>
     > >> (1) An MRCP server SHOULD retain grammars on each=20
     session created=20
     > >> by a DEFINE-GRAMMAR message until at least the next=20
     RECOGNIZE.  It=20
     > >> MAY retain grammars for much longer.
     > >>
     > >> (2) DEFINE-GRAMMAR should support redefining grammars=20
     by passing=20
     > >> the IDs without supplying the grammar definition.  The=20
     > >> text/grammar-ref- list media type might be=20
     appropriate for this=20
     > >> purpose.
     > >>
     > >> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a=20
     completion cause of=20
     > >> either 'grammar-load-failure' or 'grammar-completion-failure'=20
     > >> should include a CRLF separated list detailing the IDs which=20
     > >> grammars did not load or compile.
     > >>
     > >> (4) The text in 9.4.11 should support DEFINE-GRAMMAR returning
     > >> 'grammar-
     > >> load-failure' and 'grammar-completion-failure'.
     > >>
     > >> -------------------------
     > >>
     > >> Under this proposal, the client might do the following:
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR=20
     > >> documentLevel2 (new definition) DEFINE-GRAMMAR=20
     formLevel1 (new=20
     > >> definition) DEFINE-GRAMMAR fieldLevel1 (new=20
     definition) RECOGNIZE
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 documentLevel2=20
     formLevel1 (IDs only=20
     > >> to reassert continued need) DEFINE-GRAMMAR fieldLevel2 (new=20
     > >> definition) RECOGNIZE
     > >>
     > >> -------------------------
     > >>
     > >> Likewise, in the typical error case:
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR=20
     > >> documentLevel2 (new definition) DEFINE-GRAMMAR=20
     formLevel1 (new=20
     > >> definition) DEFINE-GRAMMAR fieldLevel1 (new=20
     definition) RECOGNIZE
     > >>
     > >> <time passes during which documentLevel2 gets flushed=20
     from the=20
     > >> server's
     > >> cache>
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 documentLevel2=20
     formLevel1 (only to=20
     > >> reassert continued need; an error is returned indicating that
     > >> documentLevel2 could
     > >> not load)
     > >> DEFINE-GRAMMAR documentLevel2 (new definition) DEFINE-GRAMMAR=20
     > >> fieldLevel2 (new definition) RECOGNIZE
     > >>
     > >> -------------------------
     > >>
     > >> Furthermore, if the client believes that the server=20
     has sufficient=20
     > >> storage capabilities, the existing protocol may be followed.
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR=20
     > >> documentLevel2 (new definition) DEFINE-GRAMMAR=20
     formLevel1 (new=20
     > >> definition) DEFINE-GRAMMAR fieldLevel1 (new=20
     definition) RECOGNIZE
     > >>
     > >> <time passes, but grammars are not flushed>
     > >>
     > >> DEFINE-GRAMMAR documentLevel2 (new definition) DEFINE-GRAMMAR=20
     > >> fieldLevel2 (new definition) RECOGNIZE
     > >>
     > >> Here the client is taking a chance that RECOGNIZE=20
     will fail because=20
     > >> a grammar is not available, but finds that an=20
     acceptable risk. =20
     > >> Were RECOGNIZE to return with 'grammar-load-failure',=20
     the client=20
     > >> would still be able to recover - though the user=20
     might experience=20
     > >> some undesired latency.
     > >>
     > >
     > >
     > > _______________________________________________
     > > Speechsc mailing list
     > > Speechsc@ietf.org
     > > https://www1.ietf.org/mailman/listinfo/speechsc
    =20
     _______________________________________________
     Speechsc mailing list
     Speechsc@ietf.org
     https://www1.ietf.org/mailman/listinfo/speechsc
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 12 19:30:33 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTon9-00053Z-Mj; Wed, 12 Apr 2006 19:30:31 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTon9-00053U-85
	for speechsc@ietf.org; Wed, 12 Apr 2006 19:30:31 -0400
Received: from sj-iport-4.cisco.com ([171.68.10.86])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTon8-0004kh-KF
	for speechsc@ietf.org; Wed, 12 Apr 2006 19:30:31 -0400
Received: from sj-core-4.cisco.com ([171.68.223.138])
	by sj-iport-4.cisco.com with ESMTP; 12 Apr 2006 16:30:30 -0700
X-IronPort-AV: i="4.04,116,1144047600"; 
	d="scan'208"; a="1794446950:sNHT36209412"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k3CNUTYg005703;
	Wed, 12 Apr 2006 16:30:30 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Wed, 12 Apr 2006 16:30:29 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE404A9@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] Issues around grammar lifetimes
Thread-Index: AcZeRE1GVt96w0jET72BiQDORLO8AwAQ0EtA
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Carter, Jerry" <jerry.carter@nuance.com>, "David R Oran" <oran@cisco.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 913ee11e7c554f7d4da75d500826397e
Cc: speechsc@ietf.org, "Burger, Eric" <EBurger@cantata.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

I sent an earlier response talking about the difference between grammar
storage for inline-grammars associated  "session:" URI and grammar cache
for external URI reference.=20

We could simply clarify that when an "session:" URI is defined, compiled
and stored, any external URI references within it are also downloaded
and compile and stored(NOT cached) for the lifetime of the "session:"
URI, which is the life of the session.

Even in this case, when that particular "session:" URI is re-defined
through a DEFINE-GRAMMAr method, and the external URI in the new inline
block are loaded/stored and the external gramars previously
loaded/stored are removed. Where such external grammars are
loaded/stored, whether in cache or a separate storage is totally up to
the server implementation.

Thx,
Sarvi =20

     -----Original Message-----
     From: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
     Sent: Wednesday, April 12, 2006 8:14 AM
     To: David R Oran
     Cc: speechsc@ietf.org; Burger, Eric
     Subject: RE: [Speechsc] Issues around grammar lifetimes
    =20
     I'm not proposing that the client have control over=20
     grammar lifetimes.  I am offering a notification and=20
     recovery proposal with clarifying language describing=20
     server behavior.
    =20
     Adding two lines to the example,
    =20
     DEFINE-GRAMMAR Large_1
     DEFINE-GRAMMAR Large_2
     DEFINE-GRAMMAR Small_3
     RECOGNIZE (against Large_1, Large_2, Small_3)=20
     DEFINE-GRAMMAR Large_4 RECOGNIZE (against Large_4)=20
     DEFINE-GRAMMAR Large_5 RECOGNIZE (against Large_5)=20
     DEFINE-GRAMMAR Large_6 RECOGNIZE (against Large_1,=20
     Small_3, Large_6)  [FAILS] DEFINE-GRAMMAR Large_1=20
     RECOGNIZE (against Large_1, Small_3, Large_6)  [SUCCEEDS]
    =20
     if the client knows what grammars are unavailable,=20
     recovery via re-DEFINE-GRAMMAR is possible.
    =20
     As waiting until RECOGNIZE is usually too late, the=20
     original email discusses use of DEFINE-GRAMMAR to signal=20
     continued interest without passing the entire grammar=20
     definition over the wire.
    =20
     > -----Original Message-----
     > From: David R Oran [mailto:oran@cisco.com]
     > Sent: Wednesday, April 12, 2006 11:07 AM
     > To: Carter, Jerry
     > Cc: Burger, Eric; speechsc@ietf.org
     > Subject: Re: [Speechsc] Issues around grammar lifetimes
     >=20
     > This strikes me as something that should not be exposed=20
     to the client=20
     > unless there is really strong reason to believe that the=20
     client can do=20
     > a better job of managing server resources than the=20
     server can itself.
     >=20
     > Dave (chair hat off)
     >=20
     > On Apr 12, 2006, at 10:19 AM, Carter, Jerry wrote:
     >=20
     > > As I discussed, MRCP servers have finite resources=20
     available.  When=20
     > > an MRCP server is asked to track several large=20
     grammars, it may be=20
     > > necessary to purge older grammars from cache to process new=20
     > > requests.  Consider this
     > > case:
     > >
     > > DEFINE-GRAMMAR Large_1
     > > DEFINE-GRAMMAR Large_2
     > > DEFINE-GRAMMAR Small_3
     > > RECOGNIZE (against Large_1, Large_2, Small_3)=20
     DEFINE-GRAMMAR Large_4=20
     > > RECOGNIZE (against Large_4) DEFINE-GRAMMAR Large_5 RECOGNIZE=20
     > > (against Large_5) DEFINE-GRAMMAR Large_6 RECOGNIZE=20
     (against Large_1,=20
     > > Small_3, Large_6) << What happens?
     > >
     > > The session starts and recognition occurs against=20
     several grammars. =20
     > > The second recognition (perhaps a modal VXML dialog)=20
     requires only a=20
     > > single grammar.  Likewise, the third recognition=20
     (perhaps another=20
     > > modal VXML
     > > dialog) requires only a single grammar.  For the final=20
     recognition,=20
     > > another large grammar is required.  If the MRCP server=20
     is resource=20
     > > constrained, one or more of the earlier grammars will=20
     be flushed=20
     > > from cache to make space for the new grammar.  Let's=20
     assume that=20
     > > Large_1 gets flushed; the RECOGNIZE will fail.
     > >
     > > As I discussed, there is no language in the MRCP specification=20
     > > describing grammar lifetimes nor do I see any=20
     notification mechanism=20
     > > that would informing the client of which grammars are=20
     unavailable to=20
     > > permit a recovery.
     > > I see this as a serious and significant deficiency.
     > >
     > > For additional comments and a proposed solution, I=20
     refer back to the=20
     > > 24 March email.
     > >
     > >
     > >> -----Original Message-----
     > >> From: Burger, Eric [mailto:EBurger@cantata.com]
     > >> Sent: Saturday, April 08, 2006 11:00 PM
     > >> To: Carter, Jerry
     > >> Cc: speechsc@ietf.org
     > >> Subject: RE: [Speechsc] Issues around grammar lifetimes
     > >>
     > >>>>> An MRCP server SHOULD retain grammars on each=20
     session created by=20
     > >>>>> a
     > >> DEFINE-GRAMMAR message until at least the next=20
     RECOGNIZE.  It MAY=20
     > >> retain grammars for much longer. <<<
     > >>
     > >> Under what circumstance would an MRCP server *not* retain the=20
     > >> grammar?  If you cannot think of one, and this is=20
     important, than=20
     > >> an MRCP server MUST retain grammars until the next=20
     RECOGNIZE. =20
     > >> Conversely, if there are too many circumstances when the MRCP=20
     > >> server would not retain the grammar, there is no=20
     point saying it=20
     > >> should, because implementers will do whatever they=20
     want, anyway.
     > >>
     > >> In general, if we have a statement that X SHOULD do=20
     Y, then in the=20
     > >> same paragraph one needs to enumerate when X would NOT do Y.
     > >>
     > >> ________________________________________
     > >> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
     > >> Sent: Friday, March 24, 2006 11:25 AM
     > >> To: speechsc@ietf.org
     > >> Subject: [Speechsc] Issues around grammar lifetimes
     > >>
     > >> Typically, an MRCP client will issue multiple DEFINE-GRAMMAR=20
     > >> messages eventually followed by a RECOGNIZE.  The=20
     MRCP client might=20
     > >> reasonably expect that the defined grammars would be=20
     available when=20
     > >> recognition is requested, but this does not appear to be=20
     > >> guaranteed.
     > >> Furthermore, I do
     > >> not see any notification mechanism for informing the=20
     client of=20
     > >> which grammars are unavailable.
     > >>
     > >>
     > >> There does not appear to be any language in section 9 that=20
     > >> describes grammar lifetimes.  There is language in=20
     the session URI=20
     > >> description (section 13.7) that might relate
     > >>
     > >>       The purpose
     > >>       of this scheme is to permit access to the=20
     specific resource for
     > >>       the lifetime of the session with the entity storing the=20
     > >> resource.
     > >>
     > >> but this is not a normative statement requiring=20
     availability for a=20
     > >> session lifetime.  In practice a MRCP server has a=20
     finite cache and=20
     > >> may support multiple parallel sessions.  It is=20
     unreasonable to=20
     > >> require that the MRCP server provision a sufficiently=20
     large cache=20
     > >> to store all grammars across all sessions,=20
     particularly if sessions=20
     > >> are long and employ large dynamic grammars.  Such a=20
     requirement=20
     > >> would render small footprint MRCP servers impossible.
     > >>
     > >> If a grammar is flushed from the MRCP server's cache before=20
     > >> RECOGNIZE, the notification mechanism is unclear. =20
     Presumably a=20
     > >> completion cause of 'grammar-load-failure' would be=20
     returned.  The=20
     > >> server might want to return a list of URIs in the=20
     message but this=20
     > >> would violate 9.4.12
     > >>
     > >>    Clients SHOULD NOT interpret the completion reason text.
     > >> Instead it
     > >>    is RECOMMENDED that the reason be recorded in=20
     client logs and
     > >>    otherwise made available for debugging and instrumentation=20
     > >> purposes.
     > >>
     > >> and such an approach would need to be standardized. =20
     Additionally,=20
     > >> a developer would like some assurance _before_=20
     RECOGNIZE is invoked=20
     > >> that all the loaded grammars are available.
     > >>
     > >>
     > >> Because MRCP servers have finite memory and caches, it is not=20
     > >> reasonable to require that grammars be available on a session=20
     > >> indefinitely after a DEFINE-GRAMMAR.  We might=20
     instead require that=20
     > >> grammars have guaranteed availability on a session=20
     only until the=20
     > >> next call to RECOGNIZE; this also breaks for the same reason.
     > >>
     > >>
     > >> Here is a solution that I believe works.
     > >>
     > >> (1) An MRCP server SHOULD retain grammars on each=20
     session created=20
     > >> by a DEFINE-GRAMMAR message until at least the next=20
     RECOGNIZE.  It=20
     > >> MAY retain grammars for much longer.
     > >>
     > >> (2) DEFINE-GRAMMAR should support redefining grammars=20
     by passing=20
     > >> the IDs without supplying the grammar definition.  The=20
     > >> text/grammar-ref- list media type might be=20
     appropriate for this=20
     > >> purpose.
     > >>
     > >> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a=20
     completion cause of=20
     > >> either 'grammar-load-failure' or 'grammar-completion-failure'=20
     > >> should include a CRLF separated list detailing the IDs which=20
     > >> grammars did not load or compile.
     > >>
     > >> (4) The text in 9.4.11 should support DEFINE-GRAMMAR returning
     > >> 'grammar-
     > >> load-failure' and 'grammar-completion-failure'.
     > >>
     > >> -------------------------
     > >>
     > >> Under this proposal, the client might do the following:
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR=20
     > >> documentLevel2 (new definition) DEFINE-GRAMMAR=20
     formLevel1 (new=20
     > >> definition) DEFINE-GRAMMAR fieldLevel1 (new=20
     definition) RECOGNIZE
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 documentLevel2=20
     formLevel1 (IDs only=20
     > >> to reassert continued need) DEFINE-GRAMMAR fieldLevel2 (new=20
     > >> definition) RECOGNIZE
     > >>
     > >> -------------------------
     > >>
     > >> Likewise, in the typical error case:
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR=20
     > >> documentLevel2 (new definition) DEFINE-GRAMMAR=20
     formLevel1 (new=20
     > >> definition) DEFINE-GRAMMAR fieldLevel1 (new=20
     definition) RECOGNIZE
     > >>
     > >> <time passes during which documentLevel2 gets flushed=20
     from the=20
     > >> server's
     > >> cache>
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 documentLevel2=20
     formLevel1 (only to=20
     > >> reassert continued need; an error is returned indicating that
     > >> documentLevel2 could
     > >> not load)
     > >> DEFINE-GRAMMAR documentLevel2 (new definition) DEFINE-GRAMMAR=20
     > >> fieldLevel2 (new definition) RECOGNIZE
     > >>
     > >> -------------------------
     > >>
     > >> Furthermore, if the client believes that the server=20
     has sufficient=20
     > >> storage capabilities, the existing protocol may be followed.
     > >>
     > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR=20
     > >> documentLevel2 (new definition) DEFINE-GRAMMAR=20
     formLevel1 (new=20
     > >> definition) DEFINE-GRAMMAR fieldLevel1 (new=20
     definition) RECOGNIZE
     > >>
     > >> <time passes, but grammars are not flushed>
     > >>
     > >> DEFINE-GRAMMAR documentLevel2 (new definition) DEFINE-GRAMMAR=20
     > >> fieldLevel2 (new definition) RECOGNIZE
     > >>
     > >> Here the client is taking a chance that RECOGNIZE=20
     will fail because=20
     > >> a grammar is not available, but finds that an=20
     acceptable risk. =20
     > >> Were RECOGNIZE to return with 'grammar-load-failure',=20
     the client=20
     > >> would still be able to recover - though the user=20
     might experience=20
     > >> some undesired latency.
     > >>
     > >
     > >
     > > _______________________________________________
     > > Speechsc mailing list
     > > Speechsc@ietf.org
     > > https://www1.ietf.org/mailman/listinfo/speechsc
    =20
     _______________________________________________
     Speechsc mailing list
     Speechsc@ietf.org
     https://www1.ietf.org/mailman/listinfo/speechsc
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 12 21:55:12 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTr37-00081C-LS; Wed, 12 Apr 2006 21:55:09 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTr36-0007xO-Nr
	for speechsc@ietf.org; Wed, 12 Apr 2006 21:55:08 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTr36-0000WZ-ED
	for speechsc@ietf.org; Wed, 12 Apr 2006 21:55:08 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Wed, 12 Apr 2006 21:55:56 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2ZTTLY1D>; Wed, 12 Apr 2006 21:55:07 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03D53E12@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: speechsc@ietf.org
Date: Wed, 12 Apr 2006 21:55:05 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f2984bf50fb52a9e56055f779793d783
Subject: [Speechsc] Weight support in Recognize
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1328135067=="
Errors-To: speechsc-bounces@ietf.org

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============1328135067==
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C65E9D.4914B2CC"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C65E9D.4914B2CC
Content-Type: text/plain

 

A weight parameter should be supported on RECOGNIZE.

 

Suppose that a recognition against two weighted grammars is required.  The
following message sequence would be necessary.

 

DEFINE-GRAMMAR grammar_1

DEFINE-GRAMMAR grammar_2

RECOGNIZE against a text/grammar-ref-list of grammars and corresponding
weights
 
MRCP clients often default to this approach even for simple applications in
environments such as VoiceXML 2.x where weights are allowed.  MRCP clients
are often required to use this approach when handling complex applications
which make extensive use of weights.  The required use of DEFINE-GRAMMAR is
inefficient and exacerbates the problems discussed previously on the list
<http://www1.ietf.org/mail-archive/web/speechsc/current/msg01704.html>.
 
A more efficient approach is sending a single RECOGNIZE with a
multipart-mime body containing both grammar definitions and their
corresponding weights.
 
---
 
The current specification might allow for a RECOGNIZE with a multipart-mime
body containing both grammar definitions followed by a block of
text/grammar-ref-list.  If this use is intended, then the text in 9.9 should
clearly call out this case and should include an example.  Even then,
allowing a weight in the headers for each grammar would be much simpler and
clearer.

 

 


------_=_NextPart_001_01C65E9D.4914B2CC
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormFrom speechsc-bounces@ietf.org Wed Apr 12 21:55:12 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTr37-00081C-LS; Wed, 12 Apr 2006 21:55:09 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTr36-0007xO-Nr
	for speechsc@ietf.org; Wed, 12 Apr 2006 21:55:08 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTr36-0000WZ-ED
	for speechsc@ietf.org; Wed, 12 Apr 2006 21:55:08 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Wed, 12 Apr 2006 21:55:56 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2ZTTLY1D>; Wed, 12 Apr 2006 21:55:07 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03D53E12@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: speechsc@ietf.org
Date: Wed, 12 Apr 2006 21:55:05 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f2984bf50fb52a9e56055f779793d783
Subject: [Speechsc] Weight support in Recognize
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1328135067=="
Errors-To: speechsc-bounces@ietf.org

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============1328135067==
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C65E9D.4914B2CC"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C65E9D.4914B2CC
Content-Type: text/plain

 

A weight parameter should be supported on RECOGNIZE.

 

Suppose that a recognition against two weighted grammars is required.  The
following message sequence would be necessary.

 

DEFINE-GRAMMAR grammar_1

DEFINE-GRAMMAR grammar_2

RECOGNIZE against a text/grammar-ref-list of grammars and corresponding
weights
 
MRCP clients often default to this approach even for simple applications in
environments such as VoiceXML 2.x where weights are allowed.  MRCP clients
are often required to use this approach when handling complex applications
which make extensive use of weights.  The required use of DEFINE-GRAMMAR is
inefficient and exacerbates the problems discussed previously on the list
<http://www1.ietf.org/mail-archive/web/speechsc/current/msg01704.html>.
 
A more efficient approach is sending a single RECOGNIZE with a
multipart-mime body containing both grammar definitions and their
corresponding weights.
 
---
 
The current specification might allow for a RECOGNIZE with a multipart-mime
body containing both grammar definitions followed by a block of
text/grammar-ref-list.  If this use is intended, then the text in 9.9 should
clearly call out this case and should include an example.  Even then,
allowing a weight in the headers for each grammar would be much simpler and
clearer.

 

 


------_=_NextPart_001_01C65E9D.4914B2CC
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>A weight parameter should be supported on =
RECOGNIZE.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Suppose that a recognition against two weighted =
grammars is
required.&nbsp; The following message sequence would be =
necessary.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DDE =
style=3D'font-size:10.0pt;
font-family:Arial'>DEFINE-GRAMMAR =
grammar_1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DDE =
style=3D'font-size:10.0pt;
font-family:Arial'>DEFINE-GRAMMAR =
grammar_2<o:p></o:p></span></font></p>

<pre><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>RECOGNIZE against a =
text/grammar-ref-list of grammars and corresponding =
weights<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>MRCP clients often default =
to this approach even for simple applications in environments such as =
VoiceXML 2.x where weights are allowed.&nbsp; MRCP clients are often =
required to use this approach when handling complex applications which =
make extensive use of weights.&nbsp; The required use of DEFINE-GRAMMAR =
is inefficient and exacerbates the problems discussed previously on the =
list =
&lt;http://www1.ietf.org/mail-archive/web/speechsc/current/msg01704.html=
&gt;.<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>A more efficient approach =
is sending a single RECOGNIZE with a multipart-mime body containing =
both grammar definitions and their corresponding =
weights.<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>---<o:p></o:p></span></font=
></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>The current specification =
might allow for a RECOGNIZE with a multipart-mime body containing both =
grammar definitions followed by a block of text/grammar-ref-list.&nbsp; =
If this use is intended, then the text in 9.9 should clearly call out =
this case and should include an example.&nbsp; Even then, allowing a =
weight in the headers for each grammar would be much simpler and =
clearer.<o:p></o:p></span></font></pre>

<p class=3DMsoNormal><fontal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>A weight parameter should be supported on =
RECOGNIZE.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Suppose that a recognition against two weighted =
grammars is
required.&nbsp; The following message sequence would be =
necessary.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DDE =
style=3D'font-size:10.0pt;
font-family:Arial'>DEFINE-GRAMMAR =
grammar_1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DDE =
style=3D'font-size:10.0pt;
font-family:Arial'>DEFINE-GRAMMAR =
grammar_2<o:p></o:p></span></font></p>

<pre><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>RECOGNIZE against a =
text/grammar-ref-list of grammars and corresponding =
weights<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>MRCP clients often default =
to this approach even for simple applications in environments such as =
VoiceXML 2.x where weights are allowed.&nbsp; MRCP clients are often =
required to use this approach when handling complex applications which =
make extensive use of weights.&nbsp; The required use of DEFINE-GRAMMAR =
is inefficient and exacerbates the problems discussed previously on the =
list =
&lt;http://www1.ietf.org/mail-archive/web/speechsc/current/msg01704.html=
&gt;.<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>A more efficient approach =
is sending a single RECOGNIZE with a multipart-mime body containing =
both grammar definitions and their corresponding =
weights.<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>---<o:p></o:p></span></font=
></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></f=
ont></pre><pre><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>The current specification =
might allow for a RECOGNIZE with a multipart-mime body containing both =
grammar definitions followed by a block of text/grammar-ref-list.&nbsp; =
If this use is intended, then the text in 9.9 should clearly call out =
this case and should include an example.&nbsp; Even then, allowing a =
weight in the headers for each grammar would be much simpler and =
clearer.<o:p></o:p></span></font></pre>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C65E9D.4914B2CC--


--===============1328135067==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============1328135067==--


From speechsc-bounces@ietf.org Wed Apr 12 21:55:12 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTr38-00085o-SQ; Wed, 12 Apr 2006 21:55:10 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTr37-00081e-Nf
	for speechsc@ietf.org; Wed, 12 Apr 2006 21:55:09 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTr37-0000Wc-6v
	for speechsc@ietf.org; Wed, 12 Apr 2006 21:55:09 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Wed, 12 Apr 2006 21:55:56 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2ZTTLY11>; Wed, 12 Apr 2006 21:55:07 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03D53E11@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>, David R Oran <oran@cisco.com>
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Wed, 12 Apr 2006 21:55:05 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e06437eb72f6703f11713d345be8298a
Cc: speechsc@ietf.org, "Burger, Eric" <EBurger@cantata.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

As I wrote in my original email, I don't see the language in section 13.7 as
making any normative statement requiring availability for a session
lifetime.  The language signals intent but does not mandate.  And in this
case, I believe intent is the correct position for the specification to
take.

If I read your response correctly, you seem to be suggesting that MRCP
servers are not, in practice, ever resource constrained.  Such a view would
be woefully removed from the implementation realities.  My concern stands
whether one considers text grammars or compiled forms, disk caches or memory
storage, static or dynamic content.  MRCP server implementations do on
occasion need to purge old grammars from storage.  If the purged grammars
are never again referred to by the client, there are no problems.  But if
the client does attempt to reference a purged grammar, the MRCP v2
specification does not appear to provide any notification mechanism.  That
is a significant deficiency of the specification.


As for your comments on grammar references and caching semantics, that is a
separate topic with orthogonal concerns.

> -----Original Message-----
> From: Shanmugham, Saravanan [mailto:sarvi@cisco.com]
> Sent: Wednesday, April 12, 2006 7:19 PM
> To: Carter, Jerry; David R Oran
> Cc: speechsc@ietf.org; Burger, Eric
> Subject: RE: [Speechsc] Issues around grammar lifetimes
> 
> 
> The main purpose of the DEFINE-GRAMMAR was to give the MRCP server an
> opportunity to define and compile inline-grammar blocks that might be
> specified and reused mu size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C65E9D.4914B2CC--


--===============1328135067==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============1328135067==--


From speechsc-bounces@ietf.org Wed Apr 12 21:55:12 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTr38-00085o-SQ; Wed, 12 Apr 2006 21:55:10 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTr37-00081e-Nf
	for speechsc@ietf.org; Wed, 12 Apr 2006 21:55:09 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTr37-0000Wc-6v
	for speechsc@ietf.org; Wed, 12 Apr 2006 21:55:09 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Wed, 12 Apr 2006 21:55:56 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2ZTTLY11>; Wed, 12 Apr 2006 21:55:07 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03D53E11@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>, David R Oran <oran@cisco.com>
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Wed, 12 Apr 2006 21:55:05 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e06437eb72f6703f11713d345be8298a
Cc: speechsc@ietf.org, "Burger, Eric" <EBurger@cantata.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

As I wrote in my original email, I don't see the language in section 13.7 as
making any normative statement requiring availability for a session
lifetime.  The language signals intent but does not mandate.  And in this
case, I believe intent is the correct position for the specification to
take.

If I read your response correctly, you seem to be suggesting that MRCP
servers are not, in practice, ever resource constrained.  Such a view would
be woefully removed from the implementation realities.  My concern stands
whether one considers text grammars or compiled forms, disk caches or memory
storage, static or dynamic content.  MRCP server implementations do on
occasion need to purge old grammars from storage.  If the purged grammars
are never again referred to by the client, there are no problems.  But if
the client does attempt to reference a purged grammar, the MRCP v2
specification does not appear to provide any notification mechanism.  That
is a significant deficiency of the specification.


As for your comments on grammar references and caching semantics, that is a
separate topic with orthogonal concerns.

> -----Original Message-----
> From: Shanmugham, Saravanan [mailto:sarvi@cisco.com]
> Sent: Wednesday, April 12, 2006 7:19 PM
> To: Carter, Jerry; David R Oran
> Cc: speechsc@ietf.org; Burger, Eric
> Subject: RE: [Speechsc] Issues around grammar lifetimes
> 
> 
> The main purpose of the DEFINE-GRAMMAR was to give the MRCP server an
> opportunity to define and compile inline-grammar blocks that might be
> specified and reused multiple times in a RECOGNIZE. Such grammars are
> associated with a "session:" URI and is expected to be accessible for
> the life of the session. The "lifetime of the session" was specifically
> meant for such inline-grammar blocks. This grammar SHOULD NOT be in
> "Cache" but in storage associated with the session and are not
> "cachedout" though they could be redefined by another DEFINE-GRAMMAR
> operation which redefines the "session:" URI with a  new block of
> inline-grammar.
> 
> Additionally, the DEFINE-GRAMMAR is alo expected to fetch and compile
> external URI based grammars which gives the client to make sure the
> grammar is accessible to the MRCP server and also compilable. Once
> compiled such grammar are placed in the "Cache". Such grammars may be
> cached out by other DEFINE-GRAMMAR/RECOGNIZE methods. The implementation
> and management of this cache is upto the MRCP server. It could choose to
> cache only the grammar or a compilation of the grammar.
> 
> Also, note that for inline grammars associated with "session:" URI
> refered in the first paragraph, the inline grammar block could them
> selves have references to external grammar URI. The server MUST store
> the grammar block associated with the "session:" URI for the life of the
> session. But it is not a MUST for the server to store all external URI
> grammars referenced from within the "session:" inline grammar block. But
> note that all external grammar URI references(even those embedded within
> inline grammar blocks assocaited with "session:" URI) have to follow the
> Caching Parameters.
> 
> Sarvi
> 
>      -----Original Message-----
>      From: Carter, Jerry [mailto:jerry.carter@nuance.com]
>      Sent: Wednesday, April 12, 2006 8:14 AM
>      To: David R Oran
>      Cc: speechsc@ietf.org; Burger, Eric
>      Subject: RE: [Speechsc] Issues around grammar lifetimes
> 
>      I'm not proposing that the client have control over
>      grammar lifetimes.  I am offering a notification and
>      recovery proposal with clarifying language describing
>      server behavior.
> 
>      Adding two lines to the example,
> 
>      DEFINE-GRAMMAR Large_1
>      DEFINE-GRAMMAR Large_2
>      DEFINE-GRAMMAR Small_3
>      RECOGNIZE (against Large_1, Large_2, Small_3)
>      DEFINE-GRAMMAR Large_4 RECOGNIZE (against Large_4)
>      DEFINE-GRAMMAR Large_5 RECOGNIZE (against Large_5)
>      DEFINE-GRAMMAR Large_6 RECOGNIZE (against Large_1,
>      Small_3, Large_6)  [FAILS] DEFINE-GRAMMAR Large_1
>      RECOGNIZE (against Large_1, Small_3, Large_6)  [SUCCEEDS]
> 
>      if the client knows what grammars are unavailable,
>      recovery via re-DEFINE-GRAMMAR is possible.
> 
>      As waiting until RECOGNIZE is usually too late, the
>      original email discusses use of DEFINE-GRAMMAR to signal
>      continued interest without passing the entire grammar
>      definition over the wire.
> 
>      > -----Original Message-----
>      > From: David R Oran [mailto:oran@cisco.com]
>      > Sent: Wednesday, April 12, 2006 11:07 AM
>      > To: Carter, Jerry
>      > Cc: Burger, Eric; speechsc@ietf.org
>      > Subject: Re: [Speechsc] Issues around grammar lifetimes
>      >
>      > This strikes me as something that should not be exposed
>      to the client
>      > unless there is really strong reason to believe that the
>      client can do
>      > a better job of managing server resources than the
>      server can itself.
>      >
>      > Dave (chair hat off)
>      >
>      > On Apr 12, 2006, at 10:19 AM, Carter, Jerry wrote:
>      >
>      > > As I discussed, MRCP servers have finite resources
>      available.  When
>      > > an MRCP server is asked to track several large
>      grammars, it may be
>      > > necessary to purge older grammars from cache to process new
>      > > requests.  Consider this
>      > > case:
>      > >
>      > > DEFINE-GRAMMAR Large_1
>      > > DEFINE-GRAMMAR Large_2
>      > > DEFINE-GRAMMAR Small_3
>      > > RECOGNIZE (against Large_1, Large_2, Small_3)
>      DEFINE-GRAMMAR Large_4
>      > > RECOGNIZE (against Large_4) DEltiple times in a RECOGNIZE. Such grammars are
> associated with a "session:" URI and is expected to be accessible for
> the life of the session. The "lifetime of the session" was specifically
> meant for such inline-grammar blocks. This grammar SHOULD NOT be in
> "Cache" but in storage associated with the session and are not
> "cachedout" though they could be redefined by another DEFINE-GRAMMAR
> operation which redefines the "session:" URI with a  new block of
> inline-grammar.
> 
> Additionally, the DEFINE-GRAMMAR is alo expected to fetch and compile
> external URI based grammars which gives the client to make sure the
> grammar is accessible to the MRCP server and also compilable. Once
> compiled such grammar are placed in the "Cache". Such grammars may be
> cached out by other DEFINE-GRAMMAR/RECOGNIZE methods. The implementation
> and management of this cache is upto the MRCP server. It could choose to
> cache only the grammar or a compilation of the grammar.
> 
> Also, note that for inline grammars associated with "session:" URI
> refered in the first paragraph, the inline grammar block could them
> selves have references to external grammar URI. The server MUST store
> the grammar block associated with the "session:" URI for the life of the
> session. But it is not a MUST for the server to store all external URI
> grammars referenced from within the "session:" inline grammar block. But
> note that all external grammar URI references(even those embedded within
> inline grammar blocks assocaited with "session:" URI) have to follow the
> Caching Parameters.
> 
> Sarvi
> 
>      -----Original Message-----
>      From: Carter, Jerry [mailto:jerry.carter@nuance.com]
>      Sent: Wednesday, April 12, 2006 8:14 AM
>      To: David R Oran
>      Cc: speechsc@ietf.org; Burger, Eric
>      Subject: RE: [Speechsc] Issues around grammar lifetimes
> 
>      I'm not proposing that the client have control over
>      grammar lifetimes.  I am offering a notification and
>      recovery proposal with clarifying language describing
>      server behavior.
> 
>      Adding two lines to the example,
> 
>      DEFINE-GRAMMAR Large_1
>      DEFINE-GRAMMAR Large_2
>      DEFINE-GRAMMAR Small_3
>      RECOGNIZE (against Large_1, Large_2, Small_3)
>      DEFINE-GRAMMAR Large_4 RECOGNIZE (against Large_4)
>      DEFINE-GRAMMAR Large_5 RECOGNIZE (against Large_5)
>      DEFINE-GRAMMAR Large_6 RECOGNIZE (against Large_1,
>      Small_3, Large_6)  [FAILS] DEFINE-GRAMMAR Large_1
>      RECOGNIZE (against Large_1, Small_3, Large_6)  [SUCCEEDS]
> 
>      if the client knows what grammars are unavailable,
>      recovery via re-DEFINE-GRAMMAR is possible.
> 
>      As waiting until RECOGNIZE is usually too late, the
>      original email discusses use of DEFINE-GRAMMAR to signal
>      continued interest without passing the entire grammar
>      definition over the wire.
> 
>      > -----Original Message-----
>      > From: David R Oran [mailto:oran@cisco.com]
>      > Sent: Wednesday, April 12, 2006 11:07 AM
>      > To: Carter, Jerry
>      > Cc: Burger, Eric; speechsc@ietf.org
>      > Subject: Re: [Speechsc] Issues around grammar lifetimes
>      >
>      > This strikes me as something that should not be exposed
>      to the client
>      > unless there is really strong reason to believe that the
>      client can do
>      > a better job of managing server resources than the
>      server can itself.
>      >
>      > Dave (chair hat off)
>      >
>      > On Apr 12, 2006, at 10:19 AM, Carter, Jerry wrote:
>      >
>      > > As I discussed, MRCP servers have finite resources
>      available.  When
>      > > an MRCP server is asked to track several large
>      grammars, it may be
>      > > necessary to purge older grammars from cache to process new
>      > > requests.  Consider this
>      > > case:
>      > >
>      > > DEFINE-GRAMMAR Large_1
>      > > DEFINE-GRAMMAR Large_2
>      > > DEFINE-GRAMMAR Small_3
>      > > RECOGNIZE (against Large_1, Large_2, Small_3)
>      DEFINE-GRAMMAR Large_4
>      > > RECOGNIZE (against Large_4) DEFINE-GRAMMAR Large_5 RECOGNIZE
>      > > (against Large_5) DEFINE-GRAMMAR Large_6 RECOGNIZE
>      (against Large_1,
>      > > Small_3, Large_6) << What happens?
>      > >
>      > > The session starts and recognition occurs against
>      several grammars.
>      > > The second recognition (perhaps a modal VXML dialog)
>      requires only a
>      > > single grammar.  Likewise, the third recognition
>      (perhaps another
>      > > modal VXML
>      > > dialog) requires only a single grammar.  For the final
>      recognition,
>      > > another large grammar is required.  If the MRCP server
>      is resource
>      > > constrained, one or more of the earlier grammars will
>      be flushed
>      > > from cache to make space for the new grammar.  Let's
>      assume that
>      > > Large_1 gets flushed; the RECOGNIZE will fail.
>      > >
>      > > As I discussed, there is no language in the MRCP specification
>      > > describing grammar lifetimes nor do I see any
>      notification mechanism
>      > > that would informing the client of which grammars are
>      unavailable to
>      > > permit a recovery.
>      > > I see this as a serious and significant deficiency.
>      > >
>      > > For additional comments and a proposed solution, I
>      refer back to the
>      > > 24 March email.
>      > >
>      > >
>      > >> -----Original Message-----
>      > >> From: Burger, Eric [mailto:EBurger@cantata.com]
>      > >> Sent: Saturday, April 08, 2006 11:00 PM
>      > >> To: Carter, Jerry
>      > >> Cc: speechsc@ietf.org
>      > >> Subject: RE: [Speechsc] Issues around grammar lifetimes
>      > >>
>      > >>>>> An MRCP server SHOULD retain grammars on each
>      session created by
>      > >>>>> a
>      > >> DEFINE-GRAMMAR message until at least the next
>      RECOGNIZE.  It MAY
>      > >> retain grammars for much longer. <<<
>      > >>
>      > >> Under what circumstance would an MRCP server *not* retain the
>      > >> grammar?  If you cannot think of one, and this is
>      important, than
>      > >> an MRCP server MUST retain grammars until the next
>      RECOGNIZE.
>      > >> Conversely, if there are too many circumstances when the MRCP
>      > >> server would not retain the grammar, there is no
>      point saying it
>      > >> should, because implementers will do whatever they
>      want, anyway.
>      > >>
>      > >> In general, if we have a statement that X SHOULD do
>      Y, then in the
>      > >> same paragraph one needs to enumerate when X would NOT do Y.
>      > >>
>      > >> ________________________________________
>      > >> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
>      > >> Sent: Friday, March 24, 2006 11:25 AM
>      > >> To: speechsc@ietf.org
>      > >> Subject: [Speechsc] Issues around grammar lifetimes
>      > >>
>      > >> Typically, an MRCP client will issue multiple DEFINE-GRAMMAR
>      > >> messages eventually followed by a RECOGNIZE.  The
>      MRCP client might
>      > >> reasonably expect that the defined grammars would be
>      available when
>      > >> recognition is requested, but this does not appear to be
>      > >> guaranteed.
>      > >> Furthermore, I do
>      > >> not see any notification mechanism for informing the
>      client of
>      > >> which grammars are unavailable.
>      > >>
>      > >>
>      > >> There does not appear to be any language in section 9 that
>      > >> describes grammar lifetimes.  There is language in
>      the session URI
>      > >> description (section 13.7) that might relate
>      > >>
>      > >>       The purpose
>      > >>       of this scheme is to permit access to the
>      specific resource for
>      > >>       the lifetime of the session with the entity storing the
>      > >> resource.
>      > >>
>      > >> but this is not a normative statement requiring
>      availability for a
>      > >> session lifetime.  In practice a MRCP server has a
>      finite cache and
>      > >> may support multiple parallel sessions.  It is
>      unreasonable to
>      > >> require that the MRCFINE-GRAMMAR Large_5 RECOGNIZE
>      > > (against Large_5) DEFINE-GRAMMAR Large_6 RECOGNIZE
>      (against Large_1,
>      > > Small_3, Large_6) << What happens?
>      > >
>      > > The session starts and recognition occurs against
>      several grammars.
>      > > The second recognition (perhaps a modal VXML dialog)
>      requires only a
>      > > single grammar.  Likewise, the third recognition
>      (perhaps another
>      > > modal VXML
>      > > dialog) requires only a single grammar.  For the final
>      recognition,
>      > > another large grammar is required.  If the MRCP server
>      is resource
>      > > constrained, one or more of the earlier grammars will
>      be flushed
>      > > from cache to make space for the new grammar.  Let's
>      assume that
>      > > Large_1 gets flushed; the RECOGNIZE will fail.
>      > >
>      > > As I discussed, there is no language in the MRCP specification
>      > > describing grammar lifetimes nor do I see any
>      notification mechanism
>      > > that would informing the client of which grammars are
>      unavailable to
>      > > permit a recovery.
>      > > I see this as a serious and significant deficiency.
>      > >
>      > > For additional comments and a proposed solution, I
>      refer back to the
>      > > 24 March email.
>      > >
>      > >
>      > >> -----Original Message-----
>      > >> From: Burger, Eric [mailto:EBurger@cantata.com]
>      > >> Sent: Saturday, April 08, 2006 11:00 PM
>      > >> To: Carter, Jerry
>      > >> Cc: speechsc@ietf.org
>      > >> Subject: RE: [Speechsc] Issues around grammar lifetimes
>      > >>
>      > >>>>> An MRCP server SHOULD retain grammars on each
>      session created by
>      > >>>>> a
>      > >> DEFINE-GRAMMAR message until at least the next
>      RECOGNIZE.  It MAY
>      > >> retain grammars for much longer. <<<
>      > >>
>      > >> Under what circumstance would an MRCP server *not* retain the
>      > >> grammar?  If you cannot think of one, and this is
>      important, than
>      > >> an MRCP server MUST retain grammars until the next
>      RECOGNIZE.
>      > >> Conversely, if there are too many circumstances when the MRCP
>      > >> server would not retain the grammar, there is no
>      point saying it
>      > >> should, because implementers will do whatever they
>      want, anyway.
>      > >>
>      > >> In general, if we have a statement that X SHOULD do
>      Y, then in the
>      > >> same paragraph one needs to enumerate when X would NOT do Y.
>      > >>
>      > >> ________________________________________
>      > >> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
>      > >> Sent: Friday, March 24, 2006 11:25 AM
>      > >> To: speechsc@ietf.org
>      > >> Subject: [Speechsc] Issues around grammar lifetimes
>      > >>
>      > >> Typically, an MRCP client will issue multiple DEFINE-GRAMMAR
>      > >> messages eventually followed by a RECOGNIZE.  The
>      MRCP client might
>      > >> reasonably expect that the defined grammars would be
>      available when
>      > >> recognition is requested, but this does not appear to be
>      > >> guaranteed.
>      > >> Furthermore, I do
>      > >> not see any notification mechanism for informing the
>      client of
>      > >> which grammars are unavailable.
>      > >>
>      > >>
>      > >> There does not appear to be any language in section 9 that
>      > >> describes grammar lifetimes.  There is language in
>      the session URI
>      > >> description (section 13.7) that might relate
>      > >>
>      > >>       The purpose
>      > >>       of this scheme is to permit access to the
>      specific resource for
>      > >>       the lifetime of the session with the entity storing the
>      > >> resource.
>      > >>
>      > >> but this is not a normative statement requiring
>      availability for a
>      > >> session lifetime.  In practice a MRCP server has a
>      finite cache and
>      > >> may support multiple parallel sessions.  It is
>      unreasonable to
>      > >> require that the MRCP server provision a sufficiently
>      large cache
>      > >> to store all grammars across all sessions,
>      particularly if sessions
>      > >> are long and employ large dynamic grammars.  Such a
>      requirement
>      > >> would render small footprint MRCP servers impossible.
>      > >>
>      > >> If a grammar is flushed from the MRCP server's cache before
>      > >> RECOGNIZE, the notification mechanism is unclear.
>      Presumably a
>      > >> completion cause of 'grammar-load-failure' would be
>      returned.  The
>      > >> server might want to return a list of URIs in the
>      message but this
>      > >> would violate 9.4.12
>      > >>
>      > >>    Clients SHOULD NOT interpret the completion reason text.
>      > >> Instead it
>      > >>    is RECOMMENDED that the reason be recorded in
>      client logs and
>      > >>    otherwise made available for debugging and instrumentation
>      > >> purposes.
>      > >>
>      > >> and such an approach would need to be standardized.
>      Additionally,
>      > >> a developer would like some assurance _before_
>      RECOGNIZE is invoked
>      > >> that all the loaded grammars are available.
>      > >>
>      > >>
>      > >> Because MRCP servers have finite memory and caches, it is not
>      > >> reasonable to require that grammars be available on a session
>      > >> indefinitely after a DEFINE-GRAMMAR.  We might
>      instead require that
>      > >> grammars have guaranteed availability on a session
>      only until the
>      > >> next call to RECOGNIZE; this also breaks for the same reason.
>      > >>
>      > >>
>      > >> Here is a solution that I believe works.
>      > >>
>      > >> (1) An MRCP server SHOULD retain grammars on each
>      session created
>      > >> by a DEFINE-GRAMMAR message until at least the next
>      RECOGNIZE.  It
>      > >> MAY retain grammars for much longer.
>      > >>
>      > >> (2) DEFINE-GRAMMAR should support redefining grammars
>      by passing
>      > >> the IDs without supplying the grammar definition.  The
>      > >> text/grammar-ref- list media type might be
>      appropriate for this
>      > >> purpose.
>      > >>
>      > >> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a
>      completion cause of
>      > >> either 'grammar-load-failure' or 'grammar-completion-failure'
>      > >> should include a CRLF separated list detailing the IDs which
>      > >> grammars did not load or compile.
>      > >>
>      > >> (4) The text in 9.4.11 should support DEFINE-GRAMMAR returning
>      > >> 'grammar-
>      > >> load-failure' and 'grammar-completion-failure'.
>      > >>
>      > >> -------------------------
>      > >>
>      > >> Under this proposal, the client might do the following:
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 documentLevel2
>      formLevel1 (IDs only
>      > >> to reassert continued need) DEFINE-GRAMMAR fieldLevel2 (new
>      > >> definition) RECOGNIZE
>      > >>
>      > >> -------------------------
>      > >>
>      > >> Likewise, in the typical error case:
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> <time passes during which documentLevel2 gets flushed
>      from the
>      > >> server's
>      > >> cache>
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 documentLevel2
>      formLevel1 (only to
>      > >> reassert continued need; an error is returned indicating that
>      > >> documentLevel2 could
>      > >> not load)
>      > >> DEFINE-GRAMMAR documentLevel2 (new definition) DEFINE-GRAMMAR
>      > >> fieldLevel2 (new definition) RECOGNIZE
>      > >>
>      >P server provision a sufficiently
>      large cache
>      > >> to store all grammars across all sessions,
>      particularly if sessions
>      > >> are long and employ large dynamic grammars.  Such a
>      requirement
>      > >> would render small footprint MRCP servers impossible.
>      > >>
>      > >> If a grammar is flushed from the MRCP server's cache before
>      > >> RECOGNIZE, the notification mechanism is unclear.
>      Presumably a
>      > >> completion cause of 'grammar-load-failure' would be
>      returned.  The
>      > >> server might want to return a list of URIs in the
>      message but this
>      > >> would violate 9.4.12
>      > >>
>      > >>    Clients SHOULD NOT interpret the completion reason text.
>      > >> Instead it
>      > >>    is RECOMMENDED that the reason be recorded in
>      client logs and
>      > >>    otherwise made available for debugging and instrumentation
>      > >> purposes.
>      > >>
>      > >> and such an approach would need to be standardized.
>      Additionally,
>      > >> a developer would like some assurance _before_
>      RECOGNIZE is invoked
>      > >> that all the loaded grammars are available.
>      > >>
>      > >>
>      > >> Because MRCP servers have finite memory and caches, it is not
>      > >> reasonable to require that grammars be available on a session
>      > >> indefinitely after a DEFINE-GRAMMAR.  We might
>      instead require that
>      > >> grammars have guaranteed availability on a session
>      only until the
>      > >> next call to RECOGNIZE; this also breaks for the same reason.
>      > >>
>      > >>
>      > >> Here is a solution that I believe works.
>      > >>
>      > >> (1) An MRCP server SHOULD retain grammars on each
>      session created
>      > >> by a DEFINE-GRAMMAR message until at least the next
>      RECOGNIZE.  It
>      > >> MAY retain grammars for much longer.
>      > >>
>      > >> (2) DEFINE-GRAMMAR should support redefining grammars
>      by passing
>      > >> the IDs without supplying the grammar definition.  The
>      > >> text/grammar-ref- list media type might be
>      appropriate for this
>      > >> purpose.
>      > >>
>      > >> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a
>      completion cause of
>      > >> either 'grammar-load-failure' or 'grammar-completion-failure'
>      > >> should include a CRLF separated list detailing the IDs which
>      > >> grammars did not load or compile.
>      > >>
>      > >> (4) The text in 9.4.11 should support DEFINE-GRAMMAR returning
>      > >> 'grammar-
>      > >> load-failure' and 'grammar-completion-failure'.
>      > >>
>      > >> -------------------------
>      > >>
>      > >> Under this proposal, the client might do the following:
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 documentLevel2
>      formLevel1 (IDs only
>      > >> to reassert continued need) DEFINE-GRAMMAR fieldLevel2 (new
>      > >> definition) RECOGNIZE
>      > >>
>      > >> -------------------------
>      > >>
>      > >> Likewise, in the typical error case:
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> <time passes during which documentLevel2 gets flushed
>      from the
>      > >> server's
>      > >> cache>
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 documentLevel2
>      formLevel1 (only to
>      > >> reassert continued need; an error is returned indicating that
>      > >> documentLevel2 could
>      > >> not load)
>      > >> DEFINE-GRAMMAR documentLevel2 (new definition) DEFINE-GRAMMAR
>      > >> fieldLevel2 (new definition) RECOGNIZE
>      > >>
>      > >> -------------------------
>      > >>
>      > >> Furthermore, if the client believes that the server
>      has sufficient
>      > >> storage capabilities, the existing protocol may be followed.
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> <time passes, but grammars are not flushed>
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel2 (new definition) DEFINE-GRAMMAR
>      > >> fieldLevel2 (new definition) RECOGNIZE
>      > >>
>      > >> Here the client is taking a chance that RECOGNIZE
>      will fail because
>      > >> a grammar is not available, but finds that an
>      acceptable risk.
>      > >> Were RECOGNIZE to return with 'grammar-load-failure',
>      the client
>      > >> would still be able to recover - though the user
>      might experience
>      > >> some undesired latency.
>      > >>
>      > >
>      > >
>      > > _______________________________________________
>      > > Speechsc mailing list
>      > > Speechsc@ietf.org
>      > > https://www1.ietf.org/mailman/listinfo/speechsc
> 
>      _______________________________________________
>      Speechsc mailing list
>      Speechsc@ietf.org
>      https://www1.ietf.org/mailman/listinfo/speechsc
> 

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc





 >> -------------------------
>      > >>
>      > >> Furthermore, if the client believes that the server
>      has sufficient
>      > >> storage capabilities, the existing protocol may be followed.
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition) DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> <time passes, but grammars are not flushed>
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel2 (new definition) DEFINE-GRAMMAR
>      > >> fieldLevel2 (new definition) RECOGNIZE
>      > >>
>      > >> Here the client is taking a chance that RECOGNIZE
>      will fail because
>      > >> a grammar is not available, but finds that an
>      acceptable risk.
>      > >> Were RECOGNIZE to return with 'grammar-load-failure',
>      the client
>      > >> would still be able to recover - though the user
>      might experience
>      > >> some undesired latency.
>      > >>
>      > >
>      > >
>      > > _______________________________________________
>      > > Speechsc mailing list
>      > > Speechsc@ietf.org
>      > > https://www1.ietf.org/mailman/listinfo/speechsc
> 
>      _______________________________________________
>      Speechsc mailing list
>      Speechsc@ietf.org
>      https://www1.ietf.org/mailman/listinfo/speechsc
> 

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc





From speechsc-bounces@ietf.org Thu Apr 13 00:51:15 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FTtnW-000551-1I; Thu, 13 Apr 2006 00:51:14 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FTtnU-0004zr-Mq
	for speechsc@ietf.org; Thu, 13 Apr 2006 00:51:12 -0400
Received: from sj-iport-5.cisco.com ([171.68.10.87])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FTtnT-0005Nd-T4
	for speechsc@ietf.org; Thu, 13 Apr 2006 00:51:12 -0400
Received: from sj-core-4.cisco.com ([171.68.223.138])
	by sj-iport-5.cisco.com with ESMTP; 12 Apr 2006 21:51:11 -0700
X-IronPort-AV: i="4.04,116,1144047600"; 
	d="scan'208"; a="268413485:sNHT36406036"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k3D4pAYg009085;
	Wed, 12 Apr 2006 21:51:10 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Wed, 12 Apr 2006 21:51:08 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE404D6@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] Issues around grammar lifetimes
Thread-Index: AcZenVBhcpyn8ArKQV22H1TgXY9N9QAFNptA
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Carter, Jerry" <jerry.carter@nuance.com>, "David R Oran" <oran@cisco.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 4d9aaf4f837d0910b987cb9188300fdd
Cc: speechsc@ietf.org, "Burger, Eric" <EBurger@cantata.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Where I was going with my response was to propose clarifying the
specification with some normative statements as follows.

1. The MRCP server MUST load and compile all grammars specified through
a DEFINE-GRAMMAR method.=20
2. The server MUST store the inline grammar block associated with the
"session:" URI through a DEFINE-GRAMMAR method on the server for the
life of the session.=20
2.1 I am wondering if it would make sense also enforce the download and
storage of external URI referenced by the inline-grammar for the life of
the session: URI.
3. If the "session:" URI is redefined within the session through a
subsequent DEFINE-GRAMMAR, the inline grammar previously associated with
the "session:" URI MUST be freed. 4. The server MAY store the compiled
version of this inline grammar block.=20
5. If there is no space on the server to store the inline grammar, the
DEFINE-GRAMMAR should return a response status code of 411 - Resource
unavailable.

6. The server MUST implement a cache for external grammars referenced
through a URI. =20
7. The MRCP server MUST cache either the downloaded grammar document or
the compiled object of the downloaded grammar document, within the
limits and enforcement of the cache control parameters associated with
the session.

This allows for a couple of things to be resolved. Separates Caching of
grammars from definition/storage of grammars.
  1. We leave caching of grammars under the control of the server with
the client providing only cache control parameters already defined in
MRCP.
  2. The life of a defined-grammar, essentially the "session:" URI, is
clearly defined.
  3. If response to be seen by the client if there is no space to make
such a definition is also clearly defined.


Thanks,
Sarvi
=20

     -----Original Message-----
     From: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
     Sent: Wednesday, April 12, 2006 6:55 PM
     To: Shanmugham, Saravanan; David R Oran
     Cc: speechsc@ietf.org; Burger, Eric
     Subject: RE: [Speechsc] Issues around grammar lifetimes
    =20
     As I wrote in my original email, I don't see the language=20
     in section 13.7 as making any normative statement=20
     requiring availability for a session lifetime.  The=20
     language signals intent but does not mandate.  And in this=20
     case, I believe intent is the correct position for the=20
     specification to take.
    =20
     If I read your response correctly, you seem to be=20
     suggesting that MRCP servers are not, in practice, ever=20
     resource constrained.  Such a view would be woefully=20
     removed from the implementation realities.  My concern=20
     stands whether one considers text grammars or compiled=20
     forms, disk caches or memory storage, static or dynamic=20
     content.  MRCP server implementations do on occasion need=20
     to purge old grammars from storage.  If the purged=20
     grammars are never again referred to by the client, there=20
     are no problems.  But if the client does attempt to=20
     reference a purged grammar, the MRCP v2 specification does=20
     not appear to provide any notification mechanism.  That is=20
     a significant deficiency of the specification.
    =20
    =20
     As for your comments on grammar references and caching=20
     semantics, that is a separate topic with orthogonal concerns.
    =20
     > -----Original Message-----
     > From: Shanmugham, Saravanan [mailto:sarvi@cisco.com]
     > Sent: Wednesday, April 12, 2006 7:19 PM
     > To: Carter, Jerry; David R Oran
     > Cc: speechsc@ietf.org; Burger, Eric
     > Subject: RE: [Speechsc] Issues around grammar lifetimes
     >=20
     >=20
     > The main purpose of the DEFINE-GRAMMAR was to give the=20
     MRCP server an=20
     > opportunity to define and compile inline-grammar blocks=20
     that might be=20
     > specified and reused multiple times in a RECOGNIZE. Such=20
     grammars are=20
     > associated with a "session:" URI and is expected to be=20
     accessible for=20
     > the life of the session. The "lifetime of the session" was=20
     > specifically meant for such inline-grammar blocks. This=20
     grammar SHOULD=20
     > NOT be in "Cache" but in storage associated with the=20
     session and are=20
     > not "cachedout" though they could be redefined by another=20
     > DEFINE-GRAMMAR operation which redefines the "session:"=20
     URI with a =20
     > new block of inline-grammar.
     >=20
     > Additionally, the DEFINE-GRAMMAR is alo expected to=20
     fetch and compile=20
     > external URI based grammars which gives the client to=20
     make sure the=20
     > grammar is accessible to the MRCP server and also=20
     compilable. Once=20
     > compiled such grammar are placed in the "Cache". Such=20
     grammars may be=20
     > cached out by other DEFINE-GRAMMAR/RECOGNIZE methods. The=20
     > implementation and management of this cache is upto the=20
     MRCP server.=20
     > It could choose to cache only the grammar or a=20
     compilation of the grammar.
     >=20
     > Also, note that for inline grammars associated with=20
     "session:" URI=20
     > refered in the first paragraph, the inline grammar block=20
     could them=20
     > selves have references to external grammar URI. The=20
     server MUST store=20
     > the grammar block associated with the "session:" URI for=20
     the life of=20
     > the session. But it is not a MUST for the server to=20
     store all external=20
     > URI grammars referenced from within the "session:"=20
     inline grammar=20
     > block. But note that all external grammar URI=20
     references(even those=20
     > embedded within inline grammar blocks assocaited with=20
     "session:" URI)=20
     > have to follow the Caching Parameters.
     >=20
     > Sarvi
     >=20
     >      -----Original Message-----
     >      From: Carter, Jerry [mailto:jerry.carter@nuance.com]
     >      Sent: Wednesday, April 12, 2006 8:14 AM
     >      To: David R Oran
     >      Cc: speechsc@ietf.org; Burger, Eric
     >      Subject: RE: [Speechsc] Issues around grammar lifetimes
     >=20
     >      I'm not proposing that the client have control over
     >      grammar lifetimes.  I am offering a notification and
     >      recovery proposal with clarifying language describing
     >      server behavior.
     >=20
     >      Adding two lines to the example,
     >=20
     >      DEFINE-GRAMMAR Large_1
     >      DEFINE-GRAMMAR Large_2
     >      DEFINE-GRAMMAR Small_3
     >      RECOGNIZE (against Large_1, Large_2, Small_3)
     >      DEFINE-GRAMMAR Large_4 RECOGNIZE (against Large_4)
     >      DEFINE-GRAMMAR Large_5 RECOGNIZE (against Large_5)
     >      DEFINE-GRAMMAR Large_6 RECOGNIZE (against Large_1,
     >      Small_3, Large_6)  [FAILS] DEFINE-GRAMMAR Large_1
     >      RECOGNIZE (against Large_1, Small_3, Large_6)  [SUCCEEDS]
     >=20
     >      if the client knows what grammars are unavailable,
     >      recovery via re-DEFINE-GRAMMAR is possible.
     >=20
     >      As waiting until RECOGNIZE is usually too late, the
     >      original email discusses use of DEFINE-GRAMMAR to signal
     >      continued interest without passing the entire grammar
     >      definition over the wire.
     >=20
     >      > -----Original Message-----
     >      > From: David R Oran [mailto:oran@cisco.com]
     >      > Sent: Wednesday, April 12, 2006 11:07 AM
     >      > To: Carter, Jerry
     >      > Cc: Burger, Eric; speechsc@ietf.org
     >      > Subject: Re: [Speechsc] Issues around grammar lifetimes
     >      >
     >      > This strikes me as something that should not be exposed
     >      to the client
     >      > unless there is really strong reason to believe that the
     >      client can do
     >      > a better job of managing server resources than the
     >      server can itself.
     >      >
     >      > Dave (chair hat off)
     >      >
     >      > On Apr 12, 2006, at 10:19 AM, Carter, Jerry wrote:
     >      >
     >      > > As I discussed, MRCP servers have finite resources
     >      available.  When
     >      > > an MRCP server is asked to track several large
     >      grammars, it may be
     >      > > necessary to purge older grammars from cache to=20
     process new
     >      > > requests.  Consider this
     >      > > case:
     >      > >
     >      > > DEFINE-GRAMMAR Large_1
     >      > > DEFINE-GRAMMAR Large_2
     >      > > DEFINE-GRAMMAR Small_3
     >      > > RECOGNIZE (against Large_1, Large_2, Small_3)
     >      DEFINE-GRAMMAR Large_4
     >      > > RECOGNIZE (against Large_4) DEFINE-GRAMMAR=20
     Large_5 RECOGNIZE
     >      > > (against Large_5) DEFINE-GRAMMAR Large_6 RECOGNIZE
     >      (against Large_1,
     >      > > Small_3, Large_6) << What happens?
     >      > >
     >      > > The session starts and recognition occurs against
     >      several grammars.
     >      > > The second recognition (perhaps a modal VXML dialog)
     >      requires only a
     >      > > single grammar.  Likewise, the third recognition
     >      (perhaps another
     >      > > modal VXML
     >      > > dialog) requires only a single grammar.  For the final
     >      recognition,
     >      > > another large grammar is required.  If the MRCP server
     >      is resource
     >      > > constrained, one or more of the earlier grammars will
     >      be flushed
     >      > > from cache to make space for the new grammar.  Let's
     >      assume that
     >      > > Large_1 gets flushed; the RECOGNIZE will fail.
     >      > >
     >      > > As I discussed, there is no language in the=20
     MRCP specification
     >      > > describing grammar lifetimes nor do I see any
     >      notification mechanism
     >      > > that would informing the client of which grammars are
     >      unavailable to
     >      > > permit a recovery.
     >      > > I see this as a serious and significant deficiency.
     >      > >
     >      > > For additional comments and a proposed solution, I
     >      refer back to the
     >      > > 24 March email.
     >      > >
     >      > >
     >      > >> -----Original Message-----
     >      > >> From: Burger, Eric [mailto:EBurger@cantata.com]
     >      > >> Sent: Saturday, April 08, 2006 11:00 PM
     >      > >> To: Carter, Jerry
     >      > >> Cc: speechsc@ietf.org
     >      > >> Subject: RE: [Speechsc] Issues around grammar lifetimes
     >      > >>
     >      > >>>>> An MRCP server SHOULD retain grammars on each
     >      session created by
     >      > >>>>> a
     >      > >> DEFINE-GRAMMAR message until at least the next
     >      RECOGNIZE.  It MAY
     >      > >> retain grammars for much longer. <<<
     >      > >>
     >      > >> Under what circumstance would an MRCP server=20
     *not* retain the
     >      > >> grammar?  If you cannot think of one, and this is
     >      important, than
     >      > >> an MRCP server MUST retain grammars until the next
     >      RECOGNIZE.
     >      > >> Conversely, if there are too many=20
     circumstances when the MRCP
     >      > >> server would not retain the grammar, there is no
     >      point saying it
     >      > >> should, because implementers will do whatever they
     >      want, anyway.
     >      > >>
     >      > >> In general, if we have a statement that X SHOULD do
     >      Y, then in the
     >      > >> same paragraph one needs to enumerate when X=20
     would NOT do Y.
     >      > >>
     >      > >> ________________________________________
     >      > >> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
     >      > >> Sent: Friday, March 24, 2006 11:25 AM
     >      > >> To: speechsc@ietf.org
     >      > >> Subject: [Speechsc] Issues around grammar lifetimes
     >      > >>
     >      > >> Typically, an MRCP client will issue multiple=20
     DEFINE-GRAMMAR
     >      > >> messages eventually followed by a RECOGNIZE.  The
     >      MRCP client might
     >      > >> reasonably expect that the defined grammars would be
     >      available when
     >      > >> recognition is requested, but this does not=20
     appear to be
     >      > >> guaranteed.
     >      > >> Furthermore, I do
     >      > >> not see any notification mechanism for informing the
     >      client of
     >      > >> which grammars are unavailable.
     >      > >>
     >      > >>
     >      > >> There does not appear to be any language in=20
     section 9 that
     >      > >> describes grammar lifetimes.  There is language in
     >      the session URI
     >      > >> description (section 13.7) that might relate
     >      > >>
     >      > >>       The purpose
     >      > >>       of this scheme is to permit access to the
     >      specific resource for
     >      > >>       the lifetime of the session with the=20
     entity storing the
     >      > >> resource.
     >      > >>
     >      > >> but this is not a normative statement requiring
     >      availability for a
     >      > >> session lifetime.  In practice a MRCP server has a
     >      finite cache and
     >      > >> may support multiple parallel sessions.  It is
     >      unreasonable to
     >      > >> require that the MRCP server provision a sufficiently
     >      large cache
     >      > >> to store all grammars across all sessions,
     >      particularly if sessions
     >      > >> are long and employ large dynamic grammars.  Such a
     >      requirement
     >      > >> would render small footprint MRCP servers impossible.
     >      > >>
     >      > >> If a grammar is flushed from the MRCP server's=20
     cache before
     >      > >> RECOGNIZE, the notification mechanism is unclear.
     >      Presumably a
     >      > >> completion cause of 'grammar-load-failure' would be
     >      returned.  The
     >      > >> server might want to return a list of URIs in the
     >      message but this
     >      > >> would violate 9.4.12
     >      > >>
     >      > >>    Clients SHOULD NOT interpret the completion=20
     reason text.
     >      > >> Instead it
     >      > >>    is RECOMMENDED that the reason be recorded in
     >      client logs and
     >      > >>    otherwise made available for debugging and=20
     instrumentation
     >      > >> purposes.
     >      > >>
     >      > >> and such an approach would need to be standardized.
     >      Additionally,
     >      > >> a developer would like some assurance _before_
     >      RECOGNIZE is invoked
     >      > >> that all the loaded grammars are available.
     >      > >>
     >      > >>
     >      > >> Because MRCP servers have finite memory and=20
     caches, it is not
     >      > >> reasonable to require that grammars be=20
     available on a session
     >      > >> indefinitely after a DEFINE-GRAMMAR.  We might
     >      instead require that
     >      > >> grammars have guaranteed availability on a session
     >      only until the
     >      > >> next call to RECOGNIZE; this also breaks for=20
     the same reason.
     >      > >>
     >      > >>
     >      > >> Here is a solution that I believe works.
     >      > >>
     >      > >> (1) An MRCP server SHOULD retain grammars on each
     >      session created
     >      > >> by a DEFINE-GRAMMAR message until at least the next
     >      RECOGNIZE.  It
     >      > >> MAY retain grammars for much longer.
     >      > >>
     >      > >> (2) DEFINE-GRAMMAR should support redefining grammars
     >      by passing
     >      > >> the IDs without supplying the grammar definition.  The
     >      > >> text/grammar-ref- list media type might be
     >      appropriate for this
     >      > >> purpose.
     >      > >>
     >      > >> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a
     >      completion cause of
     >      > >> either 'grammar-load-failure' or=20
     'grammar-completion-failure'
     >      > >> should include a CRLF separated list detailing=20
     the IDs which
     >      > >> grammars did not load or compile.
     >      > >>
     >      > >> (4) The text in 9.4.11 should support=20
     DEFINE-GRAMMAR returning
     >      > >> 'grammar-
     >      > >> load-failure' and 'grammar-completion-failure'.
     >      > >>
     >      > >> -------------------------
     >      > >>
     >      > >> Under this proposal, the client might do the following:
     >      > >>
     >      > >> DEFINE-GRAMMAR documentLevel1 (new definition)=20
     DEFINE-GRAMMAR
     >      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
     >      formLevel1 (new
     >      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
     >      definition) RECOGNIZE
     >      > >>
     >      > >> DEFINE-GRAMMAR documentLevel1 documentLevel2
     >      formLevel1 (IDs only
     >      > >> to reassert continued need) DEFINE-GRAMMAR=20
     fieldLevel2 (new
     >      > >> definition) RECOGNIZE
     >      > >>
     >      > >> -------------------------
     >      > >>
     >      > >> Likewise, in the typical error case:
     >      > >>
     >      > >> DEFINE-GRAMMAR documentLevel1 (new definition)=20
     DEFINE-GRAMMAR
     >      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
     >      formLevel1 (new
     >      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
     >      definition) RECOGNIZE
     >      > >>
     >      > >> <time passes during which documentLevel2 gets flushed
     >      from the
     >      > >> server's
     >      > >> cache>
     >      > >>
     >      > >> DEFINE-GRAMMAR documentLevel1 documentLevel2
     >      formLevel1 (only to
     >      > >> reassert continued need; an error is returned=20
     indicating that
     >      > >> documentLevel2 could
     >      > >> not load)
     >      > >> DEFINE-GRAMMAR documentLevel2 (new definition)=20
     DEFINE-GRAMMAR
     >      > >> fieldLevel2 (new definition) RECOGNIZE
     >      > >>
     >      > >> -------------------------
     >      > >>
     >      > >> Furthermore, if the client believes that the server
     >      has sufficient
     >      > >> storage capabilities, the existing protocol=20
     may be followed.
     >      > >>
     >      > >> DEFINE-GRAMMAR documentLevel1 (new definition)=20
     DEFINE-GRAMMAR
     >      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
     >      formLevel1 (new
     >      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
     >      definition) RECOGNIZE
     >      > >>
     >      > >> <time passes, but grammars are not flushed>
     >      > >>
     >      > >> DEFINE-GRAMMAR documentLevel2 (new definition)=20
     DEFINE-GRAMMAR
     >      > >> fieldLevel2 (new definition) RECOGNIZE
     >      > >>
     >      > >> Here the client is taking a chance that RECOGNIZE
     >      will fail because
     >      > >> a grammar is not available, but finds that an
     >      acceptable risk.
     >      > >> Were RECOGNIZE to return with 'grammar-load-failure',
     >      the client
     >      > >> would still be able to recover - though the user
     >      might experience
     >      > >> some undesired latency.
     >      > >>
     >      > >
     >      > >
     >      > > _______________________________________________
     >      > > Speechsc mailing list
     >      > > Speechsc@ietf.org
     >      > > https://www1.ietf.org/mailman/listinfo/speechsc
     >=20
     >      _______________________________________________
     >      Speechsc mailing list
     >      Speechsc@ietf.org
     >      https://www1.ietf.org/mailman/listinfo/speechsc
     >=20
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 11:17:59 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU3Zl-0000bp-OO; Thu, 13 Apr 2006 11:17:41 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU3Zj-0000bk-U0
	for speechsc@ietf.org; Thu, 13 Apr 2006 11:17:39 -0400
Received: from e36.co.us.ibm.com ([32.97.110.154])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU3Zi-0008QW-KQ
	for speechsc@ietf.org; Thu, 13 Apr 2006 11:17:39 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
	[9.17.195.11])
	by e36.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3DFHbuT022795
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 11:17:37 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167])
	by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3DFE6QC271528
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 09:14:06 -0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])
	by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3DFHbSD009374
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 09:17:37 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3DFHa8v009330
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 09:17:37 -0600
To: speechsc@ietf.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OFDF261F28.FC161D06-ON8725714F.0051CF5B-8525714F.005401DC@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Thu, 13 Apr 2006 11:20:43 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/13/2006 09:20:45,
	Serialize complete at 04/13/2006 09:20:45
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 769a46790fb42fbb0b0cc700c82f7081
Subject: [Speechsc] message-length clarification
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

What is the reasoning for including the length of the start-line in the=20
message-length value?=20

Seems a bit inconsistent with other textual based protocols including: SIP =

2.0, HTTP 1.1, or even MRCPv1.

5.1.  Common Protocol Elements

   The message-length field specifies the length of the message,
   including the start-line, and MUST be the 2nd token from the
   beginning of the message.  This is to make the framing and parsing of
   the message simpler to do.  This field specifies the length of the
   message including data that may be encoded into the body of the
   message.


5.2.  Request
   The message-length field specifies the length of the message,
   including the start-line.


5.3.  Response
   The message-length field specifies the length of the message,
   including the start-line.

I hope that this is just a wording problem as even some of the examples=20
don't have an accurate message-length value w.r.t draft-9 wording.

Shanmugham & Burnett      Expires June 10, 2006                [Page 99]
=0C
Internet-Draft                   MRCPv2                    December 2005


   S->C:MRCP/2.0 69 543259 200 COMPLETE
   Channel-Identifier:32AECB23433801@speechrecog
           Completion-Cause:000 success

Propose to modify the wording that message-length does NOT include the=20
start-line as an issue to track for the next draft.

Thanks,

Brett Gavagni=20
WebSphere Voice Server Development=20
http://www-306.ibm.com/software/pervasive/voice=5Fserver/
gavagni@us.ibm.com


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 11:45:58 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU416-0000LE-2F; Thu, 13 Apr 2006 11:45:56 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU414-0000L8-Qy
	for speechsc@ietf.org; Thu, 13 Apr 2006 11:45:54 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU414-0000wh-IJ
	for speechsc@ietf.org; Thu, 13 Apr 2006 11:45:54 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Thu, 13 Apr 2006 11:46:42 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2ZTTM8WQ>; Thu, 13 Apr 2006 11:45:52 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03D542BD@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: Brett Gavagni <gavagni@us.ibm.com>
Subject: RE: [Speechsc] message-length clarification
Date: Thu, 13 Apr 2006 11:45:51 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b4a0a5f5992e2a4954405484e7717d8c
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Brett:

I don't understand your comment.  I don't believe that either HTTP 1.1 or
SIP (RFC 3261) requires a length on the initial line.  Can you clarify?

-=- Jerry

> -----Original Message-----
> From: Brett Gavagni [mailto:gavagni@us.ibm.com]
> Sent: Thursday, April 13, 2006 11:21 AM
> To: speechsc@ietf.org
> Subject: [Speechsc] message-length clarification
> 
> What is the reasoning for including the length of the start-line in the
> message-length value?
> 
> Seems a bit inconsistent with other textual based protocols including: SIP
> 2.0, HTTP 1.1, or even MRCPv1.
> 
> 5.1.  Common Protocol Elements
> 
>    The message-length field specifies the length of the message,
>    including the start-line, and MUST be the 2nd token from the
>    beginning of the message.  This is to make the framing and parsing of
>    the message simpler to do.  This field specifies the length of the
>    message including data that may be encoded into the body of the
>    message.
> 
> 
> 5.2.  Request
>    The message-length field specifies the length of the message,
>    including the start-line.
> 
> 
> 5.3.  Response
>    The message-length field specifies the length of the message,
>    including the start-line.
> 
> I hope that this is just a wording problem as even some of the examples
> don't have an accurate message-length value w.r.t draft-9 wording.
> 
> Shanmugham & Burnett      Expires June 10, 2006                [Page 99]
> 
> 
> Internet-Draft                   MRCPv2                    December 2005
> 
> 
>    S->C:MRCP/2.0 69 543259 200 COMPLETE
>    Channel-Identifier:32AECB23433801@speechrecog
>            Completion-Cause:000 success
> 
> Propose to modify the wording that message-length does NOT include the
> start-line as an issue to track for the next draft.
> 
> Thanks,
> 
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
> 
> 
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 11:48:43 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU43d-0001TK-Mk; Thu, 13 Apr 2006 11:48:33 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU43c-0001Qu-GE
	for speechsc@ietf.org; Thu, 13 Apr 2006 11:48:32 -0400
Received: from e35.co.us.ibm.com ([32.97.110.153])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU43b-0000yG-7C
	for speechsc@ietf.org; Thu, 13 Apr 2006 11:48:32 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
	[9.17.195.11])
	by e35.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3DFmU9h019422
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 11:48:30 -0400
Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170])
	by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3DFixQC265562
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 09:44:59 -0600
Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1])
	by d03av04.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3DFmUDU023118
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 09:48:30 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3DFmUNu023115
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 09:48:30 -0600
To: speechsc@ietf.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF438EF0B9.F88A4897-ON8725714F.0055F179-8525714F.0056D5CB@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Thu, 13 Apr 2006 11:51:36 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/13/2006 09:51:38,
	Serialize complete at 04/13/2006 09:51:38
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b19722fc8d3865b147c75ae2495625f2
Subject: [Speechsc] weight-value clarification
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

The ABNF in draft-9 incorrectly defines the precision of the weight-value 
in contrast with the W3C SRGS spec w.r.t  weight attribute of a <item> 
element. 

   weight                =    "Weight" ":" weight-value CRLF

   weight-value          =    1*DIGIT


http://www.w3.org/TR/speech-grammar/#S2.4.1

2.4.1 Weights
A weight may be optionally provided for any number of alternatives in an 
alternative expansion. Weights are simple positive floating point values 
without exponentials. Legal formats are "n", "n.", ".n" and "n.n" where 
"n" is a sequence of one or many digits.

Propose to track an issue for the next draft to redefine weight-value to a 
float similarly as defined: RFC 2425 A MIME Content-Type for Directory 
Information

   float = [sign] 1*DIGIT ["." 1*DIGIT]

   sign = "+" / "-"

Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
(561) 862-2097 T/L (975) 
gavagni@us.ibm.com


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 12:06:03 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU4KW-0002rO-Ky; Thu, 13 Apr 2006 12:06:00 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU4KV-0002k5-2m
	for speechsc@ietf.org; Thu, 13 Apr 2006 12:05:59 -0400
Received: from e33.co.us.ibm.com ([32.97.110.151])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU4KU-0001Oa-NX
	for speechsc@ietf.org; Thu, 13 Apr 2006 12:05:59 -0400
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com
	[9.17.195.106])
	by e33.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3DG5vkC026492
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 12:05:57 -0400
Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169])
	by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3DG9GVw174726
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 10:09:16 -0600
Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1])
	by d03av03.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3DG5ugs023233
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 10:05:56 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3DG5usv023225; Thu, 13 Apr 2006 10:05:56 -0600
In-Reply-To: <F8940C21CD563F49BC884A274C4653DF03D542BD@bn-exch1.speechworks.com>
To: "Carter, Jerry" <jerry.carter@nuance.com>
Subject: RE: [Speechsc] message-length clarification
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF0FA2DD8B.BB3C81C7-ON8725714F.00576282-8525714F.00586EB8@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Thu, 13 Apr 2006 12:09:03 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/13/2006 10:09:04,
	Serialize complete at 04/13/2006 10:09:04
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 1a1bf7677bfe77d8af1ebe0e91045c5b
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

I'll try to clarify, MRCPv2 defines a start-line message-length token for 
the equivalent function that is facilitated by the "Content-Length" header 
used in SIP, HTTP 1.1, and even MRCPv1. 

I don't have a problem with the deviation from the other referenced 
protocols, but the inclusion of the length of the start-line in the 
message-length seems a bit redundant. 

Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
gavagni@us.ibm.com




"Carter, Jerry" <jerry.carter@nuance.com> 
04/13/2006 11:45 AM

To
Brett Gavagni/West Palm Beach/IBM@IBMUS
cc
speechsc@ietf.org
Subject
RE: [Speechsc] message-length clarification






Brett:

I don't understand your comment.  I don't believe that either HTTP 1.1 or
SIP (RFC 3261) requires a length on the initial line.  Can you clarify?

-=- Jerry

> -----Original Message-----
> From: Brett Gavagni [mailto:gavagni@us.ibm.com]
> Sent: Thursday, April 13, 2006 11:21 AM
> To: speechsc@ietf.org
> Subject: [Speechsc] message-length clarification
> 
> What is the reasoning for including the length of the start-line in the
> message-length value?
> 
> Seems a bit inconsistent with other textual based protocols including: 
SIP
> 2.0, HTTP 1.1, or even MRCPv1.
> 
> 5.1.  Common Protocol Elements
> 
>    The message-length field specifies the length of the message,
>    including the start-line, and MUST be the 2nd token from the
>    beginning of the message.  This is to make the framing and parsing of
>    the message simpler to do.  This field specifies the length of the
>    message including data that may be encoded into the body of the
>    message.
> 
> 
> 5.2.  Request
>    The message-length field specifies the length of the message,
>    including the start-line.
> 
> 
> 5.3.  Response
>    The message-length field specifies the length of the message,
>    including the start-line.
> 
> I hope that this is just a wording problem as even some of the examples
> don't have an accurate message-length value w.r.t draft-9 wording.
> 
> Shanmugham & Burnett      Expires June 10, 2006                [Page 99]
> 
> 
> Internet-Draft                   MRCPv2                    December 2005
> 
> 
>    S->C:MRCP/2.0 69 543259 200 COMPLETE
>    Channel-Identifier:32AECB23433801@speechrecog
>            Completion-Cause:000 success
> 
> Propose to modify the wording that message-length does NOT include the
> start-line as an issue to track for the next draft.
> 
> Thanks,
> 
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
> 
> 
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 13:00:03 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU5AX-0008WR-Ut; Thu, 13 Apr 2006 12:59:45 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU5AX-0008WM-8r
	for speechsc@ietf.org; Thu, 13 Apr 2006 12:59:45 -0400
Received: from sj-iport-4.cisco.com ([171.68.10.86])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU5AW-0003Gc-Vi
	for speechsc@ietf.org; Thu, 13 Apr 2006 12:59:45 -0400
Received: from sj-core-3.cisco.com ([171.68.223.137])
	by sj-iport-4.cisco.com with ESMTP; 13 Apr 2006 09:59:45 -0700
X-IronPort-AV: i="4.04,118,1144047600"; 
	d="scan'208"; a="1794751761:sNHT31138478"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-3.cisco.com (8.12.10/8.12.6) with ESMTP id k3DGxiVI001418;
	Thu, 13 Apr 2006 09:59:44 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] message-length clarification
Date: Thu, 13 Apr 2006 09:59:43 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE4053A@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] message-length clarification
Thread-Index: AcZfDbP9ICtwbgQjQh6yjs70RahUQQAB//tQ
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Brett Gavagni" <gavagni@us.ibm.com>, <speechsc@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 4b800b1eab964a31702fa68f1ff0e955
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Do you see any specific implementation or efficiency issue with the way
it is defined today.=20


Sarvi

     -----Original Message-----
     From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
     Sent: Thursday, April 13, 2006 8:21 AM
     To: speechsc@ietf.org
     Subject: [Speechsc] message-length clarification
    =20
     What is the reasoning for including the length of the=20
     start-line in the message-length value?=20
    =20
     Seems a bit inconsistent with other textual based=20
     protocols including: SIP 2.0, HTTP 1.1, or even MRCPv1.
    =20
     5.1.  Common Protocol Elements
    =20
        The message-length field specifies the length of the message,
        including the start-line, and MUST be the 2nd token from the
        beginning of the message.  This is to make the framing=20
     and parsing of
        the message simpler to do.  This field specifies the=20
     length of the
        message including data that may be encoded into the body of the
        message.
    =20
    =20
     5.2.  Request
        The message-length field specifies the length of the message,
        including the start-line.
    =20
    =20
     5.3.  Response
        The message-length field specifies the length of the message,
        including the start-line.
    =20
     I hope that this is just a wording problem as even some of=20
     the examples don't have an accurate message-length value=20
     w.r.t draft-9 wording.
    =20
     Shanmugham & Burnett      Expires June 10, 2006           =20
         [Page 99]
     =0C    =20
     Internet-Draft                   MRCPv2                   =20
     December 2005
    =20
    =20
        S->C:MRCP/2.0 69 543259 200 COMPLETE
        Channel-Identifier:32AECB23433801@speechrecog
                Completion-Cause:000 success
    =20
     Propose to modify the wording that message-length does NOT=20
     include the start-line as an issue to track for the next draft.
    =20
     Thanks,
    =20
     Brett Gavagni
     WebSphere Voice Server Development
     http://www-306.ibm.com/software/pervasive/voice_server/
     gavagni@us.ibm.com
    =20
    =20
     _______________________________________________
     Speechsc mailing list
     Speechsc@ietf.org
     https://www1.ietf.org/mailman/listinfo/speechsc
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 13:57:58 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU64h-0005jL-NY; Thu, 13 Apr 2006 13:57:47 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU64g-0005jG-NG
	for speechsc@ietf.org; Thu, 13 Apr 2006 13:57:46 -0400
Received: from e33.co.us.ibm.com ([32.97.110.151])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU64g-0005HX-B2
	for speechsc@ietf.org; Thu, 13 Apr 2006 13:57:46 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
	[9.17.195.11])
	by e33.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3DHvZYk002711
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 13:57:45 -0400
Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169])
	by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3DHjVQC203750
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 11:45:31 -0600
Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1])
	by d03av03.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3DHn17T024413
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 11:49:01 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3DHn0tv024388; Thu, 13 Apr 2006 11:49:00 -0600
In-Reply-To: <03772D1EC8DE624A863058C75874A75CE4053A@vtg-um-e2k6.sj21ad.cisco.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>
Subject: RE: [Speechsc] message-length clarification
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OFBF7B4C3A.9E89782A-ON8725714F.005EE117-8525714F.0061DE0A@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Thu, 13 Apr 2006 13:52:06 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/13/2006 11:52:08,
	Serialize complete at 04/13/2006 11:52:08
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0ff9c467ad7f19c2a6d058acd7faaec8
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Yes, there are efficiency issues with the way that the message-length is=20
defined today in MRCPv2.=20

An example is when a server needs to send a message to the client. The=20
server would need to calculate the size of the MRCP message, and then=20
modify the start-line message-length token.

Is there any compelling reason why the message-length should include the=20
length of the start-line?=20

I would also be curious as for the reasoning related to the general=20
deviation in the request-line and event-line start-line definition from=20
MRCPv1. The MRCPv1 ABNF syntax was similar to what is defined for SIP and=20
HTTP 1.1 w.r.t. to token order.=20

Why does the MCRPv2 request-line and the event-line start-line have=20
mrcp-version for the first token (which is what I would expect for the=20
status-line)?

MRCPv2
   start-line       =3D    request-line / status-line / event-line

   request-line   =3D    mrcp-version SP message-length SP method-name SP=20
request-id CRLF

   event-line       =3D    mrcp-version SP message-length SP event-name SP =

request-id SP request-state CRLF

The following protocols are very similar syntactically w.r.t. the=20
request-line start-line.

RFC 2616 - HTTP 1.1
   Request-Line   =3D Method SP Request-URI SP HTTP-Version CRLF

RFC 3261 - SIP  2.0
   Request-Line   =3D  Method SP Request-URI SP SIP-Version CRLF

mrcp-07 - MRCPv1=20
    request-line   =3D  method-name SP request-id SP  mrcp-version CRLF=20
=20
    event-line     =3D    event-name SP request-id SP  request-state SP=20
mrcp-version CRLF=20

Thanks,

Brett Gavagni=20
WebSphere Voice Server Development=20
http://www-306.ibm.com/software/pervasive/voice=5Fserver/
(561) 862-2097 T/L (975)=20
gavagni@us.ibm.com




"Shanmugham, Saravanan" <sarvi@cisco.com>=20
04/13/2006 12:59 PM

To
Brett Gavagni/West Palm Beach/IBM@IBMUS, <speechsc@ietf.org>
cc

Subject
RE: [Speechsc] message-length clarification






Do you see any specific implementation or efficiency issue with the way
it is defined today.=20


Sarvi

     -----Original Message-----
     From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
     Sent: Thursday, April 13, 2006 8:21 AM
     To: speechsc@ietf.org
     Subject: [Speechsc] message-length clarification
=20
     What is the reasoning for including the length of the=20
     start-line in the message-length value?=20
=20
     Seems a bit inconsistent with other textual based=20
     protocols including: SIP 2.0, HTTP 1.1, or even MRCPv1.
=20
     5.1.  Common Protocol Elements
=20
        The message-length field specifies the length of the message,
        including the start-line, and MUST be the 2nd token from the
        beginning of the message.  This is to make the framing=20
     and parsing of
        the message simpler to do.  This field specifies the=20
     length of the
        message including data that may be encoded into the body of the
        message.
=20
=20
     5.2.  Request
        The message-length field specifies the length of the message,
        including the start-line.
=20
=20
     5.3.  Response
        The message-length field specifies the length of the message,
        including the start-line.
=20
     I hope that this is just a wording problem as even some of=20
     the examples don't have an accurate message-length value=20
     w.r.t draft-9 wording.
=20
     Shanmugham & Burnett      Expires June 10, 2006=20
         [Page 99]
     =0C=20
     Internet-Draft                   MRCPv2=20
     December 2005
=20
=20
        S->C:MRCP/2.0 69 543259 200 COMPLETE
        Channel-Identifier:32AECB23433801@speechrecog
                Completion-Cause:000 success
=20
     Propose to modify the wording that message-length does NOT=20
     include the start-line as an issue to track for the next draft.
=20
     Thanks,
=20
     Brett Gavagni
     WebSphere Voice Server Development
     http://www-306.ibm.com/software/pervasive/voice=5Fserver/
     gavagni@us.ibm.com
=20
=20
     =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
     Speechsc mailing list
     Speechsc@ietf.org
     https://www1.ietf.org/mailman/listinfo/speechsc
=20



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 14:25:52 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU6Vm-0004Pa-TT; Thu, 13 Apr 2006 14:25:46 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU6Vl-0004PV-Rx
	for speechsc@ietf.org; Thu, 13 Apr 2006 14:25:45 -0400
Received: from sj-iport-5.cisco.com ([171.68.10.87])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU6Vk-0006NH-AX
	for speechsc@ietf.org; Thu, 13 Apr 2006 14:25:45 -0400
Received: from sj-core-4.cisco.com ([171.68.223.138])
	by sj-iport-5.cisco.com with ESMTP; 13 Apr 2006 11:25:44 -0700
X-IronPort-AV: i="4.04,118,1144047600"; 
	d="scan'208"; a="268606143:sNHT33222380"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k3DIPhYg002929;
	Thu, 13 Apr 2006 11:25:43 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] message-length clarification
Date: Thu, 13 Apr 2006 11:25:42 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE40575@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] message-length clarification
Thread-Index: AcZfIrLGOFbZfMfGTeK5z8HBn0jO6AABA5gw
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Brett Gavagni" <gavagni@us.ibm.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0e9ebc0cbd700a87c0637ad0e2c91610
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

See inline.=20

     -----Original Message-----
     From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
     Sent: Thursday, April 13, 2006 10:52 AM
     To: Shanmugham, Saravanan
     Cc: speechsc@ietf.org
     Subject: RE: [Speechsc] message-length clarification
    =20
     Yes, there are efficiency issues with the way that the=20
     message-length is defined today in MRCPv2.=20
    =20
     An example is when a server needs to send a message to the=20
     client. The server would need to calculate the size of the=20
     MRCP message, and then modify the start-line message-length token.

Sarvi>> I don't see the issue here. You need calculate the message
length and put in the header whether the length includes the header-line
or not. I am not convinced this is significant enough o warrant a change
this alte in the spec.

Sarvi>> Also the length field was added earlier and at a specific
location after the version information, so as to make the parsing of the
message efficient. This way the moment the parse reads the first 2
tokens, it has the MRCP version number and the message to look forward
to allowing for an efficient parser implementation. Which was one the
reasons we went for the current definition of the header line.
    =20
     Is there any compelling reason why the message-length=20
     should include the length of the start-line?=20
    =20
     I would also be curious as for the reasoning related to=20
     the general deviation in the request-line and event-line=20
     start-line definition from MRCPv1. The MRCPv1 ABNF syntax=20
     was similar to what is defined for SIP and HTTP 1.1 w.r.t.=20
     to token order.=20
    =20
     Why does the MCRPv2 request-line and the event-line=20
     start-line have mrcp-version for the first token (which is=20
     what I would expect for the status-line)?
Sarvi>> The reason for having version and length information earlier on
is described above.

Thx,
Sarvi
    =20
     MRCPv2
        start-line       =3D    request-line / status-line / event-line
    =20
        request-line   =3D    mrcp-version SP message-length SP=20
     method-name SP=20
     request-id CRLF
    =20
        event-line       =3D    mrcp-version SP message-length SP=20
     event-name SP=20
     request-id SP request-state CRLF
    =20
     The following protocols are very similar syntactically=20
     w.r.t. the request-line start-line.
    =20
     RFC 2616 - HTTP 1.1
        Request-Line   =3D Method SP Request-URI SP HTTP-Version CRLF
    =20
     RFC 3261 - SIP  2.0
        Request-Line   =3D  Method SP Request-URI SP SIP-Version CRLF
    =20
     mrcp-07 - MRCPv1=20
         request-line   =3D  method-name SP request-id SP =20
     mrcp-version CRLF=20
     =20
         event-line     =3D    event-name SP request-id SP =20
     request-state SP=20
     mrcp-version CRLF=20
    =20
     Thanks,
    =20
     Brett Gavagni
     WebSphere Voice Server Development
     http://www-306.ibm.com/software/pervasive/voice_server/
     (561) 862-2097 T/L (975)
     gavagni@us.ibm.com
    =20
    =20
    =20
    =20
     "Shanmugham, Saravanan" <sarvi@cisco.com>
     04/13/2006 12:59 PM
    =20
     To
     Brett Gavagni/West Palm Beach/IBM@IBMUS, <speechsc@ietf.org> cc
    =20
     Subject
     RE: [Speechsc] message-length clarification
    =20
    =20
    =20
    =20
    =20
    =20
     Do you see any specific implementation or efficiency issue=20
     with the way it is defined today.=20
    =20
    =20
     Sarvi
    =20
          -----Original Message-----
          From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
          Sent: Thursday, April 13, 2006 8:21 AM
          To: speechsc@ietf.org
          Subject: [Speechsc] message-length clarification
     =20
          What is the reasoning for including the length of the=20
          start-line in the message-length value?=20
     =20
          Seems a bit inconsistent with other textual based=20
          protocols including: SIP 2.0, HTTP 1.1, or even MRCPv1.
     =20
          5.1.  Common Protocol Elements
     =20
             The message-length field specifies the length of=20
     the message,
             including the start-line, and MUST be the 2nd=20
     token from the
             beginning of the message.  This is to make the framing=20
          and parsing of
             the message simpler to do.  This field specifies the=20
          length of the
             message including data that may be encoded into=20
     the body of the
             message.
     =20
     =20
          5.2.  Request
             The message-length field specifies the length of=20
     the message,
             including the start-line.
     =20
     =20
          5.3.  Response
             The message-length field specifies the length of=20
     the message,
             including the start-line.
     =20
          I hope that this is just a wording problem as even some of=20
          the examples don't have an accurate message-length value=20
          w.r.t draft-9 wording.
     =20
          Shanmugham & Burnett      Expires June 10, 2006=20
              [Page 99]
          =0C     =20
          Internet-Draft                   MRCPv2=20
          December 2005
     =20
     =20
             S->C:MRCP/2.0 69 543259 200 COMPLETE
             Channel-Identifier:32AECB23433801@speechrecog
                     Completion-Cause:000 success
     =20
          Propose to modify the wording that message-length does NOT=20
          include the start-line as an issue to track for the=20
     next draft.
     =20
          Thanks,
     =20
          Brett Gavagni
          WebSphere Voice Server Development
          http://www-306.ibm.com/software/pervasive/voice_server/
          gavagni@us.ibm.com
     =20
     =20
          _______________________________________________
          Speechsc mailing list
          Speechsc@ietf.org
          https://www1.ietf.org/mailman/listinfo/speechsc
     =20
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 15:02:02 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU74q-0007iu-85; Thu, 13 Apr 2006 15:02:00 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU74p-0007ip-4I
	for speechsc@ietf.org; Thu, 13 Apr 2006 15:01:59 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU74n-0007PH-Qu
	for speechsc@ietf.org; Thu, 13 Apr 2006 15:01:59 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Thu, 13 Apr 2006 15:02:46 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2ZTTNK9R>; Thu, 13 Apr 2006 15:01:56 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03D54684@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: Brett Gavagni <gavagni@us.ibm.com>, speechsc@ietf.org
Subject: RE: [Speechsc] weight-value clarification
Date: Thu, 13 Apr 2006 15:01:55 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c0bedb65cce30976f0bf60a0a39edea4
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Brett:

The use of weight in 9.4.42 currently refers only to voice enrollment.

There is a second and unrelated concept of 'weight' indicating the weight of
the entire grammar.  This concept is motivated by VoiceXML 2.0 [1] but
applicable in other contexts.

The language is VXML 2.0 is based on SRGS.

    Legal formats are "n", "n.", ".n" and "n.n" where "n" is a 
    sequence of one or many digits.

I have recently suggested [2] that weight be supported for recognition
grammars directly in RECOGNIZE messages.  If there is agreement on that,
then we'd probably want to change the weight-value to support floating point
numbers.

-=- Jerry

[1] http://www.w3.org/TR/2004/REC-voicexml20-20040316/#dml3.1.1.3 
[2] http://www1.ietf.org/mail-archive/web/speechsc/current/msg01719.html 

> -----Original Message-----
> From: Brett Gavagni [mailto:gavagni@us.ibm.com]
> Sent: Thursday, April 13, 2006 11:52 AM
> To: speechsc@ietf.org
> Subject: [Speechsc] weight-value clarification
> 
> The ABNF in draft-9 incorrectly defines the precision of the weight-value
> in contrast with the W3C SRGS spec w.r.t  weight attribute of a <item>
> element.
> 
>    weight                =    "Weight" ":" weight-value CRLF
> 
>    weight-value          =    1*DIGIT
> 
> 
> http://www.w3.org/TR/speech-grammar/#S2.4.1
> 
> 2.4.1 Weights
> A weight may be optionally provided for any number of alternatives in an
> alternative expansion. Weights are simple positive floating point values
> without exponentials. Legal formats are "n", "n.", ".n" and "n.n" where
> "n" is a sequence of one or many digits.
> 
> Propose to track an issue for the next draft to redefine weight-value to a
> float similarly as defined: RFC 2425 A MIME Content-Type for Directory
> Information
> 
>    float = [sign] 1*DIGIT ["." 1*DIGIT]
> 
>    sign = "+" / "-"
> 
> Thanks,
> 
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> (561) 862-2097 T/L (975)
> gavagni@us.ibm.com
> 
> 
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 15:36:32 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU7c6-00029H-2f; Thu, 13 Apr 2006 15:36:22 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU7c5-000296-3I
	for speechsc@ietf.org; Thu, 13 Apr 2006 15:36:21 -0400
Received: from e36.co.us.ibm.com ([32.97.110.154])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU7by-0008Sc-IX
	for speechsc@ietf.org; Thu, 13 Apr 2006 15:36:15 -0400
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com
	[9.17.195.106])
	by e36.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3DJaDac020302
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 15:36:13 -0400
Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170])
	by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3DJdWVw191646
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 13:39:32 -0600
Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1])
	by d03av04.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3DJaDR3015536
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 13:36:13 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3DJaDWx015516; Thu, 13 Apr 2006 13:36:13 -0600
In-Reply-To: <03772D1EC8DE624A863058C75874A75CE40575@vtg-um-e2k6.sj21ad.cisco.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>
Subject: RE: [Speechsc] message-length clarification
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF97B1D657.C30FD731-ON8725714F.0065F9F1-8525714F.006BAE5E@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Thu, 13 Apr 2006 15:39:18 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/13/2006 13:39:20,
	Serialize complete at 04/13/2006 13:39:20
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 850245b51c39701e2700a112f3032caa
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

My comments in-line.

Thanks,

Brett Gavagni=20
WebSphere Voice Server Development=20
http://www-306.ibm.com/software/pervasive/voice=5Fserver/
(561) 862-2097 T/L (975)=20
gavagni@us.ibm.com




"Shanmugham, Saravanan" <sarvi@cisco.com>=20
04/13/2006 02:25 PM

To
Brett Gavagni/West Palm Beach/IBM@IBMUS
cc
<speechsc@ietf.org>
Subject
RE: [Speechsc] message-length clarification






See inline.=20

     -----Original Message-----
     From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
     Sent: Thursday, April 13, 2006 10:52 AM
     To: Shanmugham, Saravanan
     Cc: speechsc@ietf.org
     Subject: RE: [Speechsc] message-length clarification
=20
     Yes, there are efficiency issues with the way that the=20
     message-length is defined today in MRCPv2.=20
=20
     An example is when a server needs to send a message to the=20
     client. The server would need to calculate the size of the=20
     MRCP message, and then modify the start-line message-length token.

Sarvi>> I don't see the issue here. You need calculate the message
length and put in the header whether the length includes the header-line
or not. I am not convinced this is significant enough o warrant a change
this alte in the spec.

Brett>> Agree that the server will always need to calculate the=20
message-length.=20
I'm arguing that the current wording in draft-9 w.r.t. message-length=20
shouldn't=20
include the size of the start-line. As I indicated in earlier in this=20
thread,=20
there are multiple examples throughout draft-9 which do NOT reflect the=20
wording=20
that the start-line should be included in the message-length.
=20
Neither one of the examples below have a message-length token value in the =


start-line that reflects the wording requiring the size of the start-line=20
length
in the message-length. The client message is >124 including the=20
start=5Fline, and=20
server message is >47 including the start-line.

6.1.1.  SET-PARAMS

   C->S:  MRCP/2.0 124 SET-PARAMS 543256
          Channel-Identifier:32AECB23433802@speechsynth
          Voice-gender:female
          Voice-variant:3

   S->C:  MRCP/2.0 47 543256 200 COMPLETE
          Channel-Identifier:32AECB23433802@speechsynth

I don't think that the examples are incorrect, but rather the wording in=20
the draft
is counter productive.

Sarvi>> Also the length field was added earlier and at a specific
location after the version information, so as to make the parsing of the
message efficient. This way the moment the parse reads the first 2
tokens, it has the MRCP version number and the message to look forward
to allowing for an efficient parser implementation. Which was one the
reasons we went for the current definition of the header line.

=20
     Is there any compelling reason why the message-length=20
     should include the length of the start-line?=20
=20
     I would also be curious as for the reasoning related to=20
     the general deviation in the request-line and event-line=20
     start-line definition from MRCPv1. The MRCPv1 ABNF syntax=20
     was similar to what is defined for SIP and HTTP 1.1 w.r.t.=20
     to token order.=20
=20
     Why does the MCRPv2 request-line and the event-line=20
     start-line have mrcp-version for the first token (which is=20
     what I would expect for the status-line)?
Sarvi>> The reason for having version and length information earlier on
is described above.

Brett>> IMO, deviating from HTTP-like similarities will hinder NOT enhance =


interoperability. For example, MRCPv2 could've been defined in ASN.1 if
HTTP-like similarities weren't a beneficial proponent for MRCPv2=20
embracement/adoption. =3D)

Thx,
Sarvi
=20
     MRCPv2
        start-line       =3D    request-line / status-line / event-line
=20
        request-line   =3D    mrcp-version SP message-length SP=20
     method-name SP=20
     request-id CRLF
=20
        event-line       =3D    mrcp-version SP message-length SP=20
     event-name SP=20
     request-id SP request-state CRLF
=20
     The following protocols are very similar syntactically=20
     w.r.t. the request-line start-line.
=20
     RFC 2616 - HTTP 1.1
        Request-Line   =3D Method SP Request-URI SP HTTP-Version CRLF
=20
     RFC 3261 - SIP  2.0
        Request-Line   =3D  Method SP Request-URI SP SIP-Version CRLF
=20
     mrcp-07 - MRCPv1=20
         request-line   =3D  method-name SP request-id SP=20
     mrcp-version CRLF=20
=20
         event-line     =3D    event-name SP request-id SP=20
     request-state SP=20
     mrcp-version CRLF=20
=20
     Thanks,
=20
     Brett Gavagni
     WebSphere Voice Server Development
     http://www-306.ibm.com/software/pervasive/voice=5Fserver/
     (561) 862-2097 T/L (975)
     gavagni@us.ibm.com
=20
=20
=20
=20
     "Shanmugham, Saravanan" <sarvi@cisco.com>
     04/13/2006 12:59 PM
=20
     To
     Brett Gavagni/West Palm Beach/IBM@IBMUS, <speechsc@ietf.org> cc
=20
     Subject
     RE: [Speechsc] message-length clarification
=20
=20
=20
=20
=20
=20
     Do you see any specific implementation or efficiency issue=20
     with the way it is defined today.=20
=20
=20
     Sarvi
=20
          -----Original Message-----
          From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
          Sent: Thursday, April 13, 2006 8:21 AM
          To: speechsc@ietf.org
          Subject: [Speechsc] message-length clarification
=20
          What is the reasoning for including the length of the=20
          start-line in the message-length value?=20
=20
          Seems a bit inconsistent with other textual based=20
          protocols including: SIP 2.0, HTTP 1.1, or even MRCPv1.
=20
          5.1.  Common Protocol Elements
=20
             The message-length field specifies the length of=20
     the message,
             including the start-line, and MUST be the 2nd=20
     token from the
             beginning of the message.  This is to make the framing=20
          and parsing of
             the message simpler to do.  This field specifies the=20
          length of the
             message including data that may be encoded into=20
     the body of the
             message.
=20
=20
          5.2.  Request
             The message-length field specifies the length of=20
     the message,
             including the start-line.
=20
=20
          5.3.  Response
             The message-length field specifies the length of=20
     the message,
             including the start-line.
=20
          I hope that this is just a wording problem as even some of=20
          the examples don't have an accurate message-length value=20
          w.r.t draft-9 wording.
=20
          Shanmugham & Burnett      Expires June 10, 2006=20
              [Page 99]
          =0C=20
          Internet-Draft                   MRCPv2=20
          December 2005
=20
=20
             S->C:MRCP/2.0 69 543259 200 COMPLETE
             Channel-Identifier:32AECB23433801@speechrecog
                     Completion-Cause:000 success
=20
          Propose to modify the wording that message-length does NOT=20
          include the start-line as an issue to track for the=20
     next draft.
=20
          Thanks,
=20
          Brett Gavagni
          WebSphere Voice Server Development
          http://www-306.ibm.com/software/pervasive/voice=5Fserver/
          gavagni@us.ibm.com
=20
=20
          =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F
          Speechsc mailing list
          Speechsc@ietf.org
          https://www1.ietf.org/mailman/listinfo/speechsc
=20
=20



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 16:22:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU8K2-000619-Ad; Thu, 13 Apr 2006 16:21:46 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU8K1-000614-LI
	for speechsc@ietf.org; Thu, 13 Apr 2006 16:21:45 -0400
Received: from sj-iport-5.cisco.com ([171.68.10.87])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU8K1-0002ik-0h
	for speechsc@ietf.org; Thu, 13 Apr 2006 16:21:45 -0400
Received: from sj-core-4.cisco.com ([171.68.223.138])
	by sj-iport-5.cisco.com with ESMTP; 13 Apr 2006 13:21:44 -0700
X-IronPort-AV: i="4.04,118,1144047600"; 
	d="scan'208"; a="268631697:sNHT34363924"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k3DKLhYg028493;
	Thu, 13 Apr 2006 13:21:43 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] message-length clarification
Date: Thu, 13 Apr 2006 13:21:42 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE405B4@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] message-length clarification
Thread-Index: AcZfMYjE717VDI2DQ5CqwBM40zYExgABJBqg
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Brett Gavagni" <gavagni@us.ibm.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7f3fa64b9851a63d7f3174ef64114da7
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Hi Bret,=20
    We are at a stage in the spec development, where we would like to
restrict changes to  clarifications and significant issues that would
impede implementation or usage of the protocol

1. The point that the message length in the examples are not accurate,
is true. But that will be true irrrespective of whether the length field
includes the header or not. That is because, they were never accurately
calculated in the first place. And this has been discussed before and I
do't think there is any plan to fix this.

2. On the topic of message length inlcuding or excluding the header
line, I have not heard a strong enough argument to warant a change in
the document this late in the specification.=20

3. Same thing with the position of Version number in the header line.

So unless I hear very strong objections to the above conclusions on this
issues from  more folks, I would like to leave the deinfition of the
headers as is, with may be clarification that the message length in the
examples should not be assumed to be accurate.

Thanks,
Sarvi
 =20

     -----Original Message-----
     From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
     Sent: Thursday, April 13, 2006 12:39 PM
     To: Shanmugham, Saravanan
     Cc: speechsc@ietf.org
     Subject: RE: [Speechsc] message-length clarification
    =20
     My comments in-line.
    =20
     Thanks,
    =20
     Brett Gavagni
     WebSphere Voice Server Development
     http://www-306.ibm.com/software/pervasive/voice_server/
     (561) 862-2097 T/L (975)
     gavagni@us.ibm.com
    =20
    =20
    =20
    =20
     "Shanmugham, Saravanan" <sarvi@cisco.com>
     04/13/2006 02:25 PM
    =20
     To
     Brett Gavagni/West Palm Beach/IBM@IBMUS
     cc
     <speechsc@ietf.org>
     Subject
     RE: [Speechsc] message-length clarification
    =20
    =20
    =20
    =20
    =20
    =20
     See inline.=20
    =20
          -----Original Message-----
          From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
          Sent: Thursday, April 13, 2006 10:52 AM
          To: Shanmugham, Saravanan
          Cc: speechsc@ietf.org
          Subject: RE: [Speechsc] message-length clarification
     =20
          Yes, there are efficiency issues with the way that the=20
          message-length is defined today in MRCPv2.=20
     =20
          An example is when a server needs to send a message to the=20
          client. The server would need to calculate the size of the=20
          MRCP message, and then modify the start-line=20
     message-length token.
    =20
     Sarvi>> I don't see the issue here. You need calculate the message
     length and put in the header whether the length includes=20
     the header-line or not. I am not convinced this is=20
     significant enough o warrant a change this alte in the spec.
    =20
     Brett>> Agree that the server will always need to calculate the
     message-length.=20
     I'm arguing that the current wording in draft-9 w.r.t.=20
     message-length shouldn't include the size of the=20
     start-line. As I indicated in earlier in this thread,=20
     there are multiple examples throughout draft-9 which do=20
     NOT reflect the wording that the start-line should be=20
     included in the message-length.
     =20
     Neither one of the examples below have a message-length=20
     token value in the=20
    =20
     start-line that reflects the wording requiring the size of=20
     the start-line length in the message-length. The client=20
     message is >124 including the start_line, and server=20
     message is >47 including the start-line.
    =20
     6.1.1.  SET-PARAMS
    =20
        C->S:  MRCP/2.0 124 SET-PARAMS 543256
               Channel-Identifier:32AECB23433802@speechsynth
               Voice-gender:female
               Voice-variant:3
    =20
        S->C:  MRCP/2.0 47 543256 200 COMPLETE
               Channel-Identifier:32AECB23433802@speechsynth
    =20
     I don't think that the examples are incorrect, but rather=20
     the wording in the draft is counter productive.
    =20
     Sarvi>> Also the length field was added earlier and at a specific
     location after the version information, so as to make the=20
     parsing of the message efficient. This way the moment the=20
     parse reads the first 2 tokens, it has the MRCP version=20
     number and the message to look forward to allowing for an=20
     efficient parser implementation. Which was one the reasons=20
     we went for the current definition of the header line.
    =20
     =20
          Is there any compelling reason why the message-length=20
          should include the length of the start-line?=20
     =20
          I would also be curious as for the reasoning related to=20
          the general deviation in the request-line and event-line=20
          start-line definition from MRCPv1. The MRCPv1 ABNF syntax=20
          was similar to what is defined for SIP and HTTP 1.1 w.r.t.=20
          to token order.=20
     =20
          Why does the MCRPv2 request-line and the event-line=20
          start-line have mrcp-version for the first token (which is=20
          what I would expect for the status-line)?
     Sarvi>> The reason for having version and length=20
     information earlier on
     is described above.
    =20
     Brett>> IMO, deviating from HTTP-like similarities will hinder NOT=20
     Brett>> enhance
    =20
     interoperability. For example, MRCPv2 could've been=20
     defined in ASN.1 if HTTP-like similarities weren't a=20
     beneficial proponent for MRCPv2 embracement/adoption. =3D)
    =20
     Thx,
     Sarvi
     =20
          MRCPv2
             start-line       =3D    request-line / status-line /=20
     event-line
     =20
             request-line   =3D    mrcp-version SP message-length SP=20
          method-name SP=20
          request-id CRLF
     =20
             event-line       =3D    mrcp-version SP message-length SP=20
          event-name SP=20
          request-id SP request-state CRLF
     =20
          The following protocols are very similar syntactically=20
          w.r.t. the request-line start-line.
     =20
          RFC 2616 - HTTP 1.1
             Request-Line   =3D Method SP Request-URI SP HTTP-Version =
CRLF
     =20
          RFC 3261 - SIP  2.0
             Request-Line   =3D  Method SP Request-URI SP SIP-Version =
CRLF
     =20
          mrcp-07 - MRCPv1=20
              request-line   =3D  method-name SP request-id SP=20
          mrcp-version CRLF=20
     =20
              event-line     =3D    event-name SP request-id SP=20
          request-state SP=20
          mrcp-version CRLF=20
     =20
          Thanks,
     =20
          Brett Gavagni
          WebSphere Voice Server Development
          http://www-306.ibm.com/software/pervasive/voice_server/
          (561) 862-2097 T/L (975)
          gavagni@us.ibm.com
     =20
     =20
     =20
     =20
          "Shanmugham, Saravanan" <sarvi@cisco.com>
          04/13/2006 12:59 PM
     =20
          To
          Brett Gavagni/West Palm Beach/IBM@IBMUS,=20
     <speechsc@ietf.org> cc
     =20
          Subject
          RE: [Speechsc] message-length clarification
     =20
     =20
     =20
     =20
     =20
     =20
          Do you see any specific implementation or efficiency issue=20
          with the way it is defined today.=20
     =20
     =20
          Sarvi
     =20
               -----Original Message-----
               From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
               Sent: Thursday, April 13, 2006 8:21 AM
               To: speechsc@ietf.org
               Subject: [Speechsc] message-length clarification
     =20
               What is the reasoning for including the length of the=20
               start-line in the message-length value?=20
     =20
               Seems a bit inconsistent with other textual based=20
               protocols including: SIP 2.0, HTTP 1.1, or even MRCPv1.
     =20
               5.1.  Common Protocol Elements
     =20
                  The message-length field specifies the length of=20
          the message,
                  including the start-line, and MUST be the 2nd=20
          token from the
                  beginning of the message.  This is to make=20
     the framing=20
               and parsing of
                  the message simpler to do.  This field specifies the=20
               length of the
                  message including data that may be encoded into=20
          the body of the
                  message.
     =20
     =20
               5.2.  Request
                  The message-length field specifies the length of=20
          the message,
                  including the start-line.
     =20
     =20
               5.3.  Response
                  The message-length field specifies the length of=20
          the message,
                  including the start-line.
     =20
               I hope that this is just a wording problem as=20
     even some of=20
               the examples don't have an accurate message-length value=20
               w.r.t draft-9 wording.
     =20
               Shanmugham & Burnett      Expires June 10, 2006=20
                   [Page 99]
               =0C     =20
               Internet-Draft                   MRCPv2=20
               December 2005
     =20
     =20
                  S->C:MRCP/2.0 69 543259 200 COMPLETE
                  Channel-Identifier:32AECB23433801@speechrecog
                          Completion-Cause:000 success
     =20
               Propose to modify the wording that=20
     message-length does NOT=20
               include the start-line as an issue to track for the=20
          next draft.
     =20
               Thanks,
     =20
               Brett Gavagni
               WebSphere Voice Server Development
               http://www-306.ibm.com/software/pervasive/voice_server/
               gavagni@us.ibm.com
     =20
     =20
               _______________________________________________
               Speechsc mailing list
               Speechsc@ietf.org
               https://www1.ietf.org/mailman/listinfo/speechsc
     =20
     =20
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 16:49:30 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU8kq-0002oA-9n; Thu, 13 Apr 2006 16:49:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU8kp-0002o5-32
	for speechsc@ietf.org; Thu, 13 Apr 2006 16:49:27 -0400
Received: from e33.co.us.ibm.com ([32.97.110.151])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU8kn-0003F8-Ej
	for speechsc@ietf.org; Thu, 13 Apr 2006 16:49:27 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
	[9.17.195.11])
	by e33.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3DKnOLk010465
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 16:49:24 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167])
	by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3DKjpQC262804
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 14:45:53 -0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])
	by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3DKnLZD015631
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 14:49:21 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3DKnLft015622; Thu, 13 Apr 2006 14:49:21 -0600
In-Reply-To: <03772D1EC8DE624A863058C75874A75CE405B4@vtg-um-e2k6.sj21ad.cisco.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>
Subject: RE: [Speechsc] message-length clarification
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF09F0DDCC.7167086A-ON8725714F.007133CB-8525714F.007260F7@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Thu, 13 Apr 2006 16:52:27 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/13/2006 14:52:29,
	Serialize complete at 04/13/2006 14:52:29
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b5299d0955d21ceeb18e25a232290fec
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Hi Sarvi,

I realize that it may be late in the game for addressing problems in the=20
specification, but I would evangelize that its cheaper to pay now=20
(potential standardization delays) than to pay later (poor adoption) due=20
to convolution and problematic issues in the spec.

Since the session control for MRCPv2 is separated (a la SIP, RTSP, etc..)=20
and not tunnelled, what would be the compelling reason that the=20
message-length token exist in the start-line especially since the=20
"Content-Length" header?

I'm now  proposing the removal of the message-length token from the=20
start-line in entirety, as it is at least redundant and deviating from the =

HTTP-like conventions leveraged throughout the spec.

Thanks,

Brett Gavagni=20
WebSphere Voice Server Development=20
http://www-306.ibm.com/software/pervasive/voice=5Fserver/
gavagni@us.ibm.com




"Shanmugham, Saravanan" <sarvi@cisco.com>=20
04/13/2006 04:21 PM

To
Brett Gavagni/West Palm Beach/IBM@IBMUS
cc
<speechsc@ietf.org>
Subject
RE: [Speechsc] message-length clarification






Hi Bret,=20
    We are at a stage in the spec development, where we would like to
restrict changes to  clarifications and significant issues that would
impede implementation or usage of the protocol

1. The point that the message length in the examples are not accurate,
is true. But that will be true irrrespective of whether the length field
includes the header or not. That is because, they were never accurately
calculated in the first place. And this has been discussed before and I
do't think there is any plan to fix this.

2. On the topic of message length inlcuding or excluding the header
line, I have not heard a strong enough argument to warant a change in
the document this late in the specification.=20

3. Same thing with the position of Version number in the header line.

So unless I hear very strong objections to the above conclusions on this
issues from  more folks, I would like to leave the deinfition of the
headers as is, with may be clarification that the message length in the
examples should not be assumed to be accurate.

Thanks,
Sarvi
=20

     -----Original Message-----
     From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
     Sent: Thursday, April 13, 2006 12:39 PM
     To: Shanmugham, Saravanan
     Cc: speechsc@ietf.org
     Subject: RE: [Speechsc] message-length clarification
=20
     My comments in-line.
=20
     Thanks,
=20
     Brett Gavagni
     WebSphere Voice Server Development
     http://www-306.ibm.com/software/pervasive/voice=5Fserver/
     (561) 862-2097 T/L (975)
     gavagni@us.ibm.com
=20
=20
=20
=20
     "Shanmugham, Saravanan" <sarvi@cisco.com>
     04/13/2006 02:25 PM
=20
     To
     Brett Gavagni/West Palm Beach/IBM@IBMUS
     cc
     <speechsc@ietf.org>
     Subject
     RE: [Speechsc] message-length clarification
=20
=20
=20
=20
=20
=20
     See inline.=20
=20
          -----Original Message-----
          From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
          Sent: Thursday, April 13, 2006 10:52 AM
          To: Shanmugham, Saravanan
          Cc: speechsc@ietf.org
          Subject: RE: [Speechsc] message-length clarification
=20
          Yes, there are efficiency issues with the way that the=20
          message-length is defined today in MRCPv2.=20
=20
          An example is when a server needs to send a message to the=20
          client. The server would need to calculate the size of the=20
          MRCP message, and then modify the start-line=20
     message-length token.
=20
     Sarvi>> I don't see the issue here. You need calculate the message
     length and put in the header whether the length includes=20
     the header-line or not. I am not convinced this is=20
     significant enough o warrant a change this alte in the spec.
=20
     Brett>> Agree that the server will always need to calculate the
     message-length.=20
     I'm arguing that the current wording in draft-9 w.r.t.=20
     message-length shouldn't include the size of the=20
     start-line. As I indicated in earlier in this thread,=20
     there are multiple examples throughout draft-9 which do=20
     NOT reflect the wording that the start-line should be=20
     included in the message-length.
=20
     Neither one of the examples below have a message-length=20
     token value in the=20
=20
     start-line that reflects the wording requiring the size of=20
     the start-line length in the message-length. The client=20
     message is >124 including the start=5Fline, and server=20
     message is >47 including the start-line.
=20
     6.1.1.  SET-PARAMS
=20
        C->S:  MRCP/2.0 124 SET-PARAMS 543256
               Channel-Identifier:32AECB23433802@speechsynth
               Voice-gender:female
               Voice-variant:3
=20
        S->C:  MRCP/2.0 47 543256 200 COMPLETE
               Channel-Identifier:32AECB23433802@speechsynth
=20
     I don't think that the examples are incorrect, but rather=20
     the wording in the draft is counter productive.
=20
     Sarvi>> Also the length field was added earlier and at a specific
     location after the version information, so as to make the=20
     parsing of the message efficient. This way the moment the=20
     parse reads the first 2 tokens, it has the MRCP version=20
     number and the message to look forward to allowing for an=20
     efficient parser implementation. Which was one the reasons=20
     we went for the current definition of the header line.
=20
=20
          Is there any compelling reason why the message-length=20
          should include the length of the start-line?=20
=20
          I would also be curious as for the reasoning related to=20
          the general deviation in the request-line and event-line=20
          start-line definition from MRCPv1. The MRCPv1 ABNF syntax=20
          was similar to what is defined for SIP and HTTP 1.1 w.r.t.=20
          to token order.=20
=20
          Why does the MCRPv2 request-line and the event-line=20
          start-line have mrcp-version for the first token (which is=20
          what I would expect for the status-line)?
     Sarvi>> The reason for having version and length=20
     information earlier on
     is described above.
=20
     Brett>> IMO, deviating from HTTP-like similarities will hinder NOT=20
     Brett>> enhance
=20
     interoperability. For example, MRCPv2 could've been=20
     defined in ASN.1 if HTTP-like similarities weren't a=20
     beneficial proponent for MRCPv2 embracement/adoption. =3D)
=20
     Thx,
     Sarvi
=20
          MRCPv2
             start-line       =3D    request-line / status-line /=20
     event-line
=20
             request-line   =3D    mrcp-version SP message-length SP=20
          method-name SP=20
          request-id CRLF
=20
             event-line       =3D    mrcp-version SP message-length SP=20
          event-name SP=20
          request-id SP request-state CRLF
=20
          The following protocols are very similar syntactically=20
          w.r.t. the request-line start-line.
=20
          RFC 2616 - HTTP 1.1
             Request-Line   =3D Method SP Request-URI SP HTTP-Version CRLF
=20
          RFC 3261 - SIP  2.0
             Request-Line   =3D  Method SP Request-URI SP SIP-Version CRLF
=20
          mrcp-07 - MRCPv1=20
              request-line   =3D  method-name SP request-id SP=20
          mrcp-version CRLF=20
=20
              event-line     =3D    event-name SP request-id SP=20
          request-state SP=20
          mrcp-version CRLF=20
=20
          Thanks,
=20
          Brett Gavagni
          WebSphere Voice Server Development
          http://www-306.ibm.com/software/pervasive/voice=5Fserver/
          (561) 862-2097 T/L (975)
          gavagni@us.ibm.com
=20
=20
=20
=20
          "Shanmugham, Saravanan" <sarvi@cisco.com>
          04/13/2006 12:59 PM
=20
          To
          Brett Gavagni/West Palm Beach/IBM@IBMUS,=20
     <speechsc@ietf.org> cc
=20
          Subject
          RE: [Speechsc] message-length clarification
=20
=20
=20
=20
=20
=20
          Do you see any specific implementation or efficiency issue=20
          with the way it is defined today.=20
=20
=20
          Sarvi
=20
               -----Original Message-----
               From: Brett Gavagni [mailto:gavagni@us.ibm.com]=20
               Sent: Thursday, April 13, 2006 8:21 AM
               To: speechsc@ietf.org
               Subject: [Speechsc] message-length clarification
=20
               What is the reasoning for including the length of the=20
               start-line in the message-length value?=20
=20
               Seems a bit inconsistent with other textual based=20
               protocols including: SIP 2.0, HTTP 1.1, or even MRCPv1.
=20
               5.1.  Common Protocol Elements
=20
                  The message-length field specifies the length of=20
          the message,
                  including the start-line, and MUST be the 2nd=20
          token from the
                  beginning of the message.  This is to make=20
     the framing=20
               and parsing of
                  the message simpler to do.  This field specifies the=20
               length of the
                  message including data that may be encoded into=20
          the body of the
                  message.
=20
=20
               5.2.  Request
                  The message-length field specifies the length of=20
          the message,
                  including the start-line.
=20
=20
               5.3.  Response
                  The message-length field specifies the length of=20
          the message,
                  including the start-line.
=20
               I hope that this is just a wording problem as=20
     even some of=20
               the examples don't have an accurate message-length value=20
               w.r.t draft-9 wording.
=20
               Shanmugham & Burnett      Expires June 10, 2006=20
                   [Page 99]
               =0C=20
               Internet-Draft                   MRCPv2=20
               December 2005
=20
=20
                  S->C:MRCP/2.0 69 543259 200 COMPLETE
                  Channel-Identifier:32AECB23433801@speechrecog
                          Completion-Cause:000 success
=20
               Propose to modify the wording that=20
     message-length does NOT=20
               include the start-line as an issue to track for the=20
          next draft.
=20
               Thanks,
=20
               Brett Gavagni
               WebSphere Voice Server Development
               http://www-306.ibm.com/software/pervasive/voice=5Fserver/
               gavagni@us.ibm.com
=20
=20
               =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F
               Speechsc mailing list
               Speechsc@ietf.org
               https://www1.ietf.org/mailman/listinfo/speechsc
=20
=20
=20



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 17:23:39 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FU9Hp-0007ke-CM; Thu, 13 Apr 2006 17:23:33 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FU9Ho-0007kU-CL
	for speechsc@ietf.org; Thu, 13 Apr 2006 17:23:32 -0400
Received: from mail.voicegenie.com ([205.150.90.87] helo=voicegenie.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FU9Hn-0004JC-2R
	for speechsc@ietf.org; Thu, 13 Apr 2006 17:23:32 -0400
Received: from [205.150.90.65] (parrot.voicegenie.com [205.150.90.65])
	by voicegenie.com (8.11.6+Sun/8.9.3) with ESMTP id k3DLNUQ29129
	for <speechsc@ietf.org>; Thu, 13 Apr 2006 17:23:30 -0400 (EDT)
Message-ID: <443EC144.1080205@voicegenie.com>
Date: Thu, 13 Apr 2006 17:23:16 -0400
From: Andrew Wahbe <awahbe@voicegenie.com>
Organization: VoiceGenie Technologies
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: "IETF SPEECHSC (E-mail)" <speechsc@ietf.org>
Subject: [speechsc] Hotword Recognition and Timers 
Content-Type: multipart/mixed; boundary="------------070609040306000502080701"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 92df29fa99cf13e554b84c8374345c17
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.
--------------070609040306000502080701
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

The description of how timers (no-input and recognition) are used during 
hotword recognition is inconsistent. In sections 9.4.7, it is stated 
that "For a hotword recognition mode, this timer is started when the 
user begins speaking. Note that for Hotword mode recognition the 
START-OF-INPUT event is not generated." However, section 9.9 states that 
for the hotword case: "The Recognition-Timer gets started at the 
beginning of RECOGNIZE."

It seems that section 9.9 is incorrect (or at least is inconsistent with 
VoiceXML).

Section 9.9 omits any mention of the no-input timer for the hotword mode 
recognition case; however, none of the sections that deal with the 
no-input timer make a distinction between the hotword and non-hotword 
cases. VoiceXML also does not make this distinction. It would seem that 
section 9.9 should be changed to indicate that no-input timers are 
started in the hotword case and that no-input-timeout is a valid 
completion cause for a hotword recognition.

A related question worth considering is if the recognition timer is 
reset at any point, for example, on the detection of silence. Consider 
the case when maxspeech has a value of say 20 seconds (a 
typical/reasonable value) and hotword barge-in is being used on a prompt 
that is 30 seconds long. This would mean that a user that spoke briefly 
2 seconds into the prompt (and was silent for the remainder of the 
prompt) would experience a maxspeech timeout at about 22 seconds into 
the prompt. They would not hear the whole prompt which seems 
inappropriate. The reason for maxspeech timeout is to catch continuous 
noise and keep it from occupying a recognizer; but what should happen in 
periods of silence in the hotword case?

Similarly, when is the no-input timer canceled in the hotword case? Is 
it when speech (not necessarily matching) is detected? Or is it only 
upon a match?

The correct behavior in my opinion is that the no-input timer is 
canceled only on a match, and that the recognition timer should be reset 
if silence (determined by complete timeout and incomplete timeout) is 
detected. If we are just processing intermittent noise, the no-input 
timer will eventually expire. Continuous noise is handled by the 
recognition timer. Of course other there are other possibilities as 
well, this is just one option that I think fits with VoiceXML.

--------------070609040306000502080701
Content-Type: text/x-vcard; charset=utf-8;
 name="awahbe.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="awahbe.vcf"

begin:vcard
fn:Andrew Wahbe
n:Wahbe;Andrew
org:VoiceGenie Technologies INC.
adr:8th Floor;;1120 Finch Avenue W.;Toronto;ON;M3J 3H7;Canada
email;internet:awahbe@voicegenie.com
title:Senior Architect
tel;work:(416) 736-0905 ext. 258
tel;fax:(416) 736-1551
x-mozilla-html:TRUE
url:http://www.voicegenie.com
version:2.1
end:vcard


--------------070609040306000502080701
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--------------070609040306000502080701--




From speechsc-bounces@ietf.org Thu Apr 13 19:39:37 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUBPM-00025t-CK; Thu, 13 Apr 2006 19:39:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUBPL-00023k-R1
	for speechsc@ietf.org; Thu, 13 Apr 2006 19:39:27 -0400
Received: from sosrv35.dfw9.maint.ops.us.uu.net ([206.64.119.57])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUBPF-0000l5-An
	for speechsc@ietf.org; Thu, 13 Apr 2006 19:39:21 -0400
Received: from daburkewxp ([63.80.192.28])
	by sosrv35.dfw9.maint.ops.us.uu.net (uu-smart-$Revision: 1.4 $) with
	ESMTP id k3DNdEol013739; Thu, 13 Apr 2006 23:39:15 GMT
Message-ID: <009501c65f53$7b925630$1cc0503f@db01.voxpilot.com>
From: "Dave Burke" <david.burke@voxpilot.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>,
	"Brett Gavagni" <gavagni@us.ibm.com>
References: <OF09F0DDCC.7167086A-ON8725714F.007133CB-8525714F.007260F7@us.ibm.com>
Subject: Re: [Speechsc] message-length clarification
Date: Thu, 13 Apr 2006 16:39:13 -0700
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e06437eb72f6703f11713d345be8298a
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Just wanted to insert one point that I haven't seen mentioned: The 
message-length makes it easier to decode but not encode.

This is because the message-length also includes the number of bytes that 
specify the message-length in the header. The algorithm for determining the 
message-length has to add up all the bytes in the message to get a total 
(label: N), then determine the number of bytes to represent N (label: M), 
then check if the total N+M rolls over a power of 10 (if it does you need 
another byte). The value to insert for the message-length is not simply N+M 
but rather

    (N >= (10^M-M)) ? N+M+1 : N+M

For example, if N=97 then M=2 and N+M=99=message-length. However, if N=98 
then M=2 but now N+M=100 => message-length=N+M+1

Sorta awkward - no?

Dave





----- Original Message ----- 
From: "Brett Gavagni" <gavagni@us.ibm.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>
Cc: <speechsc@ietf.org>
Sent: Thursday, April 13, 2006 1:52 PM
Subject: RE: [Speechsc] message-length clarification


Hi Sarvi,

I realize that it may be late in the game for addressing problems in the
specification, but I would evangelize that its cheaper to pay now
(potential standardization delays) than to pay later (poor adoption) due
to convolution and problematic issues in the spec.

Since the session control for MRCPv2 is separated (a la SIP, RTSP, etc..)
and not tunnelled, what would be the compelling reason that the
message-length token exist in the start-line especially since the
"Content-Length" header?

I'm now  proposing the removal of the message-length token from the
start-line in entirety, as it is at least redundant and deviating from the
HTTP-like conventions leveraged throughout the spec.

Thanks,

Brett Gavagni
WebSphere Voice Server Development
http://www-306.ibm.com/software/pervasive/voice_server/
gavagni@us.ibm.com




"Shanmugham, Saravanan" <sarvi@cisco.com>
04/13/2006 04:21 PM

To
Brett Gavagni/West Palm Beach/IBM@IBMUS
cc
<speechsc@ietf.org>
Subject
RE: [Speechsc] message-length clarification






Hi Bret,
    We are at a stage in the spec development, where we would like to
restrict changes to  clarifications and significant issues that would
impede implementation or usage of the protocol

1. The point that the message length in the examples are not accurate,
is true. But that will be true irrrespective of whether the length field
includes the header or not. That is because, they were never accurately
calculated in the first place. And this has been discussed before and I
do't think there is any plan to fix this.

2. On the topic of message length inlcuding or excluding the header
line, I have not heard a strong enough argument to warant a change in
the document this late in the specification.

3. Same thing with the position of Version number in the header line.

So unless I hear very strong objections to the above conclusions on this
issues from  more folks, I would like to leave the deinfition of the
headers as is, with may be clarification that the message length in the
examples should not be assumed to be accurate.

Thanks,
Sarvi


     -----Original Message-----
     From: Brett Gavagni [mailto:gavagni@us.ibm.com]
     Sent: Thursday, April 13, 2006 12:39 PM
     To: Shanmugham, Saravanan
     Cc: speechsc@ietf.org
     Subject: RE: [Speechsc] message-length clarification

     My comments in-line.

     Thanks,

     Brett Gavagni
     WebSphere Voice Server Development
     http://www-306.ibm.com/software/pervasive/voice_server/
     (561) 862-2097 T/L (975)
     gavagni@us.ibm.com




     "Shanmugham, Saravanan" <sarvi@cisco.com>
     04/13/2006 02:25 PM

     To
     Brett Gavagni/West Palm Beach/IBM@IBMUS
     cc
     <speechsc@ietf.org>
     Subject
     RE: [Speechsc] message-length clarification






     See inline.

          -----Original Message-----
          From: Brett Gavagni [mailto:gavagni@us.ibm.com]
          Sent: Thursday, April 13, 2006 10:52 AM
          To: Shanmugham, Saravanan
          Cc: speechsc@ietf.org
          Subject: RE: [Speechsc] message-length clarification

          Yes, there are efficiency issues with the way that the
          message-length is defined today in MRCPv2.

          An example is when a server needs to send a message to the
          client. The server would need to calculate the size of the
          MRCP message, and then modify the start-line
     message-length token.

     Sarvi>> I don't see the issue here. You need calculate the message
     length and put in the header whether the length includes
     the header-line or not. I am not convinced this is
     significant enough o warrant a change this alte in the spec.

     Brett>> Agree that the server will always need to calculate the
     message-length.
     I'm arguing that the current wording in draft-9 w.r.t.
     message-length shouldn't include the size of the
     start-line. As I indicated in earlier in this thread,
     there are multiple examples throughout draft-9 which do
     NOT reflect the wording that the start-line should be
     included in the message-length.

     Neither one of the examples below have a message-length
     token value in the

     start-line that reflects the wording requiring the size of
     the start-line length in the message-length. The client
     message is >124 including the start_line, and server
     message is >47 including the start-line.

     6.1.1.  SET-PARAMS

        C->S:  MRCP/2.0 124 SET-PARAMS 543256
               Channel-Identifier:32AECB23433802@speechsynth
               Voice-gender:female
               Voice-variant:3

        S->C:  MRCP/2.0 47 543256 200 COMPLETE
               Channel-Identifier:32AECB23433802@speechsynth

     I don't think that the examples are incorrect, but rather
     the wording in the draft is counter productive.

     Sarvi>> Also the length field was added earlier and at a specific
     location after the version information, so as to make the
     parsing of the message efficient. This way the moment the
     parse reads the first 2 tokens, it has the MRCP version
     number and the message to look forward to allowing for an
     efficient parser implementation. Which was one the reasons
     we went for the current definition of the header line.


          Is there any compelling reason why the message-length
          should include the length of the start-line?

          I would also be curious as for the reasoning related to
          the general deviation in the request-line and event-line
          start-line definition from MRCPv1. The MRCPv1 ABNF syntax
          was similar to what is defined for SIP and HTTP 1.1 w.r.t.
          to token order.

          Why does the MCRPv2 request-line and the event-line
          start-line have mrcp-version for the first token (which is
          what I would expect for the status-line)?
     Sarvi>> The reason for having version and length
     information earlier on
     is described above.

     Brett>> IMO, deviating from HTTP-like similarities will hinder NOT
     Brett>> enhance

     interoperability. For example, MRCPv2 could've been
     defined in ASN.1 if HTTP-like similarities weren't a
     beneficial proponent for MRCPv2 embracement/adoption. =)

     Thx,
     Sarvi

          MRCPv2
             start-line       =    request-line / status-line /
     event-line

             request-line   =    mrcp-version SP message-length SP
          method-name SP
          request-id CRLF

             event-line       =    mrcp-version SP message-length SP
          event-name SP
          request-id SP request-state CRLF

          The following protocols are very similar syntactically
          w.r.t. the request-line start-line.

          RFC 2616 - HTTP 1.1
             Request-Line   = Method SP Request-URI SP HTTP-Version CRLF

          RFC 3261 - SIP  2.0
             Request-Line   =  Method SP Request-URI SP SIP-Version CRLF

          mrcp-07 - MRCPv1
              request-line   =  method-name SP request-id SP
          mrcp-version CRLF

              event-line     =    event-name SP request-id SP
          request-state SP
          mrcp-version CRLF

          Thanks,

          Brett Gavagni
          WebSphere Voice Server Development
          http://www-306.ibm.com/software/pervasive/voice_server/
          (561) 862-2097 T/L (975)
          gavagni@us.ibm.com




          "Shanmugham, Saravanan" <sarvi@cisco.com>
          04/13/2006 12:59 PM

          To
          Brett Gavagni/West Palm Beach/IBM@IBMUS,
     <speechsc@ietf.org> cc

          Subject
          RE: [Speechsc] message-length clarification






          Do you see any specific implementation or efficiency issue
          with the way it is defined today.


          Sarvi

               -----Original Message-----
               From: Brett Gavagni [mailto:gavagni@us.ibm.com]
               Sent: Thursday, April 13, 2006 8:21 AM
               To: speechsc@ietf.org
               Subject: [Speechsc] message-length clarification

               What is the reasoning for including the length of the
               start-line in the message-length value?

               Seems a bit inconsistent with other textual based
               protocols including: SIP 2.0, HTTP 1.1, or even MRCPv1.

               5.1.  Common Protocol Elements

                  The message-length field specifies the length of
          the message,
                  including the start-line, and MUST be the 2nd
          token from the
                  beginning of the message.  This is to make
     the framing
               and parsing of
                  the message simpler to do.  This field specifies the
               length of the
                  message including data that may be encoded into
          the body of the
                  message.


               5.2.  Request
                  The message-length field specifies the length of
          the message,
                  including the start-line.


               5.3.  Response
                  The message-length field specifies the length of
          the message,
                  including the start-line.

               I hope that this is just a wording problem as
     even some of
               the examples don't have an accurate message-length value
               w.r.t draft-9 wording.

               Shanmugham & Burnett      Expires June 10, 2006
                   [Page 99]

               Internet-Draft                   MRCPv2
               December 2005


                  S->C:MRCP/2.0 69 543259 200 COMPLETE
                  Channel-Identifier:32AECB23433801@speechrecog
                          Completion-Cause:000 success

               Propose to modify the wording that
     message-length does NOT
               include the start-line as an issue to track for the
          next draft.

               Thanks,

               Brett Gavagni
               WebSphere Voice Server Development
               http://www-306.ibm.com/software/pervasive/voice_server/
               gavagni@us.ibm.com


               _______________________________________________
               Speechsc mailing list
               Speechsc@ietf.org
               https://www1.ietf.org/mailman/listinfo/speechsc






_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Thu Apr 13 21:13:45 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUCsS-0004F7-Qa; Thu, 13 Apr 2006 21:13:36 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUCsR-0004Am-4X
	for speechsc@ietf.org; Thu, 13 Apr 2006 21:13:35 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUCsO-0003ir-IQ
	for speechsc@ietf.org; Thu, 13 Apr 2006 21:13:35 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Thu, 13 Apr 2006 21:14:19 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2ZTTNZNJ>; Thu, 13 Apr 2006 21:13:29 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03D54A2C@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: Dave Burke <david.burke@voxpilot.com>
Subject: RE: [Speechsc] message-length clarification
Date: Thu, 13 Apr 2006 21:13:24 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Scan-Signature: da41e01217ab11ad82db577473e913ae
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Quite right.  The unanswered question whether there is any real utility to
having this information in the start-line.  I haven't heard any.  Certainly
HTTP and SIP seem to do quite fine without it.

I tend to agree with Brett that removing the length would not hurt the
specification in any way.  As for the "it was broken when we got here so we
can't fix it" argument for the status quo, I don't find that very
compelling.

-=- Jerry

> -----Original Message-----
> From: Dave Burke [mailto:david.burke@voxpilot.com]
> Sent: Thursday, April 13, 2006 7:39 PM
> To: Shanmugham, Saravanan; Brett Gavagni
> Cc: speechsc@ietf.org
> Subject: Re: [Speechsc] message-length clarification
> 
> Just wanted to insert one point that I haven't seen mentioned: The
> message-length makes it easier to decode but not encode.
> 
> This is because the message-length also includes the number of bytes that
> specify the message-length in the header. The algorithm for determining
> the
> message-length has to add up all the bytes in the message to get a total
> (label: N), then determine the number of bytes to represent N (label: M),
> then check if the total N+M rolls over a power of 10 (if it does you need
> another byte). The value to insert for the message-length is not simply
> N+M
> but rather
> 
>     (N >= (10^M-M)) ? N+M+1 : N+M
> 
> For example, if N=97 then M=2 and N+M=99=message-length. However, if N=98
> then M=2 but now N+M=100 => message-length=N+M+1
> 
> Sorta awkward - no?
> 
> Dave
> 
> 
> 
> 
> 
> ----- Original Message -----
> From: "Brett Gavagni" <gavagni@us.ibm.com>
> To: "Shanmugham, Saravanan" <sarvi@cisco.com>
> Cc: <speechsc@ietf.org>
> Sent: Thursday, April 13, 2006 1:52 PM
> Subject: RE: [Speechsc] message-length clarification
> 
> 
> Hi Sarvi,
> 
> I realize that it may be late in the game for addressing problems in the
> specification, but I would evangelize that its cheaper to pay now
> (potential standardization delays) than to pay later (poor adoption) due
> to convolution and problematic issues in the spec.
> 
> Since the session control for MRCPv2 is separated (a la SIP, RTSP, etc..)
> and not tunnelled, what would be the compelling reason that the
> message-length token exist in the start-line especially since the
> "Content-Length" header?
> 
> I'm now  proposing the removal of the message-length token from the
> start-line in entirety, as it is at least redundant and deviating from the
> HTTP-like conventions leveraged throughout the spec.
> 
> Thanks,
> 
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
> 
> 
> 
> 
> "Shanmugham, Saravanan" <sarvi@cisco.com>
> 04/13/2006 04:21 PM
> 
> To
> Brett Gavagni/West Palm Beach/IBM@IBMUS
> cc
> <speechsc@ietf.org>
> Subject
> RE: [Speechsc] message-length clarification
> 
> 
> 
> 
> 
> 
> Hi Bret,
>     We are at a stage in the spec development, where we would like to
> restrict changes to  clarifications and significant issues that would
> impede implementation or usage of the protocol
> 
> 1. The point that the message length in the examples are not accurate,
> is true. But that will be true irrrespective of whether the length field
> includes the header or not. That is because, they were never accurately
> calculated in the first place. And this has been discussed before and I
> do't think there is any plan to fix this.
> 
> 2. On the topic of message length inlcuding or excluding the header
> line, I have not heard a strong enough argument to warant a change in
> the document this late in the specification.
> 
> 3. Same thing with the position of Version number in the header line.
> 
> So unless I hear very strong objections to the above conclusions on this
> issues from  more folks, I would like to leave the deinfition of the
> headers as is, with may be clarification that the message length in the
> examples should not be assumed to be accurate.
> 
> Thanks,
> Sarvi
> 
> 
>      -----Original Message-----
>      From: Brett Gavagni [mailto:gavagni@us.ibm.com]
>      Sent: Thursday, April 13, 2006 12:39 PM
>      To: Shanmugham, Saravanan
>      Cc: speechsc@ietf.org
>      Subject: RE: [Speechsc] message-length clarification
> 
>      My comments in-line.
> 
>      Thanks,
> 
>      Brett Gavagni
>      WebSphere Voice Server Development
>      http://www-306.ibm.com/software/pervasive/voice_server/
>      (561) 862-2097 T/L (975)
>      gavagni@us.ibm.com
> 
> 
> 
> 
>      "Shanmugham, Saravanan" <sarvi@cisco.com>
>      04/13/2006 02:25 PM
> 
>      To
>      Brett Gavagni/West Palm Beach/IBM@IBMUS
>      cc
>      <speechsc@ietf.org>
>      Subject
>      RE: [Speechsc] message-length clarification
> 
> 
> 
> 
> 
> 
>      See inline.
> 
>           -----Original Message-----
>           From: Brett Gavagni [mailto:gavagni@us.ibm.com]
>           Sent: Thursday, April 13, 2006 10:52 AM
>           To: Shanmugham, Saravanan
>           Cc: speechsc@ietf.org
>           Subject: RE: [Speechsc] message-length clarification
> 
>           Yes, there are efficiency issues with the way that the
>           message-length is defined today in MRCPv2.
> 
>           An example is when a server needs to send a message to the
>           client. The server would need to calculate the size of the
>           MRCP message, and then modify the start-line
>      message-length token.
> 
>      Sarvi>> I don't see the issue here. You need calculate the message
>      length and put in the header whether the length includes
>      the header-line or not. I am not convinced this is
>      significant enough o warrant a change this alte in the spec.
> 
>      Brett>> Agree that the server will always need to calculate the
>      message-length.
>      I'm arguing that the current wording in draft-9 w.r.t.
>      message-length shouldn't include the size of the
>      start-line. As I indicated in earlier in this thread,
>      there are multiple examples throughout draft-9 which do
>      NOT reflect the wording that the start-line should be
>      included in the message-length.
> 
>      Neither one of the examples below have a message-length
>      token value in the
> 
>      start-line that reflects the wording requiring the size of
>      the start-line length in the message-length. The client
>      message is >124 including the start_line, and server
>      message is >47 including the start-line.
> 
>      6.1.1.  SET-PARAMS
> 
>         C->S:  MRCP/2.0 124 SET-PARAMS 543256
>                Channel-Identifier:32AECB23433802@speechsynth
>                Voice-gender:female
>                Voice-variant:3
> 
>         S->C:  MRCP/2.0 47 543256 200 COMPLETE
>                Channel-Identifier:32AECB23433802@speechsynth
> 
>      I don't think that the examples are incorrect, but rather
>      the wording in the draft is counter productive.
> 
>      Sarvi>> Also the length field was added earlier and at a specific
>      location after the version information, so as to make the
>      parsing of the message efficient. This way the moment the
>      parse reads the first 2 tokens, it has the MRCP version
>      number and the message to look forward to allowing for an
>      efficient parser implementation. Which was one the reasons
>      we went for the current definition of the header line.
> 
> 
>           Is there any compelling reason why the message-length
>           should include the length of the start-line?
> 
>           I would also be curious as for the reasoning related to
>           the general deviation in the request-line and event-line
>           start-line definition from MRCPv1. The MRCPv1 ABNF syntax
>           was similar to what is defined for SIP and HTTP 1.1 w.r.t.
>           to token order.
> 
>           Why does the MCRPv2 request-line and the event-line
>           start-line have mrcp-version for the first token (which is
>           what I would expect for the status-line)?
>      Sarvi>> The reason for having version and length
>      information earlier on
>      is described above.
> 
>      Brett>> IMO, deviating from HTTP-like similarities will hinder NOT
>      Brett>> enhance
> 
>      interoperability. For example, MRCPv2 could've been
>      defined in ASN.1 if HTTP-like similarities weren't a
>      beneficial proponent for MRCPv2 embracement/adoption. =)
> 
>      Thx,
>      Sarvi
> 
>           MRCPv2
>              start-line       =    request-line / status-line /
>      event-line
> 
>              request-line   =    mrcp-version SP message-length SP
>           method-name SP
>           request-id CRLF
> 
>              event-line       =    mrcp-version SP message-length SP
>           event-name SP
>           request-id SP request-state CRLF
> 
>           The following protocols are very similar syntactically
>           w.r.t. the request-line start-line.
> 
>           RFC 2616 - HTTP 1.1
>              Request-Line   = Method SP Request-URI SP HTTP-Version CRLF
> 
>           RFC 3261 - SIP  2.0
>              Request-Line   =  Method SP Request-URI SP SIP-Version CRLF
> 
>           mrcp-07 - MRCPv1
>               request-line   =  method-name SP request-id SP
>           mrcp-version CRLF
> 
>               event-line     =    event-name SP request-id SP
>           request-state SP
>           mrcp-version CRLF
> 
>           Thanks,
> 
>           Brett Gavagni
>           WebSphere Voice Server Development
>           http://www-306.ibm.com/software/pervasive/voice_server/
>           (561) 862-2097 T/L (975)
>           gavagni@us.ibm.com
> 
> 
> 
> 
>           "Shanmugham, Saravanan" <sarvi@cisco.com>
>           04/13/2006 12:59 PM
> 
>           To
>           Brett Gavagni/West Palm Beach/IBM@IBMUS,
>      <speechsc@ietf.org> cc
> 
>           Subject
>           RE: [Speechsc] message-length clarification
> 
> 
> 
> 
> 
> 
>           Do you see any specific implementation or efficiency issue
>           with the way it is defined today.
> 
> 
>           Sarvi
> 
>                -----Original Message-----
>                From: Brett Gavagni [mailto:gavagni@us.ibm.com]
>                Sent: Thursday, April 13, 2006 8:21 AM
>                To: speechsc@ietf.org
>                Subject: [Speechsc] message-length clarification
> 
>                What is the reasoning for including the length of the
>                start-line in the message-length value?
> 
>                Seems a bit inconsistent with other textual based
>                protocols including: SIP 2.0, HTTP 1.1, or even MRCPv1.
> 
>                5.1.  Common Protocol Elements
> 
>                   The message-length field specifies the length of
>           the message,
>                   including the start-line, and MUST be the 2nd
>           token from the
>                   beginning of the message.  This is to make
>      the framing
>                and parsing of
>                   the message simpler to do.  This field specifies the
>                length of the
>                   message including data that may be encoded into
>           the body of the
>                   message.
> 
> 
>                5.2.  Request
>                   The message-length field specifies the length of
>           the message,
>                   including the start-line.
> 
> 
>                5.3.  Response
>                   The message-length field specifies the length of
>           the message,
>                   including the start-line.
> 
>                I hope that this is just a wording problem as
>      even some of
>                the examples don't have an accurate message-length value
>                w.r.t draft-9 wording.
> 
>                Shanmugham & Burnett      Expires June 10, 2006
>                    [Page 99]
> 
>                Internet-Draft                   MRCPv2
>                December 2005
> 
> 
>                   S->C:MRCP/2.0 69 543259 200 COMPLETE
>                   Channel-Identifier:32AECB23433801@speechrecog
>                           Completion-Cause:000 success
> 
>                Propose to modify the wording that
>      message-length does NOT
>                include the start-line as an issue to track for the
>           next draft.
> 
>                Thanks,
> 
>                Brett Gavagni
>                WebSphere Voice Server Development
>                http://www-306.ibm.com/software/pervasive/voice_server/
>                gavagni@us.ibm.com
> 
> 
>                _______________________________________________
>                Speechsc mailing list
>                Speechsc@ietf.org
>                https://www1.ietf.org/mailman/listinfo/speechsc
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
> 
> 
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Fri Apr 14 03:56:02 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUJ9b-0004Gd-4E; Fri, 14 Apr 2006 03:55:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUJ9Y-0004GY-Q8
	for speechsc@ietf.org; Fri, 14 Apr 2006 03:55:40 -0400
Received: from smtp3.wanadoo.co.uk ([193.252.22.156] helo=smtp3.freeserve.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUJ9X-0007xy-Bx
	for speechsc@ietf.org; Fri, 14 Apr 2006 03:55:40 -0400
Received: from me-wanadoo.net (localhost [127.0.0.1])
	by mwinf3209.me.freeserve.com (SMTP Server) with ESMTP id 5D7F59400085; 
	Fri, 14 Apr 2006 09:55:38 +0200 (CEST)
Received: from RW (user-507.lns1-c11.dsl.pol.co.uk [84.68.193.251])
	by mwinf3209.me.freeserve.com (SMTP Server) with SMTP id 20DC39400083; 
	Fri, 14 Apr 2006 09:55:38 +0200 (CEST)
X-ME-UUID: 20060414075538134.20DC39400083@mwinf3209.me.freeserve.com
Message-ID: <000c01c65f98$d0bc0ad0$0600a8c0@RW>
From: "Pete Cordell" <pete@tech-know-ware.com>
To: "Dave Burke" <david.burke@voxpilot.com>
References: <OF09F0DDCC.7167086A-ON8725714F.007133CB-8525714F.007260F7@us.ibm.com>
	<009501c65f53$7b925630$1cc0503f@db01.voxpilot.com>
Subject: Re: [Speechsc] message-length clarification
Date: Fri, 14 Apr 2006 08:55:28 +0100
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 14582b0692e7f70ce7111d04db3781c8
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

As someone watching from the sidelines, this issue about the representation 
of the length field potentially changing the value of the length that needed 
to be encoded occurred to me also.

I wondered if you could use leading zeros in the length field so that it is 
always fixed length.  e.g. in C it would be something like:

sprintf( lstr, "%04d", len );   // Not sure if 4 is the right number!

Messages would then look like:

MRCP/2.0 0047 543256 200 COMPLETE
...

Still a bit of a gotcha though, that could lead to one of those one in a 
hundred type bugs!

Regards,

Pete.
--
=============================================
Pete Cordell
Tech-Know-Ware Ltd
                         for XML to C++ data binding visit
                         http://www.tech-know-ware.com/lmx
                         (or http://www.xml2cpp.com)
=============================================

----- Original Message ----- 
From: "Dave Burke" <david.burke@voxpilot.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>; "Brett Gavagni" 
<gavagni@us.ibm.com>
Cc: <speechsc@ietf.org>
Sent: Friday, April 14, 2006 12:39 AM
Subject: Re: [Speechsc] message-length clarification


> Just wanted to insert one point that I haven't seen mentioned: The 
> message-length makes it easier to decode but not encode.
>
> This is because the message-length also includes the number of bytes that 
> specify the message-length in the header. The algorithm for determining 
> the message-length has to add up all the bytes in the message to get a 
> total (label: N), then determine the number of bytes to represent N 
> (label: M), then check if the total N+M rolls over a power of 10 (if it 
> does you need another byte). The value to insert for the message-length is 
> not simply N+M but rather
>
>    (N >= (10^M-M)) ? N+M+1 : N+M
>
> For example, if N=97 then M=2 and N+M=99=message-length. However, if N=98 
> then M=2 but now N+M=100 => message-length=N+M+1
>
> Sorta awkward - no?
>
> Dave
>
>
>
>
>
> ----- Original Message ----- 
> From: "Brett Gavagni" <gavagni@us.ibm.com>
> To: "Shanmugham, Saravanan" <sarvi@cisco.com>
> Cc: <speechsc@ietf.org>
> Sent: Thursday, April 13, 2006 1:52 PM
> Subject: RE: [Speechsc] message-length clarification
>
>
> Hi Sarvi,
>
> I realize that it may be late in the game for addressing problems in the
> specification, but I would evangelize that its cheaper to pay now
> (potential standardization delays) than to pay later (poor adoption) due
> to convolution and problematic issues in the spec.
>
> Since the session control for MRCPv2 is separated (a la SIP, RTSP, etc..)
> and not tunnelled, what would be the compelling reason that the
> message-length token exist in the start-line especially since the
> "Content-Length" header?
>
> I'm now  proposing the removal of the message-length token from the
> start-line in entirety, as it is at least redundant and deviating from the
> HTTP-like conventions leveraged throughout the spec.
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
...cut... 



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Fri Apr 14 04:44:56 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUJv1-0000aI-FW; Fri, 14 Apr 2006 04:44:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUJv0-0000aD-B1
	for speechsc@ietf.org; Fri, 14 Apr 2006 04:44:42 -0400
Received: from maile.telecomitalia.it ([156.54.233.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUJuv-00017K-C7
	for speechsc@ietf.org; Fri, 14 Apr 2006 04:44:42 -0400
Received: from ptpxch010ba020.idc.cww.telecomitalia.it ([156.54.240.53]) by
	maile.telecomitalia.it with Microsoft SMTPSVC(6.0.3790.1830);
	Fri, 14 Apr 2006 10:44:33 +0200
Received: from PTPEVS106BA020.idc.cww.telecomitalia.it ([156.54.241.223]) by
	ptpxch010ba020.idc.cww.telecomitalia.it with Microsoft
	SMTPSVC(6.0.3790.211); Fri, 14 Apr 2006 10:44:32 +0200
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Speechsc] message-length clarification
Date: Fri, 14 Apr 2006 10:43:34 +0200
Message-ID: <01C0B9926BC410459FE9AACE49B815023F63FD@PTPEVS106BA020.idc.cww.telecomitalia.it>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Importance: normal
Thread-Topic: [Speechsc] message-length clarification
Priority: normal
thread-index: AcZfmRGDQXJSSKnwRpKi9EuIYfspQAABHzew
From: "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>
To: <speechsc@ietf.org>
X-OriginalArrivalTime: 14 Apr 2006 08:44:32.0949 (UTC)
	FILETIME=[A6CC6650:01C65F9F]
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 578c2c9d0cb01ffe6e1ca36540edd070
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1568156768=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1568156768==
Content-Class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_8B09_01C65FB0.6A83C060"

This is a multi-part message in MIME format.

------=_NextPart_000_8B09_01C65FB0.6A83C060
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I agree that problems arise more on encoding side than in decoding one.
What about using leading SP, with the same purpose of leading zeros
mentioned by Pete?
Is it legal?
Anyway, though I'm not a big fan of message-length field, I think that
removing it at this stage of spec should be avoided.

Regards,
Patrizio Bergallo, Loquendo.=20

> -----Original Message-----
> From: Pete Cordell [mailto:pete@tech-know-ware.com]=20
> Sent: Friday, April 14, 2006 9:55 AM
> To: Dave Burke
> Cc: speechsc@ietf.org
> Subject: Re: [Speechsc] message-length clarification
>=20
>=20
> As someone watching from the sidelines, this issue about the=20
> representation=20
> of the length field potentially changing the value of the=20
> length that needed=20
> to be encoded occurred to me also.
>=20
> I wondered if you could use leading zeros in the length field=20
> so that it is=20
> always fixed length.  e.g. in C it would be something like:
>=20
> sprintf( lstr, "%04d", len );   // Not sure if 4 is the right number!
>=20
> Messages would then look like:
>=20
> MRCP/2.0 0047 543256 200 COMPLETE
> ...
>=20
> Still a bit of a gotcha though, that could lead to one of=20
> those one in a=20
> hundred type bugs!
>=20
> Regards,
>=20
> Pete.
> --
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Pete Cordell
> Tech-Know-Ware Ltd
>                          for XML to C++ data binding visit
>                          http://www.tech-know-ware.com/lmx
>                          (or http://www.xml2cpp.com)=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> ----- Original Message -----=20
> From: "Dave Burke" <david.burke@voxpilot.com>
> To: "Shanmugham, Saravanan" <sarvi@cisco.com>; "Brett Gavagni"=20
> <gavagni@us.ibm.com>
> Cc: <speechsc@ietf.org>
> Sent: Friday, April 14, 2006 12:39 AM
> Subject: Re: [Speechsc] message-length clarification
>=20
>=20
> > Just wanted to insert one point that I haven't seen mentioned: The
> > message-length makes it easier to decode but not encode.
> >
> > This is because the message-length also includes the number=20
> of bytes=20
> > that
> > specify the message-length in the header. The algorithm for=20
> determining=20
> > the message-length has to add up all the bytes in the=20
> message to get a=20
> > total (label: N), then determine the number of bytes to represent N=20
> > (label: M), then check if the total N+M rolls over a power=20
> of 10 (if it=20
> > does you need another byte). The value to insert for the=20
> message-length is=20
> > not simply N+M but rather
> >
> >    (N >=3D (10^M-M)) ? N+M+1 : N+M
> >
> > For example, if N=3D97 then M=3D2 and N+M=3D99=3Dmessage-length.=20
> However, if=20
> > N=3D98
> > then M=3D2 but now N+M=3D100 =3D> message-length=3DN+M+1
> >
> > Sorta awkward - no?
> >
> > Dave
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Brett Gavagni" <gavagni@us.ibm.com>
> > To: "Shanmugham, Saravanan" <sarvi@cisco.com>
> > Cc: <speechsc@ietf.org>
> > Sent: Thursday, April 13, 2006 1:52 PM
> > Subject: RE: [Speechsc] message-length clarification
> >
> >
> > Hi Sarvi,
> >
> > I realize that it may be late in the game for addressing=20
> problems in=20
> > the specification, but I would evangelize that its cheaper=20
> to pay now=20
> > (potential standardization delays) than to pay later (poor=20
> adoption)=20
> > due to convolution and problematic issues in the spec.
> >
> > Since the session control for MRCPv2 is separated (a la SIP, RTSP,=20
> > etc..) and not tunnelled, what would be the compelling=20
> reason that the=20
> > message-length token exist in the start-line especially since the=20
> > "Content-Length" header?
> >
> > I'm now  proposing the removal of the message-length token from the=20
> > start-line in entirety, as it is at least redundant and=20
> deviating from=20
> > the HTTP-like conventions leveraged throughout the spec.
> >
> > Thanks,
> >
> > Brett Gavagni
> > WebSphere Voice Server Development=20
> > http://www-306.ibm.com/software/pervasive/voice_server/
> > gavagni@us.ibm.com
> >
> ...cut...=20
>=20
>=20
>=20
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
>=20


Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons =
above and may contain confidential information. If you have received the =
message in error, be informed that any use of the content hereof is =
prohibited. Please return it immediately to the sender and delete the =
message. Should you have any questions, please send an e_mail to =
<mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank =
you<http://www.loquendo.com>www.loquendo.com
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
------=_NextPart_000_8B09_01C65FB0.6A83C060
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 =
Transitional//EN"><HTML><HEAD><META HTTP-EQUIV=3D"Content-Type" =
CONTENT=3D"text/html; =
charset=3Diso-8859-1"></HEAD><BODY><DIV>&nbsp;</DIV>I agree that =
problems arise more on encoding side than in decoding one.<BR>What about =
using leading SP, with the same purpose of leading zeros<BR>mentioned by =
Pete?<BR>Is it legal?<BR>Anyway, though I'm not a big fan of =
message-length field, I think that<BR>removing it at this stage of spec =
should be avoided.<BR><BR>Regards,<BR>Patrizio Bergallo, Loquendo. =
<BR><BR>> -----Original Message-----<BR>> From: Pete Cordell =
[mailto:pete@tech-know-ware.com] <BR>> Sent: Friday, April 14, 2006 9:55 =
AM<BR>> To: Dave Burke<BR>> Cc: speechsc@ietf.org<BR>> Subject: Re: =
[Speechsc] message-length clarification<BR>> <BR>> <BR>> As someone =
watching from the sidelines, this issue about the <BR>> representation =
<BR>> of the length field potentially changing the value of the <BR>> =
length that needed <BR>> to be encoded occurred to me also.<BR>> <BR>> I =
wondered if you could use leading zeros in the length field <BR>> so =
that it is <BR>> always fixed length.  e.g. in C it would be something =
like:<BR>> <BR>> sprintf( lstr, "%04d", len );   // Not sure if 4 is the =
right number!<BR>> <BR>> Messages would then look like:<BR>> <BR>> =
MRCP/2.0 0047 543256 200 COMPLETE<BR>> ...<BR>> <BR>> Still a bit of a =
gotcha though, that could lead to one of <BR>> those one in a <BR>> =
hundred type bugs!<BR>> <BR>> Regards,<BR>> <BR>> Pete.<BR>> --<BR>> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>> Pete =
Cordell<BR>> Tech-Know-Ware Ltd<BR>>                          for XML to =
C++ data binding visit<BR>>                          =
http://www.tech-know-ware.com/lmx<BR>>                          (or =
http://www.xml2cpp.com) <BR>> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>> <BR>> =
----- Original Message ----- <BR>> From: "Dave Burke" =
<david.burke@voxpilot.com><BR>> To: "Shanmugham, Saravanan" =
<sarvi@cisco.com>; "Brett Gavagni" <BR>> <gavagni@us.ibm.com><BR>> Cc: =
<speechsc@ietf.org><BR>> Sent: Friday, April 14, 2006 12:39 AM<BR>> =
Subject: Re: [Speechsc] message-length clarification<BR>> <BR>> <BR>> > =
Just wanted to insert one point that I haven't seen mentioned: The<BR>> =
> message-length makes it easier to decode but not encode.<BR>> ><BR>> > =
This is because the message-length also includes the number <BR>> of =
bytes <BR>> > that<BR>> > specify the message-length in the header. The =
algorithm for <BR>> determining <BR>> > the message-length has to add up =
all the bytes in the <BR>> message to get a <BR>> > total (label: N), =
then determine the number of bytes to represent N <BR>> > (label: M), =
then check if the total N+M rolls over a power <BR>> of 10 (if it <BR>> =
> does you need another byte). The value to insert for the <BR>> =
message-length is <BR>> > not simply N+M but rather<BR>> ><BR>> >    (N =
>=3D (10^M-M)) ? N+M+1 : N+M<BR>> ><BR>> > For example, if N=3D97 then =
M=3D2 and N+M=3D99=3Dmessage-length. <BR>> However, if <BR>> > =
N=3D98<BR>> > then M=3D2 but now N+M=3D100 =3D> =
message-length=3DN+M+1<BR>> ><BR>> > Sorta awkward - no?<BR>> ><BR>> > =
Dave<BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> > ----- Original Message =
-----<BR>> > From: "Brett Gavagni" <gavagni@us.ibm.com><BR>> > To: =
"Shanmugham, Saravanan" <sarvi@cisco.com><BR>> > Cc: =
<speechsc@ietf.org><BR>> > Sent: Thursday, April 13, 2006 1:52 PM<BR>> > =
Subject: RE: [Speechsc] message-length clarification<BR>> ><BR>> ><BR>> =
> Hi Sarvi,<BR>> ><BR>> > I realize that it may be late in the game for =
addressing <BR>> problems in <BR>> > the specification, but I would =
evangelize that its cheaper <BR>> to pay now <BR>> > (potential =
standardization delays) than to pay later (poor <BR>> adoption) <BR>> > =
due to convolution and problematic issues in the spec.<BR>> ><BR>> > =
Since the session control for MRCPv2 is separated (a la SIP, RTSP, <BR>> =
> etc..) and not tunnelled, what would be the compelling <BR>> reason =
that the <BR>> > message-length token exist in the start-line especially =
since the <BR>> > "Content-Length" header?<BR>> ><BR>> > I'm now  =
proposing the removal of the message-length token from the <BR>> > =
start-line in entirety, as it is at least redundant and <BR>> deviating =
from <BR>> > the HTTP-like conventions leveraged throughout the =
spec.<BR>> ><BR>> > Thanks,<BR>> ><BR>> > Brett Gavagni<BR>> > WebSphere =
Voice Server Development <BR>> > =
http://www-306.ibm.com/software/pervasive/voice_server/<BR>> > =
gavagni@us.ibm.com<BR>> ><BR>> ...cut... <BR>> <BR>> <BR>> <BR>> =
_______________________________________________<BR>> Speechsc mailing =
list<BR>> Speechsc@ietf.org =
https://www1.ietf.org/mailman/listinfo/speechsc<BR>> <BR><BR>Gruppo=20
Telecom Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.<BR><BR><FONT=20
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR>CONFIDENTIALITY=20
NOTICE<BR>This message and its attachments are addressed solely to the=20
persons<BR>above and may contain confidential information. If you have=20
received<BR>the message in error, be informed that any use of the =
content=20
hereof<BR>is prohibited. Please return it immediately to the sender and=20
delete<BR>the message. Should you have any questions, please send an =
e_mail=20
to<BR>&lt;<A=20
href=3D"mailto:webmaster@telecomitalia.it">mailto:webmaster@telecomitalia=
.it</A>&gt;webmaster@telecomitalia.it.=20
Thank you<BR>&lt;<A=20
href=3D"http://www.loquendo.com">http://www.loquendo.com</A>&gt;www.loque=
ndo.com<BR><FONT=20
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR></P></FONT></BODY></HTML>
------=_NextPart_000_8B09_01C65FB0.6A83C060--


--===============1568156768==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============1568156768==--




From speechsc-bounces@ietf.org Fri Apr 14 10:16:02 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUP5e-0000yv-Ix; Fri, 14 Apr 2006 10:16:02 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUP5c-0000yq-PV
	for speechsc@ietf.org; Fri, 14 Apr 2006 10:16:00 -0400
Received: from sj-iport-4.cisco.com ([171.68.10.86])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUP5c-00037L-04
	for speechsc@ietf.org; Fri, 14 Apr 2006 10:16:00 -0400
Received: from sj-core-3.cisco.com ([171.68.223.137])
	by sj-iport-4.cisco.com with ESMTP; 14 Apr 2006 07:15:59 -0700
X-IronPort-AV: i="4.04,120,1144047600"; 
	d="scan'208"; a="1795039276:sNHT1318144382"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-3.cisco.com (8.12.10/8.12.6) with ESMTP id k3EEFuVI024408;
	Fri, 14 Apr 2006 07:15:56 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] message-length clarification
Date: Fri, 14 Apr 2006 07:15:56 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE40654@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] message-length clarification
Thread-Index: AcZfYNvauIdiix/5Q8GQMZ/fD9EpaQAHJqlg
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Carter, Jerry" <jerry.carter@nuance.com>,
	"Dave Burke" <david.burke@voxpilot.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a38f40f81e96f7c17c0b6f9de20b7099
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Jerry,
    I don't think the argument ever was that it was broken when we got
here.=20

We got to the current header format after some long deliberation on the
best format for the parser and after weighing the cost difference for
the encoder in putting the length field where it is. The cost difference
for the encoder was found to be none or negligible compared to where it
is in HTTP/SIP while the advantage for the decoder was found to be
significant. The additional cost for the encoder is a decision of
whether to adjust the length by 1.

And hence the current choice. =20

Have I missed something here.

I haven't heard an argument more significant than, its different from
SIP/HTTP so far.

Sarvi=20

     -----Original Message-----
     From: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
     Sent: Thursday, April 13, 2006 6:13 PM
     To: Dave Burke
     Cc: speechsc@ietf.org
     Subject: RE: [Speechsc] message-length clarification
    =20
     Quite right.  The unanswered question whether there is any=20
     real utility to having this information in the start-line.=20
      I haven't heard any.  Certainly HTTP and SIP seem to do=20
     quite fine without it.
    =20
     I tend to agree with Brett that removing the length would=20
     not hurt the specification in any way.  As for the "it was=20
     broken when we got here so we can't fix it" argument for=20
     the status quo, I don't find that very compelling.
    =20
     -=3D- Jerry
    =20
     > -----Original Message-----
     > From: Dave Burke [mailto:david.burke@voxpilot.com]
     > Sent: Thursday, April 13, 2006 7:39 PM
     > To: Shanmugham, Saravanan; Brett Gavagni
     > Cc: speechsc@ietf.org
     > Subject: Re: [Speechsc] message-length clarification
     >=20
     > Just wanted to insert one point that I haven't seen=20
     mentioned: The=20
     > message-length makes it easier to decode but not encode.
     >=20
     > This is because the message-length also includes the=20
     number of bytes=20
     > that specify the message-length in the header. The algorithm for=20
     > determining the message-length has to add up all the=20
     bytes in the=20
     > message to get a total
     > (label: N), then determine the number of bytes to=20
     represent N (label:=20
     > M), then check if the total N+M rolls over a power of 10=20
     (if it does=20
     > you need another byte). The value to insert for the=20
     message-length is=20
     > not simply
     > N+M
     > but rather
     >=20
     >     (N >=3D (10^M-M)) ? N+M+1 : N+M
     >=20
     > For example, if N=3D97 then M=3D2 and N+M=3D99=3Dmessage-length.=20
     However, if=20
     > N=3D98 then M=3D2 but now N+M=3D100 =3D> message-length=3DN+M+1
     >=20
     > Sorta awkward - no?
     >=20
     > Dave
     >=20
     >=20
     >=20
     >=20
     >=20
     > ----- Original Message -----
     > From: "Brett Gavagni" <gavagni@us.ibm.com>
     > To: "Shanmugham, Saravanan" <sarvi@cisco.com>
     > Cc: <speechsc@ietf.org>
     > Sent: Thursday, April 13, 2006 1:52 PM
     > Subject: RE: [Speechsc] message-length clarification
     >=20
     >=20
     > Hi Sarvi,
     >=20
     > I realize that it may be late in the game for addressing=20
     problems in=20
     > the specification, but I would evangelize that its=20
     cheaper to pay now=20
     > (potential standardization delays) than to pay later=20
     (poor adoption)=20
     > due to convolution and problematic issues in the spec.
     >=20
     > Since the session control for MRCPv2 is separated (a la=20
     SIP, RTSP,=20
     > etc..) and not tunnelled, what would be the compelling=20
     reason that the=20
     > message-length token exist in the start-line especially=20
     since the=20
     > "Content-Length" header?
     >=20
     > I'm now  proposing the removal of the message-length=20
     token from the=20
     > start-line in entirety, as it is at least redundant and=20
     deviating from=20
     > the HTTP-like conventions leveraged throughout the spec.
     >=20
     > Thanks,
     >=20
     > Brett Gavagni
     > WebSphere Voice Server Development
     > http://www-306.ibm.com/software/pervasive/voice_server/
     > gavagni@us.ibm.com
     >=20
     >=20
     >=20
     >=20
     > "Shanmugham, Saravanan" <sarvi@cisco.com>
     > 04/13/2006 04:21 PM
     >=20
     > To
     > Brett Gavagni/West Palm Beach/IBM@IBMUS cc=20
     <speechsc@ietf.org> Subject
     > RE: [Speechsc] message-length clarification
     >=20
     >=20
     >=20
     >=20
     >=20
     >=20
     > Hi Bret,
     >     We are at a stage in the spec development, where we=20
     would like to=20
     > restrict changes to  clarifications and significant=20
     issues that would=20
     > impede implementation or usage of the protocol
     >=20
     > 1. The point that the message length in the examples are=20
     not accurate,=20
     > is true. But that will be true irrrespective of whether=20
     the length=20
     > field includes the header or not. That is because, they=20
     were never=20
     > accurately calculated in the first place. And this has=20
     been discussed=20
     > before and I do't think there is any plan to fix this.
     >=20
     > 2. On the topic of message length inlcuding or excluding=20
     the header=20
     > line, I have not heard a strong enough argument to=20
     warant a change in=20
     > the document this late in the specification.
     >=20
     > 3. Same thing with the position of Version number in the=20
     header line.
     >=20
     > So unless I hear very strong objections to the above=20
     conclusions on=20
     > this issues from  more folks, I would like to leave the=20
     deinfition of=20
     > the headers as is, with may be clarification that the=20
     message length=20
     > in the examples should not be assumed to be accurate.
     >=20
     > Thanks,
     > Sarvi
     >=20
     >=20
     >      -----Original Message-----
     >      From: Brett Gavagni [mailto:gavagni@us.ibm.com]
     >      Sent: Thursday, April 13, 2006 12:39 PM
     >      To: Shanmugham, Saravanan
     >      Cc: speechsc@ietf.org
     >      Subject: RE: [Speechsc] message-length clarification
     >=20
     >      My comments in-line.
     >=20
     >      Thanks,
     >=20
     >      Brett Gavagni
     >      WebSphere Voice Server Development
     >      http://www-306.ibm.com/software/pervasive/voice_server/
     >      (561) 862-2097 T/L (975)
     >      gavagni@us.ibm.com
     >=20
     >=20
     >=20
     >=20
     >      "Shanmugham, Saravanan" <sarvi@cisco.com>
     >      04/13/2006 02:25 PM
     >=20
     >      To
     >      Brett Gavagni/West Palm Beach/IBM@IBMUS
     >      cc
     >      <speechsc@ietf.org>
     >      Subject
     >      RE: [Speechsc] message-length clarification
     >=20
     >=20
     >=20
     >=20
     >=20
     >=20
     >      See inline.
     >=20
     >           -----Original Message-----
     >           From: Brett Gavagni [mailto:gavagni@us.ibm.com]
     >           Sent: Thursday, April 13, 2006 10:52 AM
     >           To: Shanmugham, Saravanan
     >           Cc: speechsc@ietf.org
     >           Subject: RE: [Speechsc] message-length clarification
     >=20
     >           Yes, there are efficiency issues with the way that the
     >           message-length is defined today in MRCPv2.
     >=20
     >           An example is when a server needs to send a=20
     message to the
     >           client. The server would need to calculate the=20
     size of the
     >           MRCP message, and then modify the start-line
     >      message-length token.
     >=20
     >      Sarvi>> I don't see the issue here. You need=20
     calculate the message
     >      length and put in the header whether the length includes
     >      the header-line or not. I am not convinced this is
     >      significant enough o warrant a change this alte in the spec.
     >=20
     >      Brett>> Agree that the server will always need to=20
     calculate the
     >      message-length.
     >      I'm arguing that the current wording in draft-9 w.r.t.
     >      message-length shouldn't include the size of the
     >      start-line. As I indicated in earlier in this thread,
     >      there are multiple examples throughout draft-9 which do
     >      NOT reflect the wording that the start-line should be
     >      included in the message-length.
     >=20
     >      Neither one of the examples below have a message-length
     >      token value in the
     >=20
     >      start-line that reflects the wording requiring the size of
     >      the start-line length in the message-length. The client
     >      message is >124 including the start_line, and server
     >      message is >47 including the start-line.
     >=20
     >      6.1.1.  SET-PARAMS
     >=20
     >         C->S:  MRCP/2.0 124 SET-PARAMS 543256
     >                Channel-Identifier:32AECB23433802@speechsynth
     >                Voice-gender:female
     >                Voice-variant:3
     >=20
     >         S->C:  MRCP/2.0 47 543256 200 COMPLETE
     >                Channel-Identifier:32AECB23433802@speechsynth
     >=20
     >      I don't think that the examples are incorrect, but rather
     >      the wording in the draft is counter productive.
     >=20
     >      Sarvi>> Also the length field was added earlier and=20
     at a specific
     >      location after the version information, so as to make the
     >      parsing of the message efficient. This way the moment the
     >      parse reads the first 2 tokens, it has the MRCP version
     >      number and the message to look forward to allowing for an
     >      efficient parser implementation. Which was one the reasons
     >      we went for the current definition of the header line.
     >=20
     >=20
     >           Is there any compelling reason why the message-length
     >           should include the length of the start-line?
     >=20
     >           I would also be curious as for the reasoning related to
     >           the general deviation in the request-line and=20
     event-line
     >           start-line definition from MRCPv1. The MRCPv1=20
     ABNF syntax
     >           was similar to what is defined for SIP and=20
     HTTP 1.1 w.r.t.
     >           to token order.
     >=20
     >           Why does the MCRPv2 request-line and the event-line
     >           start-line have mrcp-version for the first=20
     token (which is
     >           what I would expect for the status-line)?
     >      Sarvi>> The reason for having version and length
     >      information earlier on
     >      is described above.
     >=20
     >      Brett>> IMO, deviating from HTTP-like similarities=20
     will hinder NOT
     >      Brett>> enhance
     >=20
     >      interoperability. For example, MRCPv2 could've been
     >      defined in ASN.1 if HTTP-like similarities weren't a
     >      beneficial proponent for MRCPv2 embracement/adoption. =3D)
     >=20
     >      Thx,
     >      Sarvi
     >=20
     >           MRCPv2
     >              start-line       =3D    request-line / status-line /
     >      event-line
     >=20
     >              request-line   =3D    mrcp-version SP=20
     message-length SP
     >           method-name SP
     >           request-id CRLF
     >=20
     >              event-line       =3D    mrcp-version SP=20
     message-length SP
     >           event-name SP
     >           request-id SP request-state CRLF
     >=20
     >           The following protocols are very similar syntactically
     >           w.r.t. the request-line start-line.
     >=20
     >           RFC 2616 - HTTP 1.1
     >              Request-Line   =3D Method SP Request-URI SP=20
     HTTP-Version CRLF
     >=20
     >           RFC 3261 - SIP  2.0
     >              Request-Line   =3D  Method SP Request-URI SP=20
     SIP-Version CRLF
     >=20
     >           mrcp-07 - MRCPv1
     >               request-line   =3D  method-name SP request-id SP
     >           mrcp-version CRLF
     >=20
     >               event-line     =3D    event-name SP request-id SP
     >           request-state SP
     >           mrcp-version CRLF
     >=20
     >           Thanks,
     >=20
     >           Brett Gavagni
     >           WebSphere Voice Server Development
     >           http://www-306.ibm.com/software/pervasive/voice_server/
     >           (561) 862-2097 T/L (975)
     >           gavagni@us.ibm.com
     >=20
     >=20
     >=20
     >=20
     >           "Shanmugham, Saravanan" <sarvi@cisco.com>
     >           04/13/2006 12:59 PM
     >=20
     >           To
     >           Brett Gavagni/West Palm Beach/IBM@IBMUS,
     >      <speechsc@ietf.org> cc
     >=20
     >           Subject
     >           RE: [Speechsc] message-length clarification
     >=20
     >=20
     >=20
     >=20
     >=20
     >=20
     >           Do you see any specific implementation or=20
     efficiency issue
     >           with the way it is defined today.
     >=20
     >=20
     >           Sarvi
     >=20
     >                -----Original Message-----
     >                From: Brett Gavagni [mailto:gavagni@us.ibm.com]
     >                Sent: Thursday, April 13, 2006 8:21 AM
     >                To: speechsc@ietf.org
     >                Subject: [Speechsc] message-length clarification
     >=20
     >                What is the reasoning for including the=20
     length of the
     >                start-line in the message-length value?
     >=20
     >                Seems a bit inconsistent with other textual based
     >                protocols including: SIP 2.0, HTTP 1.1,=20
     or even MRCPv1.
     >=20
     >                5.1.  Common Protocol Elements
     >=20
     >                   The message-length field specifies the=20
     length of
     >           the message,
     >                   including the start-line, and MUST be the 2nd
     >           token from the
     >                   beginning of the message.  This is to make
     >      the framing
     >                and parsing of
     >                   the message simpler to do.  This field=20
     specifies the
     >                length of the
     >                   message including data that may be encoded into
     >           the body of the
     >                   message.
     >=20
     >=20
     >                5.2.  Request
     >                   The message-length field specifies the=20
     length of
     >           the message,
     >                   including the start-line.
     >=20
     >=20
     >                5.3.  Response
     >                   The message-length field specifies the=20
     length of
     >           the message,
     >                   including the start-line.
     >=20
     >                I hope that this is just a wording problem as
     >      even some of
     >                the examples don't have an accurate=20
     message-length value
     >                w.r.t draft-9 wording.
     >=20
     >                Shanmugham & Burnett      Expires June 10, 2006
     >                    [Page 99]
     >=20
     >                Internet-Draft                   MRCPv2
     >                December 2005
     >=20
     >=20
     >                   S->C:MRCP/2.0 69 543259 200 COMPLETE
     >                   Channel-Identifier:32AECB23433801@speechrecog
     >                           Completion-Cause:000 success
     >=20
     >                Propose to modify the wording that
     >      message-length does NOT
     >                include the start-line as an issue to=20
     track for the
     >           next draft.
     >=20
     >                Thanks,
     >=20
     >                Brett Gavagni
     >                WebSphere Voice Server Development
     >               =20
     http://www-306.ibm.com/software/pervasive/voice_server/
     >                gavagni@us.ibm.com
     >=20
     >=20
     >                _______________________________________________
     >                Speechsc mailing list
     >                Speechsc@ietf.org
     >                https://www1.ietf.org/mailman/listinfo/speechsc
     >=20
     >=20
     >=20
     >=20
     >=20
     >=20
     > _______________________________________________
     > Speechsc mailing list
     > Speechsc@ietf.org
     > https://www1.ietf.org/mailman/listinfo/speechsc
     >=20
     >=20
     > _______________________________________________
     > Speechsc mailing list
     > Speechsc@ietf.org
     > https://www1.ietf.org/mailman/listinfo/speechsc
    =20
     _______________________________________________
     Speechsc mailing list
     Speechsc@ietf.org
     https://www1.ietf.org/mailman/listinfo/speechsc
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Fri Apr 14 13:23:45 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUS15-0006Px-PG; Fri, 14 Apr 2006 13:23:31 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUS14-0006Ps-Gx
	for speechsc@ietf.org; Fri, 14 Apr 2006 13:23:30 -0400
Received: from e36.co.us.ibm.com ([32.97.110.154])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUS13-0000bM-Qq
	for speechsc@ietf.org; Fri, 14 Apr 2006 13:23:30 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
	[9.17.195.11])
	by e36.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3EHNTxp026560
	for <speechsc@ietf.org>; Fri, 14 Apr 2006 13:23:29 -0400
Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170])
	by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3EHJuIO241950
	for <speechsc@ietf.org>; Fri, 14 Apr 2006 11:19:56 -0600
Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1])
	by d03av04.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3EHNSil017280
	for <speechsc@ietf.org>; Fri, 14 Apr 2006 11:23:28 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3EHNS7j017275; Fri, 14 Apr 2006 11:23:28 -0600
In-Reply-To: <03772D1EC8DE624A863058C75874A75CE40654@vtg-um-e2k6.sj21ad.cisco.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>
Subject: RE: [Speechsc] message-length clarification
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF3669A2E1.588412D2-ON87257150.005849BA-85257150.005F8797@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Fri, 14 Apr 2006 13:26:36 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/14/2006 11:26:37,
	Serialize complete at 04/14/2006 11:26:37
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c8611c7316981838cbe4195d07ac7fdb
Cc: speechsc@ietf.org, Dave Burke <david.burke@voxpilot.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Sarvi,

As requested, we've identified at least one inefficient and redundant 
impact w.r.t message-length wording in the current draft (+1 byte 
calculation scenario).

I've received confirmation that the examples are incorrect w.r.t current 
message-length definition, and a "too late to make changes" response. 

I thought that I remembered reading from the mailing list that we were 
expecting at least one more draft to be published before getting to the 
RFC editor queue, and so why would we (as a community) not want to correct 
any identified problematic issues in advance? 

Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/ 
gavagni@us.ibm.com




"Shanmugham, Saravanan" <sarvi@cisco.com> 
04/14/2006 10:15 AM

To
"Carter, Jerry" <jerry.carter@nuance.com>, "Dave Burke" 
<david.burke@voxpilot.com>
cc
speechsc@ietf.org
Subject
RE: [Speechsc] message-length clarification






Jerry,
    I don't think the argument ever was that it was broken when we got
here. 

We got to the current header format after some long deliberation on the
best format for the parser and after weighing the cost difference for
the encoder in putting the length field where it is. The cost difference
for the encoder was found to be none or negligible compared to where it
is in HTTP/SIP while the advantage for the decoder was found to be
significant. The additional cost for the encoder is a decision of
whether to adjust the length by 1.

And hence the current choice. 

Have I missed something here.

I haven't heard an argument more significant than, its different from
SIP/HTTP so far.

Sarvi 

     -----Original Message-----
     From: Carter, Jerry [mailto:jerry.carter@nuance.com] 
     Sent: Thursday, April 13, 2006 6:13 PM
     To: Dave Burke
     Cc: speechsc@ietf.org
     Subject: RE: [Speechsc] message-length clarification
 
     Quite right.  The unanswered question whether there is any 
     real utility to having this information in the start-line. 
      I haven't heard any.  Certainly HTTP and SIP seem to do 
     quite fine without it.
 
     I tend to agree with Brett that removing the length would 
     not hurt the specification in any way.  As for the "it was 
     broken when we got here so we can't fix it" argument for 
     the status quo, I don't find that very compelling.
 
     -=- Jerry
 
     > -----Original Message-----
     > From: Dave Burke [mailto:david.burke@voxpilot.com]
     > Sent: Thursday, April 13, 2006 7:39 PM
     > To: Shanmugham, Saravanan; Brett Gavagni
     > Cc: speechsc@ietf.org
     > Subject: Re: [Speechsc] message-length clarification
     > 
     > Just wanted to insert one point that I haven't seen 
     mentioned: The 
     > message-length makes it easier to decode but not encode.
     > 
     > This is because the message-length also includes the 
     number of bytes 
     > that specify the message-length in the header. The algorithm for 
     > determining the message-length has to add up all the 
     bytes in the 
     > message to get a total
     > (label: N), then determine the number of bytes to 
     represent N (label: 
     > M), then check if the total N+M rolls over a power of 10 
     (if it does 
     > you need another byte). The value to insert for the 
     message-length is 
     > not simply
     > N+M
     > but rather
     > 
     >     (N >= (10^M-M)) ? N+M+1 : N+M
     > 
     > For example, if N=97 then M=2 and N+M=99=message-length. 
     However, if 
     > N=98 then M=2 but now N+M=100 => message-length=N+M+1
     > 
     > Sorta awkward - no?
     > 
     > Dave
     > 
     > 
     > 
     > 
     > 
     > ----- Original Message -----
     > From: "Brett Gavagni" <gavagni@us.ibm.com>
     > To: "Shanmugham, Saravanan" <sarvi@cisco.com>
     > Cc: <speechsc@ietf.org>
     > Sent: Thursday, April 13, 2006 1:52 PM
     > Subject: RE: [Speechsc] message-length clarification
     > 
     > 
     > Hi Sarvi,
     > 
     > I realize that it may be late in the game for addressing 
     problems in 
     > the specification, but I would evangelize that its 
     cheaper to pay now 
     > (potential standardization delays) than to pay later 
     (poor adoption) 
     > due to convolution and problematic issues in the spec.
     > 
     > Since the session control for MRCPv2 is separated (a la 
     SIP, RTSP, 
     > etc..) and not tunnelled, what would be the compelling 
     reason that the 
     > message-length token exist in the start-line especially 
     since the 
     > "Content-Length" header?
     > 
     > I'm now  proposing the removal of the message-length 
     token from the 
     > start-line in entirety, as it is at least redundant and 
     deviating from 
     > the HTTP-like conventions leveraged throughout the spec.
     > 
     > Thanks,
     > 
     > Brett Gavagni
     > WebSphere Voice Server Development
     > http://www-306.ibm.com/software/pervasive/voice_server/
     > gavagni@us.ibm.com
     > 
     > 
     > 
     > 
     > "Shanmugham, Saravanan" <sarvi@cisco.com>
     > 04/13/2006 04:21 PM
     > 
     > To
     > Brett Gavagni/West Palm Beach/IBM@IBMUS cc 
     <speechsc@ietf.org> Subject
     > RE: [Speechsc] message-length clarification
     > 
     > 
     > 
     > 
     > 
     > 
     > Hi Bret,
     >     We are at a stage in the spec development, where we 
     would like to 
     > restrict changes to  clarifications and significant 
     issues that would 
     > impede implementation or usage of the protocol
     > 
     > 1. The point that the message length in the examples are 
     not accurate, 
     > is true. But that will be true irrrespective of whether 
     the length 
     > field includes the header or not. That is because, they 
     were never 
     > accurately calculated in the first place. And this has 
     been discussed 
     > before and I do't think there is any plan to fix this.
     > 
     > 2. On the topic of message length inlcuding or excluding 
     the header 
     > line, I have not heard a strong enough argument to 
     warant a change in 
     > the document this late in the specification.
     > 
     > 3. Same thing with the position of Version number in the 
     header line.
     > 
     > So unless I hear very strong objections to the above 
     conclusions on 
     > this issues from  more folks, I would like to leave the 
     deinfition of 
     > the headers as is, with may be clarification that the 
     message length 
     > in the examples should not be assumed to be accurate.
     > 
     > Thanks,
     > Sarvi
     > 
     > 
     >      -----Original Message-----
     >      From: Brett Gavagni [mailto:gavagni@us.ibm.com]
     >      Sent: Thursday, April 13, 2006 12:39 PM
     >      To: Shanmugham, Saravanan
     >      Cc: speechsc@ietf.org
     >      Subject: RE: [Speechsc] message-length clarification
     > 
     >      My comments in-line.
     > 
     >      Thanks,
     > 
     >      Brett Gavagni
     >      WebSphere Voice Server Development
     >      http://www-306.ibm.com/software/pervasive/voice_server/
     >      (561) 862-2097 T/L (975)
     >      gavagni@us.ibm.com
     > 
     > 
     > 
     > 
     >      "Shanmugham, Saravanan" <sarvi@cisco.com>
     >      04/13/2006 02:25 PM
     > 
     >      To
     >      Brett Gavagni/West Palm Beach/IBM@IBMUS
     >      cc
     >      <speechsc@ietf.org>
     >      Subject
     >      RE: [Speechsc] message-length clarification
     > 
     > 
     > 
     > 
     > 
     > 
     >      See inline.
     > 
     >           -----Original Message-----
     >           From: Brett Gavagni [mailto:gavagni@us.ibm.com]
     >           Sent: Thursday, April 13, 2006 10:52 AM
     >           To: Shanmugham, Saravanan
     >           Cc: speechsc@ietf.org
     >           Subject: RE: [Speechsc] message-length clarification
     > 
     >           Yes, there are efficiency issues with the way that the
     >           message-length is defined today in MRCPv2.
     > 
     >           An example is when a server needs to send a 
     message to the
     >           client. The server would need to calculate the 
     size of the
     >           MRCP message, and then modify the start-line
     >      message-length token.
     > 
     >      Sarvi>> I don't see the issue here. You need 
     calculate the message
     >      length and put in the header whether the length includes
     >      the header-line or not. I am not convinced this is
     >      significant enough o warrant a change this alte in the spec.
     > 
     >      Brett>> Agree that the server will always need to 
     calculate the
     >      message-length.
     >      I'm arguing that the current wording in draft-9 w.r.t.
     >      message-length shouldn't include the size of the
     >      start-line. As I indicated in earlier in this thread,
     >      there are multiple examples throughout draft-9 which do
     >      NOT reflect the wording that the start-line should be
     >      included in the message-length.
     > 
     >      Neither one of the examples below have a message-length
     >      token value in the
     > 
     >      start-line that reflects the wording requiring the size of
     >      the start-line length in the message-length. The client
     >      message is >124 including the start_line, and server
     >      message is >47 including the start-line.
     > 
     >      6.1.1.  SET-PARAMS
     > 
     >         C->S:  MRCP/2.0 124 SET-PARAMS 543256
     >                Channel-Identifier:32AECB23433802@speechsynth
     >                Voice-gender:female
     >                Voice-variant:3
     > 
     >         S->C:  MRCP/2.0 47 543256 200 COMPLETE
     >                Channel-Identifier:32AECB23433802@speechsynth
     > 
     >      I don't think that the examples are incorrect, but rather
     >      the wording in the draft is counter productive.
     > 
     >      Sarvi>> Also the length field was added earlier and 
     at a specific
     >      location after the version information, so as to make the
     >      parsing of the message efficient. This way the moment the
     >      parse reads the first 2 tokens, it has the MRCP version
     >      number and the message to look forward to allowing for an
     >      efficient parser implementation. Which was one the reasons
     >      we went for the current definition of the header line.
     > 
     > 
     >           Is there any compelling reason why the message-length
     >           should include the length of the start-line?
     > 
     >           I would also be curious as for the reasoning related to
     >           the general deviation in the request-line and 
     event-line
     >           start-line definition from MRCPv1. The MRCPv1 
     ABNF syntax
     >           was similar to what is defined for SIP and 
     HTTP 1.1 w.r.t.
     >           to token order.
     > 
     >           Why does the MCRPv2 request-line and the event-line
     >           start-line have mrcp-version for the first 
     token (which is
     >           what I would expect for the status-line)?
     >      Sarvi>> The reason for having version and length
     >      information earlier on
     >      is described above.
     > 
     >      Brett>> IMO, deviating from HTTP-like similarities 
     will hinder NOT
     >      Brett>> enhance
     > 
     >      interoperability. For example, MRCPv2 could've been
     >      defined in ASN.1 if HTTP-like similarities weren't a
     >      beneficial proponent for MRCPv2 embracement/adoption. =)
     > 
     >      Thx,
     >      Sarvi
     > 
     >           MRCPv2
     >              start-line       =    request-line / status-line /
     >      event-line
     > 
     >              request-line   =    mrcp-version SP 
     message-length SP
     >           method-name SP
     >           request-id CRLF
     > 
     >              event-line       =    mrcp-version SP 
     message-length SP
     >           event-name SP
     >           request-id SP request-state CRLF
     > 
     >           The following protocols are very similar syntactically
     >           w.r.t. the request-line start-line.
     > 
     >           RFC 2616 - HTTP 1.1
     >              Request-Line   = Method SP Request-URI SP 
     HTTP-Version CRLF
     > 
     >           RFC 3261 - SIP  2.0
     >              Request-Line   =  Method SP Request-URI SP 
     SIP-Version CRLF
     > 
     >           mrcp-07 - MRCPv1
     >               request-line   =  method-name SP request-id SP
     >           mrcp-version CRLF
     > 
     >               event-line     =    event-name SP request-id SP
     >           request-state SP
     >           mrcp-version CRLF
     > 
     >           Thanks,
     > 
     >           Brett Gavagni
     >           WebSphere Voice Server Development
     >           http://www-306.ibm.com/software/pervasive/voice_server/
     >           gavagni@us.ibm.com
     > 
     > 
     > 
     > 
     >           "Shanmugham, Saravanan" <sarvi@cisco.com>
     >           04/13/2006 12:59 PM
     > 
     >           To
     >           Brett Gavagni/West Palm Beach/IBM@IBMUS,
     >      <speechsc@ietf.org> cc
     > 
     >           Subject
     >           RE: [Speechsc] message-length clarification
     > 
     > 
     > 
     > 
     > 
     > 
     >           Do you see any specific implementation or 
     efficiency issue
     >           with the way it is defined today.
     > 
     > 
     >           Sarvi
     > 
     >                -----Original Message-----
     >                From: Brett Gavagni [mailto:gavagni@us.ibm.com]
     >                Sent: Thursday, April 13, 2006 8:21 AM
     >                To: speechsc@ietf.org
     >                Subject: [Speechsc] message-length clarification
     > 
     >                What is the reasoning for including the 
     length of the
     >                start-line in the message-length value?
     > 
     >                Seems a bit inconsistent with other textual based
     >                protocols including: SIP 2.0, HTTP 1.1, 
     or even MRCPv1.
     > 
     >                5.1.  Common Protocol Elements
     > 
     >                   The message-length field specifies the 
     length of
     >           the message,
     >                   including the start-line, and MUST be the 2nd
     >           token from the
     >                   beginning of the message.  This is to make
     >      the framing
     >                and parsing of
     >                   the message simpler to do.  This field 
     specifies the
     >                length of the
     >                   message including data that may be encoded into
     >           the body of the
     >                   message.
     > 
     > 
     >                5.2.  Request
     >                   The message-length field specifies the 
     length of
     >           the message,
     >                   including the start-line.
     > 
     > 
     >                5.3.  Response
     >                   The message-length field specifies the 
     length of
     >           the message,
     >                   including the start-line.
     > 
     >                I hope that this is just a wording problem as
     >      even some of
     >                the examples don't have an accurate 
     message-length value
     >                w.r.t draft-9 wording.
     > 
     >                Shanmugham & Burnett      Expires June 10, 2006
     >                    [Page 99]
     > 
     >                Internet-Draft                   MRCPv2
     >                December 2005
     > 
     > 
     >                   S->C:MRCP/2.0 69 543259 200 COMPLETE
     >                   Channel-Identifier:32AECB23433801@speechrecog
     >                           Completion-Cause:000 success
     > 
     >                Propose to modify the wording that
     >      message-length does NOT
     >                include the start-line as an issue to 
     track for the
     >           next draft.
     > 
     >                Thanks,
     > 
     >                Brett Gavagni
     >                WebSphere Voice Server Development
     > 
     http://www-306.ibm.com/software/pervasive/voice_server/
     >                gavagni@us.ibm.com
     > 
     > 
     >                _______________________________________________
     >                Speechsc mailing list
     >                Speechsc@ietf.org
     >                https://www1.ietf.org/mailman/listinfo/speechsc
     > 
     > 
     > 
     > 
     > 
     > 
     > _______________________________________________
     > Speechsc mailing list
     > Speechsc@ietf.org
     > https://www1.ietf.org/mailman/listinfo/speechsc
     > 
     > 
     > _______________________________________________
     > Speechsc mailing list
     > Speechsc@ietf.org
     > https://www1.ietf.org/mailman/listinfo/speechsc
 
     _______________________________________________
     Speechsc mailing list
     Speechsc@ietf.org
     https://www1.ietf.org/mailman/listinfo/speechsc
 

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Fri Apr 14 14:06:30 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUSgg-0001A1-5b; Fri, 14 Apr 2006 14:06:30 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUSge-00019r-QB
	for speechsc@ietf.org; Fri, 14 Apr 2006 14:06:28 -0400
Received: from test-iport-2.cisco.com ([171.71.176.105])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUSgc-0002Fk-La
	for speechsc@ietf.org; Fri, 14 Apr 2006 14:06:28 -0400
Received: from sj-core-2.cisco.com ([171.71.177.254])
	by test-iport-2.cisco.com with ESMTP; 14 Apr 2006 11:06:26 -0700
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id k3EI6Nh0024793;
	Fri, 14 Apr 2006 11:06:23 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Speechsc] message-length clarification
Date: Fri, 14 Apr 2006 11:06:21 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE4068F@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] message-length clarification
Thread-Index: AcZfmRGDQXJSSKnwRpKi9EuIYfspQAABHzewABQEMQA=
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>, <speechsc@ietf.org>
X-Spam-Score: 1.3 (+)
X-Scan-Signature: 4f585e1bcd209294c6b9386034cecfc6
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0480584052=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============0480584052==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C65FEE.23885F78"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C65FEE.23885F78
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Pete/Bergallo,
=20
Leading spaces are illegal per the current ABNF definition.=20
But Pete's suggestion is perfectly legal and makes the encoding phase
just as effciient.
=20
I can add this clarification/suggestion for implementers into the
specification.
=20
Thx,
=20
Sarvi


________________________________

	From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com]=20
	Sent: Friday, April 14, 2006 1:44 AM
	To: speechsc@ietf.org
	Subject: RE: [Speechsc] message-length clarification
=09
=09
	=20
	I agree that problems arise more on encoding side than in
decoding one.
	What about using leading SP, with the same purpose of leading
zeros
	mentioned by Pete?
	Is it legal?
	Anyway, though I'm not a big fan of message-length field, I
think that
	removing it at this stage of spec should be avoided.
=09
	Regards,
	Patrizio Bergallo, Loquendo.=20
=09
	> -----Original Message-----
	> From: Pete Cordell [mailto:pete@tech-know-ware.com]=20
	> Sent: Friday, April 14, 2006 9:55 AM
	> To: Dave Burke
	> Cc: speechsc@ietf.org
	> Subject: Re: [Speechsc] message-length clarification
	>=20
	>=20
	> As someone watching from the sidelines, this issue about the=20
	> representation=20
	> of the length field potentially changing the value of the=20
	> length that needed=20
	> to be encoded occurred to me also.
	>=20
	> I wondered if you could use leading zeros in the length field=20
	> so that it is=20
	> always fixed length. e.g. in C it would be something like:
	>=20
	> sprintf( lstr, "%04d", len ); // Not sure if 4 is the right
number!
	>=20
	> Messages would then look like:
	>=20
	> MRCP/2.0 0047 543256 200 COMPLETE
	> ...
	>=20
	> Still a bit of a gotcha though, that could lead to one of=20
	> those one in a=20
	> hundred type bugs!
	>=20
	> Regards,
	>=20
	> Pete.
	> --
	> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
	> Pete Cordell
	> Tech-Know-Ware Ltd
	> for XML to C++ data binding visit
	> http://www.tech-know-ware.com/lmx
	> (or http://www.xml2cpp.com)=20
	> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
	>=20
	> ----- Original Message -----=20
	> From: "Dave Burke"=20
	> To: "Shanmugham, Saravanan" ; "Brett Gavagni"=20
	>=20
	> Cc:=20
	> Sent: Friday, April 14, 2006 12:39 AM
	> Subject: Re: [Speechsc] message-length clarification
	>=20
	>=20
	> > Just wanted to insert one point that I haven't seen
mentioned: The
	> > message-length makes it easier to decode but not encode.
	> >
	> > This is because the message-length also includes the number=20
	> of bytes=20
	> > that
	> > specify the message-length in the header. The algorithm for=20
	> determining=20
	> > the message-length has to add up all the bytes in the=20
	> message to get a=20
	> > total (label: N), then determine the number of bytes to
represent N=20
	> > (label: M), then check if the total N+M rolls over a power=20
	> of 10 (if it=20
	> > does you need another byte). The value to insert for the=20
	> message-length is=20
	> > not simply N+M but rather
	> >
	> > (N >=3D (10^M-M)) ? N+M+1 : N+M
	> >
	> > For example, if N=3D97 then M=3D2 and N+M=3D99=3Dmessage-length.=20
	> However, if=20
	> > N=3D98
	> > then M=3D2 but now N+M=3D100 =3D> message-length=3DN+M+1
	> >
	> > Sorta awkward - no?
	> >
	> > Dave
	> >
	> >
	> >
	> >
	> >
	> > ----- Original Message -----
	> > From: "Brett Gavagni"=20
	> > To: "Shanmugham, Saravanan"=20
	> > Cc:=20
	> > Sent: Thursday, April 13, 2006 1:52 PM
	> > Subject: RE: [Speechsc] message-length clarification
	> >
	> >
	> > Hi Sarvi,
	> >
	> > I realize that it may be late in the game for addressing=20
	> problems in=20
	> > the specification, but I would evangelize that its cheaper=20
	> to pay now=20
	> > (potential standardization delays) than to pay later (poor=20
	> adoption)=20
	> > due to convolution and problematic issues in the spec.
	> >
	> > Since the session control for MRCPv2 is separated (a la SIP,
RTSP,=20
	> > etc..) and not tunnelled, what would be the compelling=20
	> reason that the=20
	> > message-length token exist in the start-line especially
since the=20
	> > "Content-Length" header?
	> >
	> > I'm now proposing the removal of the message-length token
from the=20
	> > start-line in entirety, as it is at least redundant and=20
	> deviating from=20
	> > the HTTP-like conventions leveraged throughout the spec.
	> >
	> > Thanks,
	> >
	> > Brett Gavagni
	> > WebSphere Voice Server Development=20
	> > http://www-306.ibm.com/software/pervasive/voice_server/
	> > gavagni@us.ibm.com
	> >
	> ...cut...=20
	>=20
	>=20
	>=20
	> _______________________________________________
	> Speechsc mailing list
	> Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc
	>=20
=09
	Gruppo Telecom Italia - Direzione e coordinamento di Telecom
Italia S.p.A.
=09
	=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
	CONFIDENTIALITY NOTICE
	This message and its attachments are addressed solely to the
persons
	above and may contain confidential information. If you have
received
	the message in error, be informed that any use of the content
hereof
	is prohibited. Please return it immediately to the sender and
delete
	the message. Should you have any questions, please send an
e_mail to
	<mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it.
Thank you
	<http://www.loquendo.com>www.loquendo.com
	=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=09

=09


------_=_NextPart_001_01C65FEE.23885F78
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Pete/Bergallo,</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Leading&nbsp;spaces are illegal per the current =
ABNF=20
definition. </FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>But Pete's suggestion is perfectly legal and =
makes the=20
encoding phase just as effciient.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>I&nbsp;can&nbsp;add this =
clarification/suggestion for=20
implementers into the specification.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Thx,</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D924400218-14042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Sarvi</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Bergallo Patrizio=20
  [mailto:patrizio.bergallo@loquendo.com] <BR><B>Sent:</B> Friday, April =
14,=20
  2006 1:44 AM<BR><B>To:</B> speechsc@ietf.org<BR><B>Subject:</B> RE: =
[Speechsc]=20
  message-length clarification<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>&nbsp;</DIV>I agree that problems arise more on encoding side =
than in=20
  decoding one.<BR>What about using leading SP, with the same purpose of =
leading=20
  zeros<BR>mentioned by Pete?<BR>Is it legal?<BR>Anyway, though I'm not =
a big=20
  fan of message-length field, I think that<BR>removing it at this stage =
of spec=20
  should be avoided.<BR><BR>Regards,<BR>Patrizio Bergallo, Loquendo.=20
  <BR><BR>&gt; -----Original Message-----<BR>&gt; From: Pete Cordell=20
  [mailto:pete@tech-know-ware.com] <BR>&gt; Sent: Friday, April 14, 2006 =
9:55=20
  AM<BR>&gt; To: Dave Burke<BR>&gt; Cc: speechsc@ietf.org<BR>&gt; =
Subject: Re:=20
  [Speechsc] message-length clarification<BR>&gt; <BR>&gt; <BR>&gt; As =
someone=20
  watching from the sidelines, this issue about the <BR>&gt; =
representation=20
  <BR>&gt; of the length field potentially changing the value of the =
<BR>&gt;=20
  length that needed <BR>&gt; to be encoded occurred to me also.<BR>&gt; =

  <BR>&gt; I wondered if you could use leading zeros in the length field =

  <BR>&gt; so that it is <BR>&gt; always fixed length. e.g. in C it =
would be=20
  something like:<BR>&gt; <BR>&gt; sprintf( lstr, "%04d", len ); // Not =
sure if=20
  4 is the right number!<BR>&gt; <BR>&gt; Messages would then look =
like:<BR>&gt;=20
  <BR>&gt; MRCP/2.0 0047 543256 200 COMPLETE<BR>&gt; ...<BR>&gt; =
<BR>&gt; Still=20
  a bit of a gotcha though, that could lead to one of <BR>&gt; those one =
in a=20
  <BR>&gt; hundred type bugs!<BR>&gt; <BR>&gt; Regards,<BR>&gt; <BR>&gt; =

  Pete.<BR>&gt; --<BR>&gt; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>&gt;=20
  Pete Cordell<BR>&gt; Tech-Know-Ware Ltd<BR>&gt; for XML to C++ data =
binding=20
  visit<BR>&gt; http://www.tech-know-ware.com/lmx<BR>&gt; (or=20
  http://www.xml2cpp.com) <BR>&gt;=20
  =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>&gt; =
<BR>&gt; ----- Original=20
  Message ----- <BR>&gt; From: "Dave Burke" =
<DAVID.BURKE@VOXPILOT.COM><BR>&gt;=20
  To: "Shanmugham, Saravanan" <SARVI@CISCO.COM>; "Brett Gavagni" =
<BR>&gt;=20
  <GAVAGNI@US.IBM.COM><BR>&gt; Cc: <SPEECHSC@IETF.ORG><BR>&gt; Sent: =
Friday,=20
  April 14, 2006 12:39 AM<BR>&gt; Subject: Re: [Speechsc] message-length =

  clarification<BR>&gt; <BR>&gt; <BR>&gt; &gt; Just wanted to insert one =
point=20
  that I haven't seen mentioned: The<BR>&gt; &gt; message-length makes =
it easier=20
  to decode but not encode.<BR>&gt; &gt;<BR>&gt; &gt; This is because =
the=20
  message-length also includes the number <BR>&gt; of bytes <BR>&gt; =
&gt;=20
  that<BR>&gt; &gt; specify the message-length in the header. The =
algorithm for=20
  <BR>&gt; determining <BR>&gt; &gt; the message-length has to add up =
all the=20
  bytes in the <BR>&gt; message to get a <BR>&gt; &gt; total (label: N), =
then=20
  determine the number of bytes to represent N <BR>&gt; &gt; (label: M), =
then=20
  check if the total N+M rolls over a power <BR>&gt; of 10 (if it =
<BR>&gt; &gt;=20
  does you need another byte). The value to insert for the <BR>&gt;=20
  message-length is <BR>&gt; &gt; not simply N+M but rather<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; (N &gt;=3D (10^M-M)) ? N+M+1 : N+M<BR>&gt; &gt;<BR>&gt; &gt; For =
example,=20
  if N=3D97 then M=3D2 and N+M=3D99=3Dmessage-length. <BR>&gt; However, =
if <BR>&gt; &gt;=20
  N=3D98<BR>&gt; &gt; then M=3D2 but now N+M=3D100 =3D&gt; =
message-length=3DN+M+1<BR>&gt;=20
  &gt;<BR>&gt; &gt; Sorta awkward - no?<BR>&gt; &gt;<BR>&gt; &gt; =
Dave<BR>&gt;=20
  &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; =
-----=20
  Original Message -----<BR>&gt; &gt; From: "Brett Gavagni"=20
  <GAVAGNI@US.IBM.COM><BR>&gt; &gt; To: "Shanmugham, Saravanan"=20
  <SARVI@CISCO.COM><BR>&gt; &gt; Cc: <SPEECHSC@IETF.ORG><BR>&gt; &gt; =
Sent:=20
  Thursday, April 13, 2006 1:52 PM<BR>&gt; &gt; Subject: RE: [Speechsc]=20
  message-length clarification<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Hi =

  Sarvi,<BR>&gt; &gt;<BR>&gt; &gt; I realize that it may be late in the =
game for=20
  addressing <BR>&gt; problems in <BR>&gt; &gt; the specification, but I =
would=20
  evangelize that its cheaper <BR>&gt; to pay now <BR>&gt; &gt; =
(potential=20
  standardization delays) than to pay later (poor <BR>&gt; adoption) =
<BR>&gt;=20
  &gt; due to convolution and problematic issues in the spec.<BR>&gt;=20
  &gt;<BR>&gt; &gt; Since the session control for MRCPv2 is separated (a =
la SIP,=20
  RTSP, <BR>&gt; &gt; etc..) and not tunnelled, what would be the =
compelling=20
  <BR>&gt; reason that the <BR>&gt; &gt; message-length token exist in =
the=20
  start-line especially since the <BR>&gt; &gt; "Content-Length" =
header?<BR>&gt;=20
  &gt;<BR>&gt; &gt; I'm now proposing the removal of the message-length =
token=20
  from the <BR>&gt; &gt; start-line in entirety, as it is at least =
redundant and=20
  <BR>&gt; deviating from <BR>&gt; &gt; the HTTP-like conventions =
leveraged=20
  throughout the spec.<BR>&gt; &gt;<BR>&gt; &gt; Thanks,<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; Brett Gavagni<BR>&gt; &gt; WebSphere Voice Server Development =
<BR>&gt;=20
  &gt; http://www-306.ibm.com/software/pervasive/voice_server/<BR>&gt; =
&gt;=20
  gavagni@us.ibm.com<BR>&gt; &gt;<BR>&gt; ...cut... <BR>&gt; <BR>&gt; =
<BR>&gt;=20
  <BR>&gt; _______________________________________________<BR>&gt; =
Speechsc=20
  mailing list<BR>&gt; Speechsc@ietf.org=20
  https://www1.ietf.org/mailman/listinfo/speechsc<BR>&gt; <BR><BR>Gruppo =
Telecom=20
  Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.<BR><BR><FONT=20
  =
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR>CONFIDENTIALITY=20
  NOTICE<BR>This message and its attachments are addressed solely to the =

  persons<BR>above and may contain confidential information. If you have =

  received<BR>the message in error, be informed that any use of the =
content=20
  hereof<BR>is prohibited. Please return it immediately to the sender =
and=20
  delete<BR>the message. Should you have any questions, please send an =
e_mail=20
  to<BR>&lt;<A=20
  =
href=3D"mailto:webmaster@telecomitalia.it">mailto:webmaster@telecomitalia=
.it</A>&gt;webmaster@telecomitalia.it.=20
  Thank you<BR>&lt;<A=20
  =
href=3D"http://www.loquendo.com">http://www.loquendo.com</A>&gt;www.loque=
ndo.com<BR><FONT=20
  =
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR>
  <P></P></BLOCKQUOTE></FONT></BODY></HTML>

------_=_NextPart_001_01C65FEE.23885F78--


--===============0480584052==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============0480584052==--




From speechsc-bounces@ietf.org Fri Apr 14 14:28:05 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUT1W-0002hT-S7; Fri, 14 Apr 2006 14:28:02 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUT1W-0002hO-Hq
	for speechsc@ietf.org; Fri, 14 Apr 2006 14:28:02 -0400
Received: from e32.co.us.ibm.com ([32.97.110.150])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUT1V-0003Rr-3o
	for speechsc@ietf.org; Fri, 14 Apr 2006 14:28:02 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
	[9.17.195.11])
	by e32.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3EIS0i8015408
	for <speechsc@ietf.org>; Fri, 14 Apr 2006 14:28:00 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167])
	by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3EIORIO271370
	for <speechsc@ietf.org>; Fri, 14 Apr 2006 12:24:27 -0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])
	by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3EIRxuV017241
	for <speechsc@ietf.org>; Fri, 14 Apr 2006 12:28:00 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3EIRxwQ017227; Fri, 14 Apr 2006 12:27:59 -0600
In-Reply-To: <03772D1EC8DE624A863058C75874A75CE4068F@vtg-um-e2k6.sj21ad.cisco.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>
Subject: RE: [Speechsc] message-length clarification
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OFEB9BFE52.E954067A-ON87257150.00657861-85257150.00656FB3@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Fri, 14 Apr 2006 14:31:07 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/14/2006 12:31:08,
	Serialize complete at 04/14/2006 12:31:08
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 1.1 (+)
X-Scan-Signature: 88b11fc64c1bfdb4425294ef5374ca07
Cc: speechsc@ietf.org, Bergallo Patrizio <patrizio.bergallo@loquendo.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Am I the only one that thinks this suggestion for padding a fixed length 
is a Band-Aid (*hack) for the real problem identified by this thread?

Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
gavagni@us.ibm.com




"Shanmugham, Saravanan" <sarvi@cisco.com> 
04/14/2006 02:06 PM

To
"Bergallo Patrizio" <patrizio.bergallo@loquendo.com>, <speechsc@ietf.org>
cc

Subject
RE: [Speechsc] message-length clarification






Pete/Bergallo,
 
Leading spaces are illegal per the current ABNF definition. 
But Pete's suggestion is perfectly legal and makes the encoding phase just 
as effciient.
 
I can add this clarification/suggestion for implementers into the 
specification.
 
Thx,
 
Sarvi

From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com] 
Sent: Friday, April 14, 2006 1:44 AM
To: speechsc@ietf.org
Subject: RE: [Speechsc] message-length clarification

 
I agree that problems arise more on encoding side than in decoding one.
What about using leading SP, with the same purpose of leading zeros
mentioned by Pete?
Is it legal?
Anyway, though I'm not a big fan of message-length field, I think that
removing it at this stage of spec should be avoided.

Regards,
Patrizio Bergallo, Loquendo. 

> -----Original Message-----
> From: Pete Cordell [mailto:pete@tech-know-ware.com] 
> Sent: Friday, April 14, 2006 9:55 AM
> To: Dave Burke
> Cc: speechsc@ietf.org
> Subject: Re: [Speechsc] message-length clarification
> 
> 
> As someone watching from the sidelines, this issue about the 
> representation 
> of the length field potentially changing the value of the 
> length that needed 
> to be encoded occurred to me also.
> 
> I wondered if you could use leading zeros in the length field 
> so that it is 
> always fixed length. e.g. in C it would be something like:
> 
> sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!
> 
> Messages would then look like:
> 
> MRCP/2.0 0047 543256 200 COMPLETE
> ...
> 
> Still a bit of a gotcha though, that could lead to one of 
> those one in a 
> hundred type bugs!
> 
> Regards,
> 
> Pete.
> --
> =============================================
> Pete Cordell
> Tech-Know-Ware Ltd
> for XML to C++ data binding visit
> http://www.tech-know-ware.com/lmx
> (or http://www.xml2cpp.com) 
> =============================================
> 
> ----- Original Message ----- 
> From: "Dave Burke" 
> To: "Shanmugham, Saravanan" ; "Brett Gavagni" 
> 
> Cc: 
> Sent: Friday, April 14, 2006 12:39 AM
> Subject: Re: [Speechsc] message-length clarification
> 
> 
> > Just wanted to insert one point that I haven't seen mentioned: The
> > message-length makes it easier to decode but not encode.
> >
> > This is because the message-length also includes the number 
> of bytes 
> > that
> > specify the message-length in the header. The algorithm for 
> determining 
> > the message-length has to add up all the bytes in the 
> message to get a 
> > total (label: N), then determine the number of bytes to represent N 
> > (label: M), then check if the total N+M rolls over a power 
> of 10 (if it 
> > does you need another byte). The value to insert for the 
> message-length is 
> > not simply N+M but rather
> >
> > (N >= (10^M-M)) ? N+M+1 : N+M
> >
> > For example, if N=97 then M=2 and N+M=99=message-length. 
> However, if 
> > N=98
> > then M=2 but now N+M=100 => message-length=N+M+1
> >
> > Sorta awkward - no?
> >
> > Dave
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Brett Gavagni" 
> > To: "Shanmugham, Saravanan" 
> > Cc: 
> > Sent: Thursday, April 13, 2006 1:52 PM
> > Subject: RE: [Speechsc] message-length clarification
> >
> >
> > Hi Sarvi,
> >
> > I realize that it may be late in the game for addressing 
> problems in 
> > the specification, but I would evangelize that its cheaper 
> to pay now 
> > (potential standardization delays) than to pay later (poor 
> adoption) 
> > due to convolution and problematic issues in the spec.
> >
> > Since the session control for MRCPv2 is separated (a la SIP, RTSP, 
> > etc..) and not tunnelled, what would be the compelling 
> reason that the 
> > message-length token exist in the start-line especially since the 
> > "Content-Length" header?
> >
> > I'm now proposing the removal of the message-length token from the 
> > start-line in entirety, as it is at least redundant and 
> deviating from 
> > the HTTP-like conventions leveraged throughout the spec.
> >
> > Thanks,
> >
> > Brett Gavagni
> > WebSphere Voice Server Development 
> > http://www-306.ibm.com/software/pervasive/voice_server/
> > gavagni@us.ibm.com
> >
> ...cut... 
> 
> 
> 
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
> 

Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.

================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
<mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank you
<http://www.loquendo.com>www.loquendo.com
================================================
_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Fri Apr 14 20:27:09 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FUYd0-0001mU-Gq; Fri, 14 Apr 2006 20:27:06 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FUYcz-0001mP-Kj
	for speechsc@ietf.org; Fri, 14 Apr 2006 20:27:05 -0400
Received: from mail02.corp.tellme.com ([209.157.157.101])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FUYcx-0007Al-Px
	for speechsc@ietf.org; Fri, 14 Apr 2006 20:27:05 -0400
Received: from mail02.corp.tellme.com (localhost [127.0.0.1])
	by localhost.corp.tellme.com (Postfix) with ESMTP
	id F3C8C3510; Fri, 14 Apr 2006 17:27:02 -0700 (PDT)
Received: from [172.21.50.116] (corby-t40.sea.tellme.com [172.21.50.116])
	by mail02.corp.tellme.com (Postfix) with ESMTP
	id B901F3507; Fri, 14 Apr 2006 17:27:02 -0700 (PDT)
Message-ID: <44403DBC.70703@tellme.com>
Date: Fri, 14 Apr 2006 17:26:36 -0700
From: Corby Anderson <corby@tellme.com>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: Brett Gavagni <gavagni@us.ibm.com>
Subject: Re: [Speechsc] message-length clarification
References: <OFEB9BFE52.E954067A-ON87257150.00657861-85257150.00656FB3@us.ibm.com>
In-Reply-To: <OFEB9BFE52.E954067A-ON87257150.00657861-85257150.00656FB3@us.ibm.com>
X-Spam-Score: 1.2 (+)
X-Scan-Signature: ee8eaa76ea6a4fb3ccc9059a3f656ffc
Cc: speechsc@ietf.org, "Shanmugham, Saravanan" <sarvi@cisco.com>,
	Bergallo Patrizio <patrizio.bergallo@loquendo.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1504291107=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.
--===============1504291107==
Content-Type: multipart/alternative;
	boundary="------------020203070005000704030704"

This is a multi-part message in MIME format.
--------------020203070005000704030704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

No, you're not the only one. :-)  It is hacky.  The size calculation 
that Dave Burke posted is concise, but it's cumbersome.

But stepping back a little, it *is* helpful to know the size ahead of 
time.  Since clients can share an MRCP control channel, it's makes the 
server's job easier if it knows ahead of time how many bytes will be in 
a particular command.  You can imagine an implementation where a the 
socket reader understands the first-line format enough to read all the 
bytes for a single message into a buffer and then hand it off to a 
different class/function/thread for further processing.

How about if  the length pertained to the size of everything *except* 
the first line?  That would make the size calculation trivial and would 
still offer the benefit of having the size around for parsing purposes.

Corby Anderson
Tellme Networks

Brett Gavagni wrote:
> Am I the only one that thinks this suggestion for padding a fixed length 
> is a Band-Aid (*hack) for the real problem identified by this thread?
>
> Thanks,
>
> Brett Gavagni 
> WebSphere Voice Server Development 
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
>
>
> "Shanmugham, Saravanan" <sarvi@cisco.com> 
> 04/14/2006 02:06 PM
>
> To
> "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>, <speechsc@ietf.org>
> cc
>
> Subject
> RE: [Speechsc] message-length clarification
>
>
>
>
>
>
> Pete/Bergallo,
>  
> Leading spaces are illegal per the current ABNF definition. 
> But Pete's suggestion is perfectly legal and makes the encoding phase just 
> as effciient.
>  
> I can add this clarification/suggestion for implementers into the 
> specification.
>  
> Thx,
>  
> Sarvi
>
> From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com] 
> Sent: Friday, April 14, 2006 1:44 AM
> To: speechsc@ietf.org
> Subject: RE: [Speechsc] message-length clarification
>
>  
> I agree that problems arise more on encoding side than in decoding one.
> What about using leading SP, with the same purpose of leading zeros
> mentioned by Pete?
> Is it legal?
> Anyway, though I'm not a big fan of message-length field, I think that
> removing it at this stage of spec should be avoided.
>
> Regards,
> Patrizio Bergallo, Loquendo. 
>
>   
>> -----Original Message-----
>> From: Pete Cordell [mailto:pete@tech-know-ware.com] 
>> Sent: Friday, April 14, 2006 9:55 AM
>> To: Dave Burke
>> Cc: speechsc@ietf.org
>> Subject: Re: [Speechsc] message-length clarification
>>
>>
>> As someone watching from the sidelines, this issue about the 
>> representation 
>> of the length field potentially changing the value of the 
>> length that needed 
>> to be encoded occurred to me also.
>>
>> I wondered if you could use leading zeros in the length field 
>> so that it is 
>> always fixed length. e.g. in C it would be something like:
>>
>> sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!
>>
>> Messages would then look like:
>>
>> MRCP/2.0 0047 543256 200 COMPLETE
>> ...
>>
>> Still a bit of a gotcha though, that could lead to one of 
>> those one in a 
>> hundred type bugs!
>>
>> Regards,
>>
>> Pete.
>> --
>> =============================================
>> Pete Cordell
>> Tech-Know-Ware Ltd
>> for XML to C++ data binding visit
>> http://www.tech-know-ware.com/lmx
>> (or http://www.xml2cpp.com) 
>> =============================================
>>
>> ----- Original Message ----- 
>> From: "Dave Burke" 
>> To: "Shanmugham, Saravanan" ; "Brett Gavagni" 
>>
>> Cc: 
>> Sent: Friday, April 14, 2006 12:39 AM
>> Subject: Re: [Speechsc] message-length clarification
>>
>>
>>     
>>> Just wanted to insert one point that I haven't seen mentioned: The
>>> message-length makes it easier to decode but not encode.
>>>
>>> This is because the message-length also includes the number 
>>>       
>> of bytes 
>>     
>>> that
>>> specify the message-length in the header. The algorithm for 
>>>       
>> determining 
>>     
>>> the message-length has to add up all the bytes in the 
>>>       
>> message to get a 
>>     
>>> total (label: N), then determine the number of bytes to represent N 
>>> (label: M), then check if the total N+M rolls over a power 
>>>       
>> of 10 (if it 
>>     
>>> does you need another byte). The value to insert for the 
>>>       
>> message-length is 
>>     
>>> not simply N+M but rather
>>>
>>> (N >= (10^M-M)) ? N+M+1 : N+M
>>>
>>> For example, if N=97 then M=2 and N+M=99=message-length. 
>>>       
>> However, if 
>>     
>>> N=98
>>> then M=2 but now N+M=100 => message-length=N+M+1
>>>
>>> Sorta awkward - no?
>>>
>>> Dave
>>>
>>>
>>>
>>>
>>>
>>> ----- Original Message -----
>>> From: "Brett Gavagni" 
>>> To: "Shanmugham, Saravanan" 
>>> Cc: 
>>> Sent: Thursday, April 13, 2006 1:52 PM
>>> Subject: RE: [Speechsc] message-length clarification
>>>
>>>
>>> Hi Sarvi,
>>>
>>> I realize that it may be late in the game for addressing 
>>>       
>> problems in 
>>     
>>> the specification, but I would evangelize that its cheaper 
>>>       
>> to pay now 
>>     
>>> (potential standardization delays) than to pay later (poor 
>>>       
>> adoption) 
>>     
>>> due to convolution and problematic issues in the spec.
>>>
>>> Since the session control for MRCPv2 is separated (a la SIP, RTSP, 
>>> etc..) and not tunnelled, what would be the compelling 
>>>       
>> reason that the 
>>     
>>> message-length token exist in the start-line especially since the 
>>> "Content-Length" header?
>>>
>>> I'm now proposing the removal of the message-length token from the 
>>> start-line in entirety, as it is at least redundant and 
>>>       
>> deviating from 
>>     
>>> the HTTP-like conventions leveraged throughout the spec.
>>>
>>> Thanks,
>>>
>>> Brett Gavagni
>>> WebSphere Voice Server Development 
>>> http://www-306.ibm.com/software/pervasive/voice_server/
>>> gavagni@us.ibm.com
>>>
>>>       
>> ...cut... 
>>
>>
>>
>> _______________________________________________
>> Speechsc mailing list
>> Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
>>
>>     
>
> Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.
>
> ================================================
> CONFIDENTIALITY NOTICE
> This message and its attachments are addressed solely to the persons
> above and may contain confidential information. If you have received
> the message in error, be informed that any use of the content hereof
> is prohibited. Please return it immediately to the sender and delete
> the message. Should you have any questions, please send an e_mail to
> <mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank you
> <http://www.loquendo.com>www.loquendo.com
> ================================================
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>   

--------------020203070005000704030704
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
No, you're not the only one. :-)&nbsp; It is hacky.&nbsp; The size calculation
that Dave Burke posted is concise, but it's cumbersome.<br>
<br>
But stepping back a little, it *is* helpful to know the size ahead of
time.&nbsp; Since clients can share an MRCP control channel, it's makes the
server's job easier if it knows ahead of time how many bytes will be in
a particular command.&nbsp; You can imagine an implementation where a the
socket reader understands the first-line format enough to read all the
bytes for a single message into a buffer and then hand it off to a
different class/function/thread for further processing.<br>
<br>
How about if&nbsp; the length pertained to the size of everything *except*
the first line?&nbsp; That would make the size calculation trivial and would
still offer the benefit of having the size around for parsing purposes.<br>
<br>
Corby Anderson<br>
Tellme Networks<br>
<br>
Brett Gavagni wrote:
<blockquote
 cite="midOFEB9BFE52.E954067A-ON87257150.00657861-85257150.00656FB3@us.ibm.com"
 type="cite">
  <pre wrap="">Am I the only one that thinks this suggestion for padding a fixed length 
is a Band-Aid (*hack) for the real problem identified by this thread?

Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
<a class="moz-txt-link-freetext" href="http://www-306.ibm.com/software/pervasive/voice_server/">http://www-306.ibm.com/software/pervasive/voice_server/</a>
<a class="moz-txt-link-abbreviated" href="mailto:gavagni@us.ibm.com">gavagni@us.ibm.com</a>




"Shanmugham, Saravanan" <a class="moz-txt-link-rfc2396E" href="mailto:sarvi@cisco.com">&lt;sarvi@cisco.com&gt;</a> 
04/14/2006 02:06 PM

To
"Bergallo Patrizio" <a class="moz-txt-link-rfc2396E" href="mailto:patrizio.bergallo@loquendo.com">&lt;patrizio.bergallo@loquendo.com&gt;</a>, <a class="moz-txt-link-rfc2396E" href="mailto:speechsc@ietf.org">&lt;speechsc@ietf.org&gt;</a>
cc

Subject
RE: [Speechsc] message-length clarification






Pete/Bergallo,
 
Leading spaces are illegal per the current ABNF definition. 
But Pete's suggestion is perfectly legal and makes the encoding phase just 
as effciient.
 
I can add this clarification/suggestion for implementers into the 
specification.
 
Thx,
 
Sarvi

From: Bergallo Patrizio [<a class="moz-txt-link-freetext" href="mailto:patrizio.bergallo@loquendo.com">mailto:patrizio.bergallo@loquendo.com</a>] 
Sent: Friday, April 14, 2006 1:44 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:speechsc@ietf.org">speechsc@ietf.org</a>
Subject: RE: [Speechsc] message-length clarification

 
I agree that problems arise more on encoding side than in decoding one.
What about using leading SP, with the same purpose of leading zeros
mentioned by Pete?
Is it legal?
Anyway, though I'm not a big fan of message-length field, I think that
removing it at this stage of spec should be avoided.

Regards,
Patrizio Bergallo, Loquendo. 

  </pre>
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: Pete Cordell [<a class="moz-txt-link-freetext" href="mailto:pete@tech-know-ware.com">mailto:pete@tech-know-ware.com</a>] 
Sent: Friday, April 14, 2006 9:55 AM
To: Dave Burke
Cc: <a class="moz-txt-link-abbreviated" href="mailto:speechsc@ietf.org">speechsc@ietf.org</a>
Subject: Re: [Speechsc] message-length clarification


As someone watching from the sidelines, this issue about the 
representation 
of the length field potentially changing the value of the 
length that needed 
to be encoded occurred to me also.

I wondered if you could use leading zeros in the length field 
so that it is 
always fixed length. e.g. in C it would be something like:

sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!

Messages would then look like:

MRCP/2.0 0047 543256 200 COMPLETE
...

Still a bit of a gotcha though, that could lead to one of 
those one in a 
hundred type bugs!

Regards,

Pete.
--
=============================================
Pete Cordell
Tech-Know-Ware Ltd
for XML to C++ data binding visit
<a class="moz-txt-link-freetext" href="http://www.tech-know-ware.com/lmx">http://www.tech-know-ware.com/lmx</a>
(or <a class="moz-txt-link-freetext" href="http://www.xml2cpp.com">http://www.xml2cpp.com</a>) 
=============================================

----- Original Message ----- 
From: "Dave Burke" 
To: "Shanmugham, Saravanan" ; "Brett Gavagni" 

Cc: 
Sent: Friday, April 14, 2006 12:39 AM
Subject: Re: [Speechsc] message-length clarification


    </pre>
    <blockquote type="cite">
      <pre wrap="">Just wanted to insert one point that I haven't seen mentioned: The
message-length makes it easier to decode but not encode.

This is because the message-length also includes the number 
      </pre>
    </blockquote>
    <pre wrap="">of bytes 
    </pre>
    <blockquote type="cite">
      <pre wrap="">that
specify the message-length in the header. The algorithm for 
      </pre>
    </blockquote>
    <pre wrap="">determining 
    </pre>
    <blockquote type="cite">
      <pre wrap="">the message-length has to add up all the bytes in the 
      </pre>
    </blockquote>
    <pre wrap="">message to get a 
    </pre>
    <blockquote type="cite">
      <pre wrap="">total (label: N), then determine the number of bytes to represent N 
(label: M), then check if the total N+M rolls over a power 
      </pre>
    </blockquote>
    <pre wrap="">of 10 (if it 
    </pre>
    <blockquote type="cite">
      <pre wrap="">does you need another byte). The value to insert for the 
      </pre>
    </blockquote>
    <pre wrap="">message-length is 
    </pre>
    <blockquote type="cite">
      <pre wrap="">not simply N+M but rather

(N &gt;= (10^M-M)) ? N+M+1 : N+M

For example, if N=97 then M=2 and N+M=99=message-length. 
      </pre>
    </blockquote>
    <pre wrap="">However, if 
    </pre>
    <blockquote type="cite">
      <pre wrap="">N=98
then M=2 but now N+M=100 =&gt; message-length=N+M+1

Sorta awkward - no?

Dave





----- Original Message -----
From: "Brett Gavagni" 
To: "Shanmugham, Saravanan" 
Cc: 
Sent: Thursday, April 13, 2006 1:52 PM
Subject: RE: [Speechsc] message-length clarification


Hi Sarvi,

I realize that it may be late in the game for addressing 
      </pre>
    </blockquote>
    <pre wrap="">problems in 
    </pre>
    <blockquote type="cite">
      <pre wrap="">the specification, but I would evangelize that its cheaper 
      </pre>
    </blockquote>
    <pre wrap="">to pay now 
    </pre>
    <blockquote type="cite">
      <pre wrap="">(potential standardization delays) than to pay later (poor 
      </pre>
    </blockquote>
    <pre wrap="">adoption) 
    </pre>
    <blockquote type="cite">
      <pre wrap="">due to convolution and problematic issues in the spec.

Since the session control for MRCPv2 is separated (a la SIP, RTSP, 
etc..) and not tunnelled, what would be the compelling 
      </pre>
    </blockquote>
    <pre wrap="">reason that the 
    </pre>
    <blockquote type="cite">
      <pre wrap="">message-length token exist in the start-line especially since the 
"Content-Length" header?

I'm now proposing the removal of the message-length token from the 
start-line in entirety, as it is at least redundant and 
      </pre>
    </blockquote>
    <pre wrap="">deviating from 
    </pre>
    <blockquote type="cite">
      <pre wrap="">the HTTP-like conventions leveraged throughout the spec.

Thanks,

Brett Gavagni
WebSphere Voice Server Development 
<a class="moz-txt-link-freetext" href="http://www-306.ibm.com/software/pervasive/voice_server/">http://www-306.ibm.com/software/pervasive/voice_server/</a>
<a class="moz-txt-link-abbreviated" href="mailto:gavagni@us.ibm.com">gavagni@us.ibm.com</a>

      </pre>
    </blockquote>
    <pre wrap="">...cut... 



_______________________________________________
Speechsc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Speechsc@ietf.org">Speechsc@ietf.org</a> <a class="moz-txt-link-freetext" href="https://www1.ietf.org/mailman/listinfo/speechsc">https://www1.ietf.org/mailman/listinfo/speechsc</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.

================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
<a class="moz-txt-link-rfc2396E" href="mailto:webmaster@telecomitalia.it">&lt;mailto:webmaster@telecomitalia.it&gt;</a><a class="moz-txt-link-abbreviated" href="mailto:webmaster@telecomitalia.it">webmaster@telecomitalia.it</a>. Thank you
<a class="moz-txt-link-rfc2396E" href="http://www.loquendo.com">&lt;http://www.loquendo.com&gt;</a><a class="moz-txt-link-abbreviated" href="http://www.loquendo.com">www.loquendo.com</a>
================================================
_______________________________________________
Speechsc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Speechsc@ietf.org">Speechsc@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www1.ietf.org/mailman/listinfo/speechsc">https://www1.ietf.org/mailman/listinfo/speechsc</a>



_______________________________________________
Speechsc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Speechsc@ietf.org">Speechsc@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www1.ietf.org/mailman/listinfo/speechsc">https://www1.ietf.org/mailman/listinfo/speechsc</a>
  </pre>
</blockquote>
</body>
</html>

--------------020203070005000704030704--


--===============1504291107==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============1504291107==--




From speechsc-bounces@ietf.org Mon Apr 17 10:39:39 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVUt9-0007TI-Eq; Mon, 17 Apr 2006 10:39:39 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVUt7-0007TD-BB
	for speechsc@ietf.org; Mon, 17 Apr 2006 10:39:37 -0400
Received: from e35.co.us.ibm.com ([32.97.110.153])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVUt5-0001Vi-QV
	for speechsc@ietf.org; Mon, 17 Apr 2006 10:39:37 -0400
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com
	[9.17.195.106])
	by e35.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3HEdZX4001704
	for <speechsc@ietf.org>; Mon, 17 Apr 2006 10:39:35 -0400
Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169])
	by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3HEglb9179606
	for <speechsc@ietf.org>; Mon, 17 Apr 2006 08:42:47 -0600
Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1])
	by d03av03.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3HEdPbF008491
	for <speechsc@ietf.org>; Mon, 17 Apr 2006 08:39:25 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3HEdP8X008486; Mon, 17 Apr 2006 08:39:25 -0600
In-Reply-To: <44403DBC.70703@tellme.com>
To: Corby Anderson <corby@tellme.com>
Subject: Re: [Speechsc] message-length clarification
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF6B1AC58B.B8ED0D63-ON87257153.004F9158-85257153.00508311@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Mon, 17 Apr 2006 10:42:36 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/17/2006 08:42:37,
	Serialize complete at 04/17/2006 08:42:37
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 1.2 (+)
X-Scan-Signature: f5932bfc8385127f631fc458a872feb1
Cc: speechsc@ietf.org, "Shanmugham, Saravanan" <sarvi@cisco.com>,
	Bergallo Patrizio <patrizio.bergallo@loquendo.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

That was the original suggestion when I started with this thread 
(http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html), 
and this suggestion wasn't  too well received.

"Propose to modify the wording that message-length does NOT include the 
start-line as an issue to track for the next draft."

So then we diverged into the defining the true value of the message-length 
token, and thus the proposal for the removal of the message-length token 
in its entirety. 

This removal  proposal was fueled even more with the distinction that the 
MRCPv2 session control is separated, especially since MRCPv2 messages are 
NOT expected/described as tunnelled.

I'd be happy if the message-length was modified as originally proposed to 
NOT include the size of the start-line in the length, or if the 
message-length to be removed from the draft.

IMO, anything else is a hack. =) 

Continue the flame roasting as necessary. =)

Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
gavagni@us.ibm.com




Corby Anderson <corby@tellme.com> 
04/14/2006 08:26 PM

To
Brett Gavagni/West Palm Beach/IBM@IBMUS
cc
"Shanmugham, Saravanan" <sarvi@cisco.com>, speechsc@ietf.org, Bergallo 
Patrizio <patrizio.bergallo@loquendo.com>
Subject
Re: [Speechsc] message-length clarification






No, you're not the only one. :-)  It is hacky.  The size calculation that 
Dave Burke posted is concise, but it's cumbersome.

But stepping back a little, it *is* helpful to know the size ahead of 
time.  Since clients can share an MRCP control channel, it's makes the 
server's job easier if it knows ahead of time how many bytes will be in a 
particular command.  You can imagine an implementation where a the socket 
reader understands the first-line format enough to read all the bytes for 
a single message into a buffer and then hand it off to a different 
class/function/thread for further processing.

How about if  the length pertained to the size of everything *except* the 
first line?  That would make the size calculation trivial and would still 
offer the benefit of having the size around for parsing purposes.

Corby Anderson
Tellme Networks

Brett Gavagni wrote: 
Am I the only one that thinks this suggestion for padding a fixed length 
is a Band-Aid (*hack) for the real problem identified by this thread?

Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
gavagni@us.ibm.com




"Shanmugham, Saravanan" <sarvi@cisco.com> 
04/14/2006 02:06 PM

To
"Bergallo Patrizio" <patrizio.bergallo@loquendo.com>, <speechsc@ietf.org>
cc

Subject
RE: [Speechsc] message-length clarification






Pete/Bergallo,
 
Leading spaces are illegal per the current ABNF definition. 
But Pete's suggestion is perfectly legal and makes the encoding phase just 

as effciient.
 
I can add this clarification/suggestion for implementers into the 
specification.
 
Thx,
 
Sarvi

From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com] 
Sent: Friday, April 14, 2006 1:44 AM
To: speechsc@ietf.org
Subject: RE: [Speechsc] message-length clarification

 
I agree that problems arise more on encoding side than in decoding one.
What about using leading SP, with the same purpose of leading zeros
mentioned by Pete?
Is it legal?
Anyway, though I'm not a big fan of message-length field, I think that
removing it at this stage of spec should be avoided.

Regards,
Patrizio Bergallo, Loquendo. 

 
-----Original Message-----
From: Pete Cordell [mailto:pete@tech-know-ware.com] 
Sent: Friday, April 14, 2006 9:55 AM
To: Dave Burke
Cc: speechsc@ietf.org
Subject: Re: [Speechsc] message-length clarification


As someone watching from the sidelines, this issue about the 
representation 
of the length field potentially changing the value of the 
length that needed 
to be encoded occurred to me also.

I wondered if you could use leading zeros in the length field 
so that it is 
always fixed length. e.g. in C it would be something like:

sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!

Messages would then look like:

MRCP/2.0 0047 543256 200 COMPLETE
...

Still a bit of a gotcha though, that could lead to one of 
those one in a 
hundred type bugs!

Regards,

Pete.
--
=============================================
Pete Cordell
Tech-Know-Ware Ltd
for XML to C++ data binding visit
http://www.tech-know-ware.com/lmx
(or http://www.xml2cpp.com) 
=============================================

----- Original Message ----- 
From: "Dave Burke" 
To: "Shanmugham, Saravanan" ; "Brett Gavagni" 

Cc: 
Sent: Friday, April 14, 2006 12:39 AM
Subject: Re: [Speechsc] message-length clarification


 
Just wanted to insert one point that I haven't seen mentioned: The
message-length makes it easier to decode but not encode.

This is because the message-length also includes the number 
 
of bytes 
 
that
specify the message-length in the header. The algorithm for 
 
determining 
 
the message-length has to add up all the bytes in the 
 
message to get a 
 
total (label: N), then determine the number of bytes to represent N 
(label: M), then check if the total N+M rolls over a power 
 
of 10 (if it 
 
does you need another byte). The value to insert for the 
 
message-length is 
 
not simply N+M but rather

(N >= (10^M-M)) ? N+M+1 : N+M

For example, if N=97 then M=2 and N+M=99=message-length. 
 
However, if 
 
N=98
then M=2 but now N+M=100 => message-length=N+M+1

Sorta awkward - no?

Dave





----- Original Message -----
From: "Brett Gavagni" 
To: "Shanmugham, Saravanan" 
Cc: 
Sent: Thursday, April 13, 2006 1:52 PM
Subject: RE: [Speechsc] message-length clarification


Hi Sarvi,

I realize that it may be late in the game for addressing 
 
problems in 
 
the specification, but I would evangelize that its cheaper 
 
to pay now 
 
(potential standardization delays) than to pay later (poor 
 
adoption) 
 
due to convolution and problematic issues in the spec.

Since the session control for MRCPv2 is separated (a la SIP, RTSP, 
etc..) and not tunnelled, what would be the compelling 
 
reason that the 
 
message-length token exist in the start-line especially since the 
"Content-Length" header?

I'm now proposing the removal of the message-length token from the 
start-line in entirety, as it is at least redundant and 
 
deviating from 
 
the HTTP-like conventions leveraged throughout the spec.

Thanks,

Brett Gavagni
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
gavagni@us.ibm.com

 
...cut... 



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc

 

Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.

================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
<mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank you
<http://www.loquendo.com>www.loquendo.com
================================================
_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc
 


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Mon Apr 17 12:25:08 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVWXC-0004Nk-0F; Mon, 17 Apr 2006 12:25:06 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVWXA-0004Nf-Cb
	for speechsc@ietf.org; Mon, 17 Apr 2006 12:25:04 -0400
Received: from [205.150.90.87] (helo=voicegenie.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVWX8-0006l0-VF
	for speechsc@ietf.org; Mon, 17 Apr 2006 12:25:04 -0400
Received: from [205.150.90.65] (parrot.voicegenie.com [205.150.90.65])
	by voicegenie.com (8.11.6+Sun/8.9.3) with ESMTP id k3HGOXQ22658
	for <speechsc@ietf.org>; Mon, 17 Apr 2006 12:24:33 -0400 (EDT)
Message-ID: <4443C137.5020300@voicegenie.com>
Date: Mon, 17 Apr 2006 12:24:23 -0400
From: Andrew Wahbe <awahbe@voicegenie.com>
Organization: VoiceGenie Technologies
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: "IETF SPEECHSC (E-mail)" <speechsc@ietf.org>
Subject: [speechsc] Confidence threshold and no-match
Content-Type: multipart/mixed; boundary="------------090104090202090608030504"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 50a516d93fd399dc60588708fd9a3002
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.
--------------090104090202090608030504
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Section 9.4.1 of the latest MRCPv2 draft states that:

"If the recognizer determines that its confidence in any candidate match 
is less than the confidence threshold, then it MUST return no-match as 
the recognition result."

In section 9.4.4 it is stated that all alternatives in the n-best list 
must be above the confidence threshold. This implies that we are talking 
about the "pre-filtered" candidates section 9.4.1 -- i.e. the list of 
candidates before we have pruned those that are below the confidence 
threshold.  In this case, it would seem that almost every recognition 
would result in a nomatch as there is most likely a low confidence 
candidate in any recognition.

I would imagine that the statement in 9.4.1 is a typo or error. I think 
it should be rephrased as:

"If the recognizer determines that there is no candidate match with a 
confidence that is greater than the confidence threshold, then it MUST 
return no-match as the recognition result."

--------------090104090202090608030504
Content-Type: text/x-vcard; charset=utf-8;
 name="awahbe.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="awahbe.vcf"

begin:vcard
fn:Andrew Wahbe
n:Wahbe;Andrew
org:VoiceGenie Technologies INC.
adr:8th Floor;;1120 Finch Avenue W.;Toronto;ON;M3J 3H7;Canada
email;internet:awahbe@voicegenie.com
title:Senior Architect
tel;work:(416) 736-0905 ext. 258
tel;fax:(416) 736-1551
x-mozilla-html:TRUE
url:http://www.voicegenie.com
version:2.1
end:vcard


--------------090104090202090608030504
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--------------090104090202090608030504--




From speechsc-bounces@ietf.org Mon Apr 17 12:57:11 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVX2A-0005wn-9E; Mon, 17 Apr 2006 12:57:06 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVX28-0005wi-V3
	for speechsc@ietf.org; Mon, 17 Apr 2006 12:57:04 -0400
Received: from fw01.db01.voxpilot.com ([212.17.54.82] helo=mail.voxpilot.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVX27-0008OI-1X
	for speechsc@ietf.org; Mon, 17 Apr 2006 12:57:04 -0400
Received: by mail.voxpilot.com (Postfix, from userid 552)
	id B78F12140EE; Mon, 17 Apr 2006 16:57:01 +0000 (GMT)
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on db01ms01
X-Spam-Status: No, score=-4.4 required=5.5 tests=ALL_TRUSTED,BAYES_00 
	autolearn=ham version=3.1.0
X-Spam-Level: 
Received: from daburkewxp (dsl-34-34.dsl.netsource.ie [213.79.34.34])
	by mail.voxpilot.com (Postfix) with ESMTP
	id 01C462140ED; Mon, 17 Apr 2006 16:56:53 +0000 (GMT)
Message-ID: <003e01c6623f$ed393990$0a01a8c0@db01.voxpilot.com>
From: "Dave Burke" <david.burke@voxpilot.com>
To: "Corby Anderson" <corby@tellme.com>, "Brett Gavagni" <gavagni@us.ibm.com>
References: <OF6B1AC58B.B8ED0D63-ON87257153.004F9158-85257153.00508311@us.ibm.com>
Subject: Re: [Speechsc] message-length clarification
Date: Mon, 17 Apr 2006 17:56:51 +0100
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Spam-Score: 1.2 (+)
X-Scan-Signature: 1ba0ec39a747b7612d6a8ae66d1a873c
Cc: speechsc@ietf.org, "Shanmugham, Saravanan" <sarvi@cisco.com>,
	Bergallo Patrizio <patrizio.bergallo@loquendo.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

In the interests of rough consensus:

o Preference for:
    - Remove message-length altogether

o Can live with:
    - Zero-padding note (as per Sarvi's suggestion)

 o Don't like:
    - message-length doesn't include start-line
    (because this is a half-way house with negligible value - the
     parser will be searching for \n anyways so why not iterate up
     to Content-Length)

Dave

----- Original Message ----- 
From: "Brett Gavagni" <gavagni@us.ibm.com>
To: "Corby Anderson" <corby@tellme.com>
Cc: <speechsc@ietf.org>; "Shanmugham, Saravanan" <sarvi@cisco.com>;
"Bergallo Patrizio" <patrizio.bergallo@loquendo.com>
Sent: Monday, April 17, 2006 3:42 PM
Subject: Re: [Speechsc] message-length clarification


> That was the original suggestion when I started with this thread
> (http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html),
> and this suggestion wasn't  too well received.
>
> "Propose to modify the wording that message-length does NOT include the
> start-line as an issue to track for the next draft."
>
> So then we diverged into the defining the true value of the message-length
> token, and thus the proposal for the removal of the message-length token
> in its entirety.
>
> This removal  proposal was fueled even more with the distinction that the
> MRCPv2 session control is separated, especially since MRCPv2 messages are
> NOT expected/described as tunnelled.
>
> I'd be happy if the message-length was modified as originally proposed to
> NOT include the size of the start-line in the length, or if the
> message-length to be removed from the draft.
>
> IMO, anything else is a hack. =)
>
> Continue the flame roasting as necessary. =)
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
>
>
> Corby Anderson <corby@tellme.com>
> 04/14/2006 08:26 PM
>
> To
> Brett Gavagni/West Palm Beach/IBM@IBMUS
> cc
> "Shanmugham, Saravanan" <sarvi@cisco.com>, speechsc@ietf.org, Bergallo
> Patrizio <patrizio.bergallo@loquendo.com>
> Subject
> Re: [Speechsc] message-length clarification
>
>
>
>
>
>
> No, you're not the only one. :-)  It is hacky.  The size calculation that
> Dave Burke posted is concise, but it's cumbersome.
>
> But stepping back a little, it *is* helpful to know the size ahead of
> time.  Since clients can share an MRCP control channel, it's makes the
> server's job easier if it knows ahead of time how many bytes will be in a
> particular command.  You can imagine an implementation where a the socket
> reader understands the first-line format enough to read all the bytes for
> a single message into a buffer and then hand it off to a different
> class/function/thread for further processing.
>
> How about if  the length pertained to the size of everything *except* the
> first line?  That would make the size calculation trivial and would still
> offer the benefit of having the size around for parsing purposes.
>
> Corby Anderson
> Tellme Networks
>
> Brett Gavagni wrote:
> Am I the only one that thinks this suggestion for padding a fixed length
> is a Band-Aid (*hack) for the real problem identified by this thread?
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
>
>
> "Shanmugham, Saravanan" <sarvi@cisco.com>
> 04/14/2006 02:06 PM
>
> To
> "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>, <speechsc@ietf.org>
> cc
>
> Subject
> RE: [Speechsc] message-length clarification
>
>
>
>
>
>
> Pete/Bergallo,
>
> Leading spaces are illegal per the current ABNF definition.
> But Pete's suggestion is perfectly legal and makes the encoding phase just
>
> as effciient.
>
> I can add this clarification/suggestion for implementers into the
> specification.
>
> Thx,
>
> Sarvi
>
> From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com]
> Sent: Friday, April 14, 2006 1:44 AM
> To: speechsc@ietf.org
> Subject: RE: [Speechsc] message-length clarification
>
>
> I agree that problems arise more on encoding side than in decoding one.
> What about using leading SP, with the same purpose of leading zeros
> mentioned by Pete?
> Is it legal?
> Anyway, though I'm not a big fan of message-length field, I think that
> removing it at this stage of spec should be avoided.
>
> Regards,
> Patrizio Bergallo, Loquendo.
>
>
> -----Original Message-----
> From: Pete Cordell [mailto:pete@tech-know-ware.com]
> Sent: Friday, April 14, 2006 9:55 AM
> To: Dave Burke
> Cc: speechsc@ietf.org
> Subject: Re: [Speechsc] message-length clarification
>
>
> As someone watching from the sidelines, this issue about the
> representation
> of the length field potentially changing the value of the
> length that needed
> to be encoded occurred to me also.
>
> I wondered if you could use leading zeros in the length field
> so that it is
> always fixed length. e.g. in C it would be something like:
>
> sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!
>
> Messages would then look like:
>
> MRCP/2.0 0047 543256 200 COMPLETE
> ...
>
> Still a bit of a gotcha though, that could lead to one of
> those one in a
> hundred type bugs!
>
> Regards,
>
> Pete.
> --
> =============================================
> Pete Cordell
> Tech-Know-Ware Ltd
> for XML to C++ data binding visit
> http://www.tech-know-ware.com/lmx
> (or http://www.xml2cpp.com)
> =============================================
>
> ----- Original Message ----- 
> From: "Dave Burke"
> To: "Shanmugham, Saravanan" ; "Brett Gavagni"
>
> Cc:
> Sent: Friday, April 14, 2006 12:39 AM
> Subject: Re: [Speechsc] message-length clarification
>
>
>
> Just wanted to insert one point that I haven't seen mentioned: The
> message-length makes it easier to decode but not encode.
>
> This is because the message-length also includes the number
>
> of bytes
>
> that
> specify the message-length in the header. The algorithm for
>
> determining
>
> the message-length has to add up all the bytes in the
>
> message to get a
>
> total (label: N), then determine the number of bytes to represent N
> (label: M), then check if the total N+M rolls over a power
>
> of 10 (if it
>
> does you need another byte). The value to insert for the
>
> message-length is
>
> not simply N+M but rather
>
> (N >= (10^M-M)) ? N+M+1 : N+M
>
> For example, if N=97 then M=2 and N+M=99=message-length.
>
> However, if
>
> N=98
> then M=2 but now N+M=100 => message-length=N+M+1
>
> Sorta awkward - no?
>
> Dave
>
>
>
>
>
> ----- Original Message -----
> From: "Brett Gavagni"
> To: "Shanmugham, Saravanan"
> Cc:
> Sent: Thursday, April 13, 2006 1:52 PM
> Subject: RE: [Speechsc] message-length clarification
>
>
> Hi Sarvi,
>
> I realize that it may be late in the game for addressing
>
> problems in
>
> the specification, but I would evangelize that its cheaper
>
> to pay now
>
> (potential standardization delays) than to pay later (poor
>
> adoption)
>
> due to convolution and problematic issues in the spec.
>
> Since the session control for MRCPv2 is separated (a la SIP, RTSP,
> etc..) and not tunnelled, what would be the compelling
>
> reason that the
>
> message-length token exist in the start-line especially since the
> "Content-Length" header?
>
> I'm now proposing the removal of the message-length token from the
> start-line in entirety, as it is at least redundant and
>
> deviating from
>
> the HTTP-like conventions leveraged throughout the spec.
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
> ...cut...
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.
>
> ================================================
> CONFIDENTIALITY NOTICE
> This message and its attachments are addressed solely to the persons
> above and may contain confidential information. If you have received
> the message in error, be informed that any use of the content hereof
> is prohibited. Please return it immediately to the sender and delete
> the message. Should you have any questions, please send an e_mail to
> <mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank you
> <http://www.loquendo.com>www.loquendo.com
> ================================================
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Mon Apr 17 12:59:36 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVX4Z-0006nh-Vl; Mon, 17 Apr 2006 12:59:35 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVX4Z-0006nQ-6q
	for speechsc@ietf.org; Mon, 17 Apr 2006 12:59:35 -0400
Received: from [205.150.90.87] (helo=voicegenie.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVX4X-0000GG-PK
	for speechsc@ietf.org; Mon, 17 Apr 2006 12:59:35 -0400
Received: from [205.150.90.65] (parrot.voicegenie.com [205.150.90.65])
	by voicegenie.com (8.11.6+Sun/8.9.3) with ESMTP id k3HGxWQ24357
	for <speechsc@ietf.org>; Mon, 17 Apr 2006 12:59:32 -0400 (EDT)
Message-ID: <4443C96B.1020201@voicegenie.com>
Date: Mon, 17 Apr 2006 12:59:23 -0400
From: Andrew Wahbe <awahbe@voicegenie.com>
Organization: VoiceGenie Technologies
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: "IETF SPEECHSC (E-mail)" <speechsc@ietf.org>
Subject: [speechsc] Grammar freshness checking on RECOGNIZE
Content-Type: multipart/mixed; boundary="------------030100070404020003080208"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7aafa0432175920a4b3e118e16c5cb64
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.
--------------030100070404020003080208
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

The VoiceXML Forum MRCP Liaison Committee is concerned that seems to be 
no mention of the freshness of previously defined grammars being 
evaluated on a RECOGNIZE. For example, consider a long session where a 
grammar X was defined at the start of the session and X was used in a 
recognition at the end of the session. If the grammar expired at some 
point in between, the session would be using an "old", expired version 
of the grammar for the recognition.

The SRGS specification indicates in section 4.14 that this check should 
be done:

"Activation of a grammar is the point at which the recognizer begins 
detection of user input matching the grammar and is therefore analogous 
to the action of visual or audio rendering of system output. As with 
output rendering, grammar freshness should be checked close to the 
moment of grammar activation."

A statement should be added to the specification requiring that the 
freshness of pre-defined grammars should be checked on a RECOGNIZE and 
that expired grammars should be re-fetched and re-compiled.

Thanks,

Andrew Wahbe
VoiceXML Forum MRCP Liaison Committee

--------------030100070404020003080208
Content-Type: text/x-vcard; charset=utf-8;
 name="awahbe.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="awahbe.vcf"

begin:vcard
fn:Andrew Wahbe
n:Wahbe;Andrew
org:VoiceGenie Technologies INC.
adr:8th Floor;;1120 Finch Avenue W.;Toronto;ON;M3J 3H7;Canada
email;internet:awahbe@voicegenie.com
title:Senior Architect
tel;work:(416) 736-0905 ext. 258
tel;fax:(416) 736-1551
x-mozilla-html:TRUE
url:http://www.voicegenie.com
version:2.1
end:vcard


--------------030100070404020003080208
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--------------030100070404020003080208--




From speechsc-bounces@ietf.org Mon Apr 17 17:28:47 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVbGy-0004ZR-Gh; Mon, 17 Apr 2006 17:28:40 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVbGx-0004ZM-B5
	for speechsc@ietf.org; Mon, 17 Apr 2006 17:28:39 -0400
Received: from sj-iport-5.cisco.com ([171.68.10.87])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVbGx-0006Wt-2O
	for speechsc@ietf.org; Mon, 17 Apr 2006 17:28:39 -0400
Received: from sj-core-3.cisco.com ([171.68.223.137])
	by sj-iport-5.cisco.com with ESMTP; 17 Apr 2006 14:28:39 -0700
X-IronPort-AV: i="4.04,127,1144047600"; 
	d="scan'208"; a="269167741:sNHT30684368"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-3.cisco.com (8.12.10/8.12.6) with ESMTP id k3HLScVI010233;
	Mon, 17 Apr 2006 14:28:38 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [speechsc] Grammar freshness checking on RECOGNIZE
Date: Mon, 17 Apr 2006 14:28:37 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE407FB@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [speechsc] Grammar freshness checking on RECOGNIZE
Thread-Index: AcZiQGsjqylo4i8lTOmpeHGd64u0BgAJJJTA
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Andrew Wahbe" <awahbe@voicegenie.com>,
	"IETF SPEECHSC \(E-mail\)" <speechsc@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7aafa0432175920a4b3e118e16c5cb64
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

I would like to refer to a proposed clarification on grammar storage Vs
caching I sent out in reponse to calrification request from Jerry
Carter. This attempts to calrify the differennce between caching and
storage.

When you are refering to pre-defined grammar, I am assuming you are
talking about "session:" grammars, because those are the ones that are
STORED and don't get CACHED-OUT. Any other external grammars refered
through a URI, are essentially cached and hence would be following cache
control parameters specified for the session or request. So if they are
stale they would get cachedout and hence reloaded.=20
I could further clarify that this cache staleness should happen at both
DEFINE-GRAMMAR and RECOGNIZE commands.

Does this clarification address your concern.

Thx,
Sarvi=20

     -----Original Message-----
     From: Andrew Wahbe [mailto:awahbe@voicegenie.com]=20
     Sent: Monday, April 17, 2006 9:59 AM
     To: IETF SPEECHSC (E-mail)
     Subject: [speechsc] Grammar freshness checking on RECOGNIZE
    =20
     The VoiceXML Forum MRCP Liaison Committee is concerned=20
     that seems to be no mention of the freshness of previously=20
     defined grammars being evaluated on a RECOGNIZE. For=20
     example, consider a long session where a grammar X was=20
     defined at the start of the session and X was used in a=20
     recognition at the end of the session. If the grammar=20
     expired at some point in between, the session would be=20
     using an "old", expired version of the grammar for the recognition.
    =20
     The SRGS specification indicates in section 4.14 that this=20
     check should be done:
    =20
     "Activation of a grammar is the point at which the=20
     recognizer begins detection of user input matching the=20
     grammar and is therefore analogous to the action of visual=20
     or audio rendering of system output. As with output=20
     rendering, grammar freshness should be checked close to=20
     the moment of grammar activation."
    =20
     A statement should be added to the specification requiring=20
     that the freshness of pre-defined grammars should be=20
     checked on a RECOGNIZE and that expired grammars should be=20
     re-fetched and re-compiled.
    =20
     Thanks,
    =20
     Andrew Wahbe
     VoiceXML Forum MRCP Liaison Committee
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Mon Apr 17 18:08:00 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVbsz-0000W3-DX; Mon, 17 Apr 2006 18:07:57 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVbsy-0000Vy-RD
	for speechsc@ietf.org; Mon, 17 Apr 2006 18:07:56 -0400
Received: from [205.150.90.87] (helo=voicegenie.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVbsx-0000Mv-Gb
	for speechsc@ietf.org; Mon, 17 Apr 2006 18:07:56 -0400
Received: from [205.150.90.65] (parrot.voicegenie.com [205.150.90.65])
	by voicegenie.com (8.11.6+Sun/8.9.3) with ESMTP id k3HM7RQ11218;
	Mon, 17 Apr 2006 18:07:27 -0400 (EDT)
Message-ID: <44441194.7020601@voicegenie.com>
Date: Mon, 17 Apr 2006 18:07:16 -0400
From: Andrew Wahbe <awahbe@voicegenie.com>
Organization: VoiceGenie Technologies
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: "Shanmugham, Saravanan" <sarvi@cisco.com>,
	"IETF SPEECHSC (E-mail)" <speechsc@ietf.org>
Subject: Re: [speechsc] Grammar freshness checking on RECOGNIZE
References: <03772D1EC8DE624A863058C75874A75CE407FB@vtg-um-e2k6.sj21ad.cisco.com>
In-Reply-To: <03772D1EC8DE624A863058C75874A75CE407FB@vtg-um-e2k6.sj21ad.cisco.com>
Content-Type: multipart/mixed; boundary="------------040208010404050900050609"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 057ebe9b96adec30a7efb2aeda4c26a4
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.
--------------040208010404050900050609
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Actually I am referring to external grammars referenced via URI and not 
to "session:" grammars. This "caching out" behavior you refer to is 
related to the behavior that I would like clarified. I don't think it is 
said explicitly anywhere that grammar freshness should be evaluated on a 
RECOGNIZE and if the grammar is stale, it should be re-fetched and 
re-compiled. This is done even if we haven't run out of room in our 
cache and needed to purge old stuff (The "caching out" text in your 
clarification seemed to be focusing on this case). Sorry if it is there 
in the spec or your clarification and I missed it.

There is definitely text that is related to the issue in 6.2.10 and 
6.2.12. It is just not explicit. Since we are fetching and using the 
grammars in two separate steps here, DEFINE-GRAMMAR and RECOGNIZE, I 
think it is worth calling out that the evaluation needs to take place on 
both steps.

Andrew

Shanmugham, Saravanan wrote:
> I would like to refer to a proposed clarification on grammar storage Vs
> caching I sent out in reponse to calrification request from Jerry
> Carter. This attempts to calrify the differennce between caching and
> storage.
>
> When you are refering to pre-defined grammar, I am assuming you are
> talking about "session:" grammars, because those are the ones that are
> STORED and don't get CACHED-OUT. Any other external grammars refered
> through a URI, are essentially cached and hence would be following cache
> control parameters specified for the session or request. So if they are
> stale they would get cachedout and hence reloaded. 
> I could further clarify that this cache staleness should happen at both
> DEFINE-GRAMMAR and RECOGNIZE commands.
>
> Does this clarification address your concern.
>
> Thx,
> Sarvi 
>
>      -----Original Message-----
>      From: Andrew Wahbe [mailto:awahbe@voicegenie.com] 
>      Sent: Monday, April 17, 2006 9:59 AM
>      To: IETF SPEECHSC (E-mail)
>      Subject: [speechsc] Grammar freshness checking on RECOGNIZE
>      
>      The VoiceXML Forum MRCP Liaison Committee is concerned 
>      that seems to be no mention of the freshness of previously 
>      defined grammars being evaluated on a RECOGNIZE. For 
>      example, consider a long session where a grammar X was 
>      defined at the start of the session and X was used in a 
>      recognition at the end of the session. If the grammar 
>      expired at some point in between, the session would be 
>      using an "old", expired version of the grammar for the recognition.
>      
>      The SRGS specification indicates in section 4.14 that this 
>      check should be done:
>      
>      "Activation of a grammar is the point at which the 
>      recognizer begins detection of user input matching the 
>      grammar and is therefore analogous to the action of visual 
>      or audio rendering of system output. As with output 
>      rendering, grammar freshness should be checked close to 
>      the moment of grammar activation."
>      
>      A statement should be added to the specification requiring 
>      that the freshness of pre-defined grammars should be 
>      checked on a RECOGNIZE and that expired grammars should be 
>      re-fetched and re-compiled.
>      
>      Thanks,
>      
>      Andrew Wahbe
>      VoiceXML Forum MRCP Liaison Committee
>      
>
>
>   

--------------040208010404050900050609
Content-Type: text/x-vcard; charset=utf-8;
 name="awahbe.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="awahbe.vcf"

begin:vcard
fn:Andrew Wahbe
n:Wahbe;Andrew
org:VoiceGenie Technologies INC.
adr:8th Floor;;1120 Finch Avenue W.;Toronto;ON;M3J 3H7;Canada
email;internet:awahbe@voicegenie.com
title:Senior Architect
tel;work:(416) 736-0905 ext. 258
tel;fax:(416) 736-1551
x-mozilla-html:TRUE
url:http://www.voicegenie.com
version:2.1
end:vcard


--------------040208010404050900050609
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--------------040208010404050900050609--




From speechsc-bounces@ietf.org Mon Apr 17 20:20:12 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVdwt-00064P-Gm; Mon, 17 Apr 2006 20:20:07 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVdws-00064K-Nd
	for speechsc@ietf.org; Mon, 17 Apr 2006 20:20:06 -0400
Received: from test-iport-1.cisco.com ([171.71.176.117])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVdws-0008Ml-Ac
	for speechsc@ietf.org; Mon, 17 Apr 2006 20:20:06 -0400
Received: from sj-core-2.cisco.com ([171.71.177.254])
	by test-iport-1.cisco.com with ESMTP; 17 Apr 2006 17:20:05 -0700
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id k3I0K5h0014105;
	Mon, 17 Apr 2006 17:20:05 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [speechsc] Grammar freshness checking on RECOGNIZE
Date: Mon, 17 Apr 2006 17:20:04 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE40850@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [speechsc] Grammar freshness checking on RECOGNIZE
Thread-Index: AcZia5ERoeO/oGEpQ72XxFMdXrAxEgAEKKOw
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Andrew Wahbe" <awahbe@voicegenie.com>,
	"IETF SPEECHSC \(E-mail\)" <speechsc@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 1676547e4f33b5e63227e9c02bd359e3
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Hi Andrew,=20
   The caching of URI and the effect of the caching hints and parameter
headers is covered in the document.

But I agree that, at which points exactly a fetch of an external URI is
done and hence its caching implication may not be clear. My understand
of this was that it should happen  both at DEFINE-GRAMMAR, RECOGNIZE,
SPEAK operations.=20

So I propose adding the following text to the DEFINE-GRAMMAR, RECOGNIZE
and SPEAK operations.

  "The DEFINE-GRAMMAR/RECOGNIZE/SPEAK method implementation MUST do a
fetch of all external URI that is part of that operation. If caching is
implemented, this URI fetching MUST conform to the cache control hints
and parameter headers associated with the method in deciding whether it
should be fetched from cache or from the external server. If these
hints/parameters are not specified in the method, the values set for the
session using SET-PARAM/GET-PARAMS apply. If it was not set for the
session their default values apply."


What do you think?
Sarvi

     -----Original Message-----
     From: Andrew Wahbe [mailto:awahbe@voicegenie.com]=20
     Sent: Monday, April 17, 2006 3:07 PM
     To: Shanmugham, Saravanan; IETF SPEECHSC (E-mail)
     Subject: Re: [speechsc] Grammar freshness checking on RECOGNIZE
    =20
     Actually I am referring to external grammars referenced=20
     via URI and not to "session:" grammars. This "caching out"=20
     behavior you refer to is related to the behavior that I=20
     would like clarified. I don't think it is said explicitly=20
     anywhere that grammar freshness should be evaluated on a=20
     RECOGNIZE and if the grammar is stale, it should be=20
     re-fetched and re-compiled. This is done even if we=20
     haven't run out of room in our cache and needed to purge=20
     old stuff (The "caching out" text in your clarification=20
     seemed to be focusing on this case). Sorry if it is there=20
     in the spec or your clarification and I missed it.
    =20
     There is definitely text that is related to the issue in=20
     6.2.10 and 6.2.12. It is just not explicit. Since we are=20
     fetching and using the grammars in two separate steps=20
     here, DEFINE-GRAMMAR and RECOGNIZE, I think it is worth=20
     calling out that the evaluation needs to take place on both steps.
    =20
     Andrew
    =20
     Shanmugham, Saravanan wrote:
     > I would like to refer to a proposed clarification on=20
     grammar storage=20
     > Vs caching I sent out in reponse to calrification=20
     request from Jerry=20
     > Carter. This attempts to calrify the differennce between=20
     caching and=20
     > storage.
     >
     > When you are refering to pre-defined grammar, I am=20
     assuming you are=20
     > talking about "session:" grammars, because those are the=20
     ones that are=20
     > STORED and don't get CACHED-OUT. Any other external=20
     grammars refered=20
     > through a URI, are essentially cached and hence would be=20
     following=20
     > cache control parameters specified for the session or=20
     request. So if=20
     > they are stale they would get cachedout and hence reloaded.
     > I could further clarify that this cache staleness should=20
     happen at=20
     > both DEFINE-GRAMMAR and RECOGNIZE commands.
     >
     > Does this clarification address your concern.
     >
     > Thx,
     > Sarvi
     >
     >      -----Original Message-----
     >      From: Andrew Wahbe [mailto:awahbe@voicegenie.com]=20
     >      Sent: Monday, April 17, 2006 9:59 AM
     >      To: IETF SPEECHSC (E-mail)
     >      Subject: [speechsc] Grammar freshness checking on RECOGNIZE
     >     =20
     >      The VoiceXML Forum MRCP Liaison Committee is concerned=20
     >      that seems to be no mention of the freshness of previously=20
     >      defined grammars being evaluated on a RECOGNIZE. For=20
     >      example, consider a long session where a grammar X was=20
     >      defined at the start of the session and X was used in a=20
     >      recognition at the end of the session. If the grammar=20
     >      expired at some point in between, the session would be=20
     >      using an "old", expired version of the grammar for=20
     the recognition.
     >     =20
     >      The SRGS specification indicates in section 4.14 that this=20
     >      check should be done:
     >     =20
     >      "Activation of a grammar is the point at which the=20
     >      recognizer begins detection of user input matching the=20
     >      grammar and is therefore analogous to the action of visual=20
     >      or audio rendering of system output. As with output=20
     >      rendering, grammar freshness should be checked close to=20
     >      the moment of grammar activation."
     >     =20
     >      A statement should be added to the specification requiring=20
     >      that the freshness of pre-defined grammars should be=20
     >      checked on a RECOGNIZE and that expired grammars should be=20
     >      re-fetched and re-compiled.
     >     =20
     >      Thanks,
     >     =20
     >      Andrew Wahbe
     >      VoiceXML Forum MRCP Liaison Committee
     >     =20
     >
     >
     >  =20
    =20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Tue Apr 18 01:01:51 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FViLW-0004A3-5v; Tue, 18 Apr 2006 01:01:50 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FViLU-00049o-SJ
	for speechsc@ietf.org; Tue, 18 Apr 2006 01:01:48 -0400
Received: from mail.voicegenie.com ([205.150.90.87] helo=voicegenie.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FViLT-0003zW-GX
	for speechsc@ietf.org; Tue, 18 Apr 2006 01:01:48 -0400
Received: from [205.150.90.244] (vpnrange3.voicegenie.com [205.150.90.244]
	(may be forged))
	by voicegenie.com (8.11.6+Sun/8.9.3) with ESMTP id k3I51jQ23346;
	Tue, 18 Apr 2006 01:01:45 -0400 (EDT)
Message-ID: <444472AE.30907@voicegenie.com>
Date: Tue, 18 Apr 2006 01:01:34 -0400
From: Andrew Wahbe <awahbe@voicegenie.com>
Organization: VoiceGenie Technologies
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: "Shanmugham, Saravanan" <sarvi@cisco.com>
Subject: Re: [speechsc] Grammar freshness checking on RECOGNIZE
References: <03772D1EC8DE624A863058C75874A75CE40850@vtg-um-e2k6.sj21ad.cisco.com>
In-Reply-To: <03772D1EC8DE624A863058C75874A75CE40850@vtg-um-e2k6.sj21ad.cisco.com>
Content-Type: multipart/mixed; boundary="------------090606080705080205000906"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 6ba8aaf827dcb437101951262f69b3de
Cc: "IETF SPEECHSC \(E-mail\)" <speechsc@ietf.org>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.
--------------090606080705080205000906
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Works for me.

(First sentence should probably be: ".... all external URIs that are 
part....")

Shanmugham, Saravanan wrote:
> Hi Andrew, 
>    The caching of URI and the effect of the caching hints and parameter
> headers is covered in the document.
>
> But I agree that, at which points exactly a fetch of an external URI is
> done and hence its caching implication may not be clear. My understand
> of this was that it should happen  both at DEFINE-GRAMMAR, RECOGNIZE,
> SPEAK operations. 
>
> So I propose adding the following text to the DEFINE-GRAMMAR, RECOGNIZE
> and SPEAK operations.
>
>   "The DEFINE-GRAMMAR/RECOGNIZE/SPEAK method implementation MUST do a
> fetch of all external URI that is part of that operation. If caching is
> implemented, this URI fetching MUST conform to the cache control hints
> and parameter headers associated with the method in deciding whether it
> should be fetched from cache or from the external server. If these
> hints/parameters are not specified in the method, the values set for the
> session using SET-PARAM/GET-PARAMS apply. If it was not set for the
> session their default values apply."
>
>
> What do you think?
> Sarvi
>
>      -----Original Message-----
>      From: Andrew Wahbe [mailto:awahbe@voicegenie.com] 
>      Sent: Monday, April 17, 2006 3:07 PM
>      To: Shanmugham, Saravanan; IETF SPEECHSC (E-mail)
>      Subject: Re: [speechsc] Grammar freshness checking on RECOGNIZE
>      
>      Actually I am referring to external grammars referenced 
>      via URI and not to "session:" grammars. This "caching out" 
>      behavior you refer to is related to the behavior that I 
>      would like clarified. I don't think it is said explicitly 
>      anywhere that grammar freshness should be evaluated on a 
>      RECOGNIZE and if the grammar is stale, it should be 
>      re-fetched and re-compiled. This is done even if we 
>      haven't run out of room in our cache and needed to purge 
>      old stuff (The "caching out" text in your clarification 
>      seemed to be focusing on this case). Sorry if it is there 
>      in the spec or your clarification and I missed it.
>      
>      There is definitely text that is related to the issue in 
>      6.2.10 and 6.2.12. It is just not explicit. Since we are 
>      fetching and using the grammars in two separate steps 
>      here, DEFINE-GRAMMAR and RECOGNIZE, I think it is worth 
>      calling out that the evaluation needs to take place on both steps.
>      
>      Andrew
>      
>      Shanmugham, Saravanan wrote:
>      > I would like to refer to a proposed clarification on 
>      grammar storage 
>      > Vs caching I sent out in reponse to calrification 
>      request from Jerry 
>      > Carter. This attempts to calrify the differennce between 
>      caching and 
>      > storage.
>      >
>      > When you are refering to pre-defined grammar, I am 
>      assuming you are 
>      > talking about "session:" grammars, because those are the 
>      ones that are 
>      > STORED and don't get CACHED-OUT. Any other external 
>      grammars refered 
>      > through a URI, are essentially cached and hence would be 
>      following 
>      > cache control parameters specified for the session or 
>      request. So if 
>      > they are stale they would get cachedout and hence reloaded.
>      > I could further clarify that this cache staleness should 
>      happen at 
>      > both DEFINE-GRAMMAR and RECOGNIZE commands.
>      >
>      > Does this clarification address your concern.
>      >
>      > Thx,
>      > Sarvi
>      >
>      >      -----Original Message-----
>      >      From: Andrew Wahbe [mailto:awahbe@voicegenie.com] 
>      >      Sent: Monday, April 17, 2006 9:59 AM
>      >      To: IETF SPEECHSC (E-mail)
>      >      Subject: [speechsc] Grammar freshness checking on RECOGNIZE
>      >      
>      >      The VoiceXML Forum MRCP Liaison Committee is concerned 
>      >      that seems to be no mention of the freshness of previously 
>      >      defined grammars being evaluated on a RECOGNIZE. For 
>      >      example, consider a long session where a grammar X was 
>      >      defined at the start of the session and X was used in a 
>      >      recognition at the end of the session. If the grammar 
>      >      expired at some point in between, the session would be 
>      >      using an "old", expired version of the grammar for 
>      the recognition.
>      >      
>      >      The SRGS specification indicates in section 4.14 that this 
>      >      check should be done:
>      >      
>      >      "Activation of a grammar is the point at which the 
>      >      recognizer begins detection of user input matching the 
>      >      grammar and is therefore analogous to the action of visual 
>      >      or audio rendering of system output. As with output 
>      >      rendering, grammar freshness should be checked close to 
>      >      the moment of grammar activation."
>      >      
>      >      A statement should be added to the specification requiring 
>      >      that the freshness of pre-defined grammars should be 
>      >      checked on a RECOGNIZE and that expired grammars should be 
>      >      re-fetched and re-compiled.
>      >      
>      >      Thanks,
>      >      
>      >      Andrew Wahbe
>      >      VoiceXML Forum MRCP Liaison Committee
>      >      
>      >
>      >
>      >   
>      
>
>
>   

--------------090606080705080205000906
Content-Type: text/x-vcard; charset=utf-8;
 name="awahbe.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="awahbe.vcf"

begin:vcard
fn:Andrew Wahbe
n:Wahbe;Andrew
org:VoiceGenie Technologies INC.
adr:8th Floor;;1120 Finch Avenue W.;Toronto;ON;M3J 3H7;Canada
email;internet:awahbe@voicegenie.com
title:Senior Architect
tel;work:(416) 736-0905 ext. 258
tel;fax:(416) 736-1551
x-mozilla-html:TRUE
url:http://www.voicegenie.com
version:2.1
end:vcard


--------------090606080705080205000906
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--------------090606080705080205000906--




From speechsc-bounces@ietf.org Tue Apr 18 11:16:57 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVrwj-0006dp-WA; Tue, 18 Apr 2006 11:16:54 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVrwi-0006dd-Lu
	for speechsc@ietf.org; Tue, 18 Apr 2006 11:16:52 -0400
Received: from e35.co.us.ibm.com ([32.97.110.153])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVrwf-0004sX-CD
	for speechsc@ietf.org; Tue, 18 Apr 2006 11:16:52 -0400
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com
	[9.17.195.106])
	by e35.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3IFGn8w005347
	for <speechsc@ietf.org>; Tue, 18 Apr 2006 11:16:49 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167])
	by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3IFKBij066420
	for <speechsc@ietf.org>; Tue, 18 Apr 2006 09:20:11 -0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])
	by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3IFGlF3026202
	for <speechsc@ietf.org>; Tue, 18 Apr 2006 09:16:48 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3IFGlCu026148
	for <speechsc@ietf.org>; Tue, 18 Apr 2006 09:16:47 -0600
To: speechsc@ietf.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF403E34DA.6D614184-ON87257154.0053ACEB-85257154.0053D507@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Tue, 18 Apr 2006 11:18:52 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/18/2006 09:20:01,
	Serialize complete at 04/18/2006 09:20:01
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7d33c50f3756db14428398e2bdedd581
Subject: [Speechsc] 9.4.39.  Enroll-Utterance typo
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

The reference to the letter "e" in the sentence "MUST add the recognized 
phrase to the e and indicates that the" in section 9.4.39.

9.4.39.  Enroll-Utterance

   This header MAY be specified in the RECOGNIZE method.  If this header
   is set to "true" and an Enrollment is active, the RECOGNIZE command
   MUST add the recognized phrase to the e and indicates that the
   collected utterance MUST be add to the personal grammar that is being
   enrolled.  The default value for this header is "false".

   enroll-utterance     =  "Enroll-Utterance" ":" Boolean-Value CRLF


Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
gavagni@us.ibm.com


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Tue Apr 18 17:51:32 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVy6a-0000zR-PH; Tue, 18 Apr 2006 17:51:28 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVy6Z-0000zM-Bg
	for speechsc@ietf.org; Tue, 18 Apr 2006 17:51:27 -0400
Received: from mxgate1.brooktrout.com ([204.176.74.10])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVy6Y-0000Id-Ic
	for speechsc@ietf.org; Tue, 18 Apr 2006 17:51:27 -0400
X-IronPort-AV: i="4.04,131,1144036800"; 
	d="scan'208"; a="31442613:sNHT57240096"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] Issues around grammar lifetimes
Date: Tue, 18 Apr 2006 17:51:24 -0400
Message-ID: <330A23D8336C0346B5C1A5BB1966664702AE200C@ATLANTIS.Brooktrout.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] Issues around grammar lifetimes
Thread-Index: AcZenawsdIVPLKd0QmO694QaVjsiNwElIR4A
From: "Burger, Eric" <EBurger@cantata.com>
To: "Carter, Jerry" <jerry.carter@nuance.com>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 6fc5b1c74c5bed09a3a9da2884900dec
Cc: speechsc@ietf.org
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

How large are the grammar files?

-----Original Message-----
From: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
Sent: Wednesday, April 12, 2006 9:55 PM
To: Shanmugham, Saravanan; David R Oran
Cc: speechsc@ietf.org; Burger, Eric
Subject: RE: [Speechsc] Issues around grammar lifetimes

As I wrote in my original email, I don't see the language in section
13.7 as
making any normative statement requiring availability for a session
lifetime.  The language signals intent but does not mandate.  And in
this
case, I believe intent is the correct position for the specification to
take.

If I read your response correctly, you seem to be suggesting that MRCP
servers are not, in practice, ever resource constrained.  Such a view
would
be woefully removed from the implementation realities.  My concern
stands
whether one considers text grammars or compiled forms, disk caches or
memory
storage, static or dynamic content.  MRCP server implementations do on
occasion need to purge old grammars from storage.  If the purged
grammars
are never again referred to by the client, there are no problems.  But
if
the client does attempt to reference a purged grammar, the MRCP v2
specification does not appear to provide any notification mechanism.
That
is a significant deficiency of the specification.


As for your comments on grammar references and caching semantics, that
is a
separate topic with orthogonal concerns.

> -----Original Message-----
> From: Shanmugham, Saravanan [mailto:sarvi@cisco.com]
> Sent: Wednesday, April 12, 2006 7:19 PM
> To: Carter, Jerry; David R Oran
> Cc: speechsc@ietf.org; Burger, Eric
> Subject: RE: [Speechsc] Issues around grammar lifetimes
>=20
>=20
> The main purpose of the DEFINE-GRAMMAR was to give the MRCP server an
> opportunity to define and compile inline-grammar blocks that might be
> specified and reused multiple times in a RECOGNIZE. Such grammars are
> associated with a "session:" URI and is expected to be accessible for
> the life of the session. The "lifetime of the session" was
specifically
> meant for such inline-grammar blocks. This grammar SHOULD NOT be in
> "Cache" but in storage associated with the session and are not
> "cachedout" though they could be redefined by another DEFINE-GRAMMAR
> operation which redefines the "session:" URI with a  new block of
> inline-grammar.
>=20
> Additionally, the DEFINE-GRAMMAR is alo expected to fetch and compile
> external URI based grammars which gives the client to make sure the
> grammar is accessible to the MRCP server and also compilable. Once
> compiled such grammar are placed in the "Cache". Such grammars may be
> cached out by other DEFINE-GRAMMAR/RECOGNIZE methods. The
implementation
> and management of this cache is upto the MRCP server. It could choose
to
> cache only the grammar or a compilation of the grammar.
>=20
> Also, note that for inline grammars associated with "session:" URI
> refered in the first paragraph, the inline grammar block could them
> selves have references to external grammar URI. The server MUST store
> the grammar block associated with the "session:" URI for the life of
the
> session. But it is not a MUST for the server to store all external URI
> grammars referenced from within the "session:" inline grammar block.
But
> note that all external grammar URI references(even those embedded
within
> inline grammar blocks assocaited with "session:" URI) have to follow
the
> Caching Parameters.
>=20
> Sarvi
>=20
>      -----Original Message-----
>      From: Carter, Jerry [mailto:jerry.carter@nuance.com]
>      Sent: Wednesday, April 12, 2006 8:14 AM
>      To: David R Oran
>      Cc: speechsc@ietf.org; Burger, Eric
>      Subject: RE: [Speechsc] Issues around grammar lifetimes
>=20
>      I'm not proposing that the client have control over
>      grammar lifetimes.  I am offering a notification and
>      recovery proposal with clarifying language describing
>      server behavior.
>=20
>      Adding two lines to the example,
>=20
>      DEFINE-GRAMMAR Large_1
>      DEFINE-GRAMMAR Large_2
>      DEFINE-GRAMMAR Small_3
>      RECOGNIZE (against Large_1, Large_2, Small_3)
>      DEFINE-GRAMMAR Large_4 RECOGNIZE (against Large_4)
>      DEFINE-GRAMMAR Large_5 RECOGNIZE (against Large_5)
>      DEFINE-GRAMMAR Large_6 RECOGNIZE (against Large_1,
>      Small_3, Large_6)  [FAILS] DEFINE-GRAMMAR Large_1
>      RECOGNIZE (against Large_1, Small_3, Large_6)  [SUCCEEDS]
>=20
>      if the client knows what grammars are unavailable,
>      recovery via re-DEFINE-GRAMMAR is possible.
>=20
>      As waiting until RECOGNIZE is usually too late, the
>      original email discusses use of DEFINE-GRAMMAR to signal
>      continued interest without passing the entire grammar
>      definition over the wire.
>=20
>      > -----Original Message-----
>      > From: David R Oran [mailto:oran@cisco.com]
>      > Sent: Wednesday, April 12, 2006 11:07 AM
>      > To: Carter, Jerry
>      > Cc: Burger, Eric; speechsc@ietf.org
>      > Subject: Re: [Speechsc] Issues around grammar lifetimes
>      >
>      > This strikes me as something that should not be exposed
>      to the client
>      > unless there is really strong reason to believe that the
>      client can do
>      > a better job of managing server resources than the
>      server can itself.
>      >
>      > Dave (chair hat off)
>      >
>      > On Apr 12, 2006, at 10:19 AM, Carter, Jerry wrote:
>      >
>      > > As I discussed, MRCP servers have finite resources
>      available.  When
>      > > an MRCP server is asked to track several large
>      grammars, it may be
>      > > necessary to purge older grammars from cache to process new
>      > > requests.  Consider this
>      > > case:
>      > >
>      > > DEFINE-GRAMMAR Large_1
>      > > DEFINE-GRAMMAR Large_2
>      > > DEFINE-GRAMMAR Small_3
>      > > RECOGNIZE (against Large_1, Large_2, Small_3)
>      DEFINE-GRAMMAR Large_4
>      > > RECOGNIZE (against Large_4) DEFINE-GRAMMAR Large_5 RECOGNIZE
>      > > (against Large_5) DEFINE-GRAMMAR Large_6 RECOGNIZE
>      (against Large_1,
>      > > Small_3, Large_6) << What happens?
>      > >
>      > > The session starts and recognition occurs against
>      several grammars.
>      > > The second recognition (perhaps a modal VXML dialog)
>      requires only a
>      > > single grammar.  Likewise, the third recognition
>      (perhaps another
>      > > modal VXML
>      > > dialog) requires only a single grammar.  For the final
>      recognition,
>      > > another large grammar is required.  If the MRCP server
>      is resource
>      > > constrained, one or more of the earlier grammars will
>      be flushed
>      > > from cache to make space for the new grammar.  Let's
>      assume that
>      > > Large_1 gets flushed; the RECOGNIZE will fail.
>      > >
>      > > As I discussed, there is no language in the MRCP
specification
>      > > describing grammar lifetimes nor do I see any
>      notification mechanism
>      > > that would informing the client of which grammars are
>      unavailable to
>      > > permit a recovery.
>      > > I see this as a serious and significant deficiency.
>      > >
>      > > For additional comments and a proposed solution, I
>      refer back to the
>      > > 24 March email.
>      > >
>      > >
>      > >> -----Original Message-----
>      > >> From: Burger, Eric [mailto:EBurger@cantata.com]
>      > >> Sent: Saturday, April 08, 2006 11:00 PM
>      > >> To: Carter, Jerry
>      > >> Cc: speechsc@ietf.org
>      > >> Subject: RE: [Speechsc] Issues around grammar lifetimes
>      > >>
>      > >>>>> An MRCP server SHOULD retain grammars on each
>      session created by
>      > >>>>> a
>      > >> DEFINE-GRAMMAR message until at least the next
>      RECOGNIZE.  It MAY
>      > >> retain grammars for much longer. <<<
>      > >>
>      > >> Under what circumstance would an MRCP server *not* retain
the
>      > >> grammar?  If you cannot think of one, and this is
>      important, than
>      > >> an MRCP server MUST retain grammars until the next
>      RECOGNIZE.
>      > >> Conversely, if there are too many circumstances when the
MRCP
>      > >> server would not retain the grammar, there is no
>      point saying it
>      > >> should, because implementers will do whatever they
>      want, anyway.
>      > >>
>      > >> In general, if we have a statement that X SHOULD do
>      Y, then in the
>      > >> same paragraph one needs to enumerate when X would NOT do Y.
>      > >>
>      > >> ________________________________________
>      > >> From: Carter, Jerry [mailto:jerry.carter@nuance.com]
>      > >> Sent: Friday, March 24, 2006 11:25 AM
>      > >> To: speechsc@ietf.org
>      > >> Subject: [Speechsc] Issues around grammar lifetimes
>      > >>
>      > >> Typically, an MRCP client will issue multiple DEFINE-GRAMMAR
>      > >> messages eventually followed by a RECOGNIZE.  The
>      MRCP client might
>      > >> reasonably expect that the defined grammars would be
>      available when
>      > >> recognition is requested, but this does not appear to be
>      > >> guaranteed.
>      > >> Furthermore, I do
>      > >> not see any notification mechanism for informing the
>      client of
>      > >> which grammars are unavailable.
>      > >>
>      > >>
>      > >> There does not appear to be any language in section 9 that
>      > >> describes grammar lifetimes.  There is language in
>      the session URI
>      > >> description (section 13.7) that might relate
>      > >>
>      > >>       The purpose
>      > >>       of this scheme is to permit access to the
>      specific resource for
>      > >>       the lifetime of the session with the entity storing
the
>      > >> resource.
>      > >>
>      > >> but this is not a normative statement requiring
>      availability for a
>      > >> session lifetime.  In practice a MRCP server has a
>      finite cache and
>      > >> may support multiple parallel sessions.  It is
>      unreasonable to
>      > >> require that the MRCP server provision a sufficiently
>      large cache
>      > >> to store all grammars across all sessions,
>      particularly if sessions
>      > >> are long and employ large dynamic grammars.  Such a
>      requirement
>      > >> would render small footprint MRCP servers impossible.
>      > >>
>      > >> If a grammar is flushed from the MRCP server's cache before
>      > >> RECOGNIZE, the notification mechanism is unclear.
>      Presumably a
>      > >> completion cause of 'grammar-load-failure' would be
>      returned.  The
>      > >> server might want to return a list of URIs in the
>      message but this
>      > >> would violate 9.4.12
>      > >>
>      > >>    Clients SHOULD NOT interpret the completion reason text.
>      > >> Instead it
>      > >>    is RECOMMENDED that the reason be recorded in
>      client logs and
>      > >>    otherwise made available for debugging and
instrumentation
>      > >> purposes.
>      > >>
>      > >> and such an approach would need to be standardized.
>      Additionally,
>      > >> a developer would like some assurance _before_
>      RECOGNIZE is invoked
>      > >> that all the loaded grammars are available.
>      > >>
>      > >>
>      > >> Because MRCP servers have finite memory and caches, it is
not
>      > >> reasonable to require that grammars be available on a
session
>      > >> indefinitely after a DEFINE-GRAMMAR.  We might
>      instead require that
>      > >> grammars have guaranteed availability on a session
>      only until the
>      > >> next call to RECOGNIZE; this also breaks for the same
reason.
>      > >>
>      > >>
>      > >> Here is a solution that I believe works.
>      > >>
>      > >> (1) An MRCP server SHOULD retain grammars on each
>      session created
>      > >> by a DEFINE-GRAMMAR message until at least the next
>      RECOGNIZE.  It
>      > >> MAY retain grammars for much longer.
>      > >>
>      > >> (2) DEFINE-GRAMMAR should support redefining grammars
>      by passing
>      > >> the IDs without supplying the grammar definition.  The
>      > >> text/grammar-ref- list media type might be
>      appropriate for this
>      > >> purpose.
>      > >>
>      > >> (3) A RECOGNIZE or a DEFINE-GRAMMAR returning a
>      completion cause of
>      > >> either 'grammar-load-failure' or
'grammar-completion-failure'
>      > >> should include a CRLF separated list detailing the IDs which
>      > >> grammars did not load or compile.
>      > >>
>      > >> (4) The text in 9.4.11 should support DEFINE-GRAMMAR
returning
>      > >> 'grammar-
>      > >> load-failure' and 'grammar-completion-failure'.
>      > >>
>      > >> -------------------------
>      > >>
>      > >> Under this proposal, the client might do the following:
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition)
DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 documentLevel2
>      formLevel1 (IDs only
>      > >> to reassert continued need) DEFINE-GRAMMAR fieldLevel2 (new
>      > >> definition) RECOGNIZE
>      > >>
>      > >> -------------------------
>      > >>
>      > >> Likewise, in the typical error case:
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition)
DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> <time passes during which documentLevel2 gets flushed
>      from the
>      > >> server's
>      > >> cache>
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 documentLevel2
>      formLevel1 (only to
>      > >> reassert continued need; an error is returned indicating
that
>      > >> documentLevel2 could
>      > >> not load)
>      > >> DEFINE-GRAMMAR documentLevel2 (new definition)
DEFINE-GRAMMAR
>      > >> fieldLevel2 (new definition) RECOGNIZE
>      > >>
>      > >> -------------------------
>      > >>
>      > >> Furthermore, if the client believes that the server
>      has sufficient
>      > >> storage capabilities, the existing protocol may be followed.
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel1 (new definition)
DEFINE-GRAMMAR
>      > >> documentLevel2 (new definition) DEFINE-GRAMMAR
>      formLevel1 (new
>      > >> definition) DEFINE-GRAMMAR fieldLevel1 (new
>      definition) RECOGNIZE
>      > >>
>      > >> <time passes, but grammars are not flushed>
>      > >>
>      > >> DEFINE-GRAMMAR documentLevel2 (new definition)
DEFINE-GRAMMAR
>      > >> fieldLevel2 (new definition) RECOGNIZE
>      > >>
>      > >> Here the client is taking a chance that RECOGNIZE
>      will fail because
>      > >> a grammar is not available, but finds that an
>      acceptable risk.
>      > >> Were RECOGNIZE to return with 'grammar-load-failure',
>      the client
>      > >> would still be able to recover - though the user
>      might experience
>      > >> some undesired latency.
>      > >>
>      > >
>      > >
>      > > _______________________________________________
>      > > Speechsc mailing list
>      > > Speechsc@ietf.org
>      > > https://www1.ietf.org/mailman/listinfo/speechsc
>=20
>      _______________________________________________
>      Speechsc mailing list
>      Speechsc@ietf.org
>      https://www1.ietf.org/mailman/listinfo/speechsc
>=20

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Tue Apr 18 17:52:13 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVy7J-00011D-CK; Tue, 18 Apr 2006 17:52:13 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVy7I-000115-56
	for speechsc@ietf.org; Tue, 18 Apr 2006 17:52:12 -0400
Received: from mxgate1.brooktrout.com ([204.176.74.10])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVy7G-0000JG-KT
	for speechsc@ietf.org; Tue, 18 Apr 2006 17:52:12 -0400
X-IronPort-AV: i="4.04,131,1144036800"; 
	d="scan'208"; a="31442625:sNHT65808820"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Speechsc] message-length clarification
Date: Tue, 18 Apr 2006 17:52:08 -0400
Message-ID: <330A23D8336C0346B5C1A5BB1966664702AE200D@ATLANTIS.Brooktrout.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] message-length clarification
Thread-Index: AcZiQHkERMzs0GExQdW1Jic52mKHYgA8dDyA
From: "Burger, Eric" <EBurger@cantata.com>
To: "Dave Burke" <david.burke@voxpilot.com>,
	"Corby Anderson" <corby@tellme.com>, "Brett Gavagni" <gavagni@us.ibm.com>
X-Spam-Score: 1.2 (+)
X-Scan-Signature: 8a961490db2a74c7613bf0201229f176
Cc: speechsc@ietf.org, "Shanmugham, Saravanan" <sarvi@cisco.com>,
	Bergallo Patrizio <patrizio.bergallo@loquendo.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Any takers?  I'm with option 2, as that leaves things as it and is
workable.

-----Original Message-----
From: Dave Burke [mailto:david.burke@voxpilot.com]=20
Sent: Monday, April 17, 2006 12:57 PM
To: Corby Anderson; Brett Gavagni
Cc: speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio
Subject: Re: [Speechsc] message-length clarification

In the interests of rough consensus:

o Preference for:
    - Remove message-length altogether

o Can live with:
    - Zero-padding note (as per Sarvi's suggestion)

 o Don't like:
    - message-length doesn't include start-line
    (because this is a half-way house with negligible value - the
     parser will be searching for \n anyways so why not iterate up
     to Content-Length)

Dave

----- Original Message -----=20
From: "Brett Gavagni" <gavagni@us.ibm.com>
To: "Corby Anderson" <corby@tellme.com>
Cc: <speechsc@ietf.org>; "Shanmugham, Saravanan" <sarvi@cisco.com>;
"Bergallo Patrizio" <patrizio.bergallo@loquendo.com>
Sent: Monday, April 17, 2006 3:42 PM
Subject: Re: [Speechsc] message-length clarification


> That was the original suggestion when I started with this thread
>
(http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html),
> and this suggestion wasn't  too well received.
>
> "Propose to modify the wording that message-length does NOT include
the
> start-line as an issue to track for the next draft."
>
> So then we diverged into the defining the true value of the
message-length
> token, and thus the proposal for the removal of the message-length
token
> in its entirety.
>
> This removal  proposal was fueled even more with the distinction that
the
> MRCPv2 session control is separated, especially since MRCPv2 messages
are
> NOT expected/described as tunnelled.
>
> I'd be happy if the message-length was modified as originally proposed
to
> NOT include the size of the start-line in the length, or if the
> message-length to be removed from the draft.
>
> IMO, anything else is a hack. =3D)
>
> Continue the flame roasting as necessary. =3D)
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
>
>
> Corby Anderson <corby@tellme.com>
> 04/14/2006 08:26 PM
>
> To
> Brett Gavagni/West Palm Beach/IBM@IBMUS
> cc
> "Shanmugham, Saravanan" <sarvi@cisco.com>, speechsc@ietf.org, Bergallo
> Patrizio <patrizio.bergallo@loquendo.com>
> Subject
> Re: [Speechsc] message-length clarification
>
>
>
>
>
>
> No, you're not the only one. :-)  It is hacky.  The size calculation
that
> Dave Burke posted is concise, but it's cumbersome.
>
> But stepping back a little, it *is* helpful to know the size ahead of
> time.  Since clients can share an MRCP control channel, it's makes the
> server's job easier if it knows ahead of time how many bytes will be
in a
> particular command.  You can imagine an implementation where a the
socket
> reader understands the first-line format enough to read all the bytes
for
> a single message into a buffer and then hand it off to a different
> class/function/thread for further processing.
>
> How about if  the length pertained to the size of everything *except*
the
> first line?  That would make the size calculation trivial and would
still
> offer the benefit of having the size around for parsing purposes.
>
> Corby Anderson
> Tellme Networks
>
> Brett Gavagni wrote:
> Am I the only one that thinks this suggestion for padding a fixed
length
> is a Band-Aid (*hack) for the real problem identified by this thread?
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
>
>
> "Shanmugham, Saravanan" <sarvi@cisco.com>
> 04/14/2006 02:06 PM
>
> To
> "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>,
<speechsc@ietf.org>
> cc
>
> Subject
> RE: [Speechsc] message-length clarification
>
>
>
>
>
>
> Pete/Bergallo,
>
> Leading spaces are illegal per the current ABNF definition.
> But Pete's suggestion is perfectly legal and makes the encoding phase
just
>
> as effciient.
>
> I can add this clarification/suggestion for implementers into the
> specification.
>
> Thx,
>
> Sarvi
>
> From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com]
> Sent: Friday, April 14, 2006 1:44 AM
> To: speechsc@ietf.org
> Subject: RE: [Speechsc] message-length clarification
>
>
> I agree that problems arise more on encoding side than in decoding
one.
> What about using leading SP, with the same purpose of leading zeros
> mentioned by Pete?
> Is it legal?
> Anyway, though I'm not a big fan of message-length field, I think that
> removing it at this stage of spec should be avoided.
>
> Regards,
> Patrizio Bergallo, Loquendo.
>
>
> -----Original Message-----
> From: Pete Cordell [mailto:pete@tech-know-ware.com]
> Sent: Friday, April 14, 2006 9:55 AM
> To: Dave Burke
> Cc: speechsc@ietf.org
> Subject: Re: [Speechsc] message-length clarification
>
>
> As someone watching from the sidelines, this issue about the
> representation
> of the length field potentially changing the value of the
> length that needed
> to be encoded occurred to me also.
>
> I wondered if you could use leading zeros in the length field
> so that it is
> always fixed length. e.g. in C it would be something like:
>
> sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!
>
> Messages would then look like:
>
> MRCP/2.0 0047 543256 200 COMPLETE
> ...
>
> Still a bit of a gotcha though, that could lead to one of
> those one in a
> hundred type bugs!
>
> Regards,
>
> Pete.
> --
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Pete Cordell
> Tech-Know-Ware Ltd
> for XML to C++ data binding visit
> http://www.tech-know-ware.com/lmx
> (or http://www.xml2cpp.com)
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> ----- Original Message -----=20
> From: "Dave Burke"
> To: "Shanmugham, Saravanan" ; "Brett Gavagni"
>
> Cc:
> Sent: Friday, April 14, 2006 12:39 AM
> Subject: Re: [Speechsc] message-length clarification
>
>
>
> Just wanted to insert one point that I haven't seen mentioned: The
> message-length makes it easier to decode but not encode.
>
> This is because the message-length also includes the number
>
> of bytes
>
> that
> specify the message-length in the header. The algorithm for
>
> determining
>
> the message-length has to add up all the bytes in the
>
> message to get a
>
> total (label: N), then determine the number of bytes to represent N
> (label: M), then check if the total N+M rolls over a power
>
> of 10 (if it
>
> does you need another byte). The value to insert for the
>
> message-length is
>
> not simply N+M but rather
>
> (N >=3D (10^M-M)) ? N+M+1 : N+M
>
> For example, if N=3D97 then M=3D2 and N+M=3D99=3Dmessage-length.
>
> However, if
>
> N=3D98
> then M=3D2 but now N+M=3D100 =3D> message-length=3DN+M+1
>
> Sorta awkward - no?
>
> Dave
>
>
>
>
>
> ----- Original Message -----
> From: "Brett Gavagni"
> To: "Shanmugham, Saravanan"
> Cc:
> Sent: Thursday, April 13, 2006 1:52 PM
> Subject: RE: [Speechsc] message-length clarification
>
>
> Hi Sarvi,
>
> I realize that it may be late in the game for addressing
>
> problems in
>
> the specification, but I would evangelize that its cheaper
>
> to pay now
>
> (potential standardization delays) than to pay later (poor
>
> adoption)
>
> due to convolution and problematic issues in the spec.
>
> Since the session control for MRCPv2 is separated (a la SIP, RTSP,
> etc..) and not tunnelled, what would be the compelling
>
> reason that the
>
> message-length token exist in the start-line especially since the
> "Content-Length" header?
>
> I'm now proposing the removal of the message-length token from the
> start-line in entirety, as it is at least redundant and
>
> deviating from
>
> the HTTP-like conventions leveraged throughout the spec.
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
> ...cut...
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia
S.p.A.
>
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> CONFIDENTIALITY NOTICE
> This message and its attachments are addressed solely to the persons
> above and may contain confidential information. If you have received
> the message in error, be informed that any use of the content hereof
> is prohibited. Please return it immediately to the sender and delete
> the message. Should you have any questions, please send an e_mail to
> <mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank
you
> <http://www.loquendo.com>www.loquendo.com
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Tue Apr 18 18:02:59 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVyHj-0004ZY-3A; Tue, 18 Apr 2006 18:02:59 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVyHi-0004ZT-9F
	for speechsc@ietf.org; Tue, 18 Apr 2006 18:02:58 -0400
Received: from e34.co.us.ibm.com ([32.97.110.152])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVyHf-0000a5-KZ
	for speechsc@ietf.org; Tue, 18 Apr 2006 18:02:58 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
	[9.17.195.11])
	by e34.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3IM2qk0012709
	for <speechsc@ietf.org>; Tue, 18 Apr 2006 18:02:52 -0400
Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169])
	by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3ILxEMS244352
	for <speechsc@ietf.org>; Tue, 18 Apr 2006 15:59:14 -0600
Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1])
	by d03av03.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3IM2qpP029600
	for <speechsc@ietf.org>; Tue, 18 Apr 2006 16:02:52 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3IM2peY029591; Tue, 18 Apr 2006 16:02:52 -0600
In-Reply-To: <330A23D8336C0346B5C1A5BB1966664702AE200D@ATLANTIS.Brooktrout.com>
To: "Burger, Eric" <EBurger@cantata.com>
Subject: RE: [Speechsc] message-length clarification
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OF332A4437.47F12B40-ON87257154.0079217F-85257154.00791C61@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Tue, 18 Apr 2006 18:06:03 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/18/2006 16:06:05,
	Serialize complete at 04/18/2006 16:06:05
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 1.2 (+)
X-Scan-Signature: 06d29b9b22258f4f07fe89b4d4a05a86
Cc: speechsc@ietf.org, "Shanmugham, Saravanan" <sarvi@cisco.com>,
	Bergallo Patrizio <patrizio.bergallo@loquendo.com>,
	Dave Burke <david.burke@voxpilot.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Hi,

I'm in for #1 or #3,  as #2 is the infamous hack. =)

I'd rather pay now, than pay later. =)

Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
gavagni@us.ibm.com




"Burger, Eric" <EBurger@cantata.com> 
04/18/2006 05:52 PM

To
"Dave Burke" <david.burke@voxpilot.com>, "Corby Anderson" 
<corby@tellme.com>, Brett Gavagni/West Palm Beach/IBM@IBMUS
cc
<speechsc@ietf.org>, "Shanmugham, Saravanan" <sarvi@cisco.com>, "Bergallo 
Patrizio" <patrizio.bergallo@loquendo.com>
Subject
RE: [Speechsc] message-length clarification






Any takers?  I'm with option 2, as that leaves things as it and is
workable.

-----Original Message-----
From: Dave Burke [mailto:david.burke@voxpilot.com] 
Sent: Monday, April 17, 2006 12:57 PM
To: Corby Anderson; Brett Gavagni
Cc: speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio
Subject: Re: [Speechsc] message-length clarification

In the interests of rough consensus:

o Preference for:
    - Remove message-length altogether

o Can live with:
    - Zero-padding note (as per Sarvi's suggestion)

 o Don't like:
    - message-length doesn't include start-line
    (because this is a half-way house with negligible value - the
     parser will be searching for \n anyways so why not iterate up
     to Content-Length)

Dave

----- Original Message ----- 
From: "Brett Gavagni" <gavagni@us.ibm.com>
To: "Corby Anderson" <corby@tellme.com>
Cc: <speechsc@ietf.org>; "Shanmugham, Saravanan" <sarvi@cisco.com>;
"Bergallo Patrizio" <patrizio.bergallo@loquendo.com>
Sent: Monday, April 17, 2006 3:42 PM
Subject: Re: [Speechsc] message-length clarification


> That was the original suggestion when I started with this thread
>
(http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html),
> and this suggestion wasn't  too well received.
>
> "Propose to modify the wording that message-length does NOT include
the
> start-line as an issue to track for the next draft."
>
> So then we diverged into the defining the true value of the
message-length
> token, and thus the proposal for the removal of the message-length
token
> in its entirety.
>
> This removal  proposal was fueled even more with the distinction that
the
> MRCPv2 session control is separated, especially since MRCPv2 messages
are
> NOT expected/described as tunnelled.
>
> I'd be happy if the message-length was modified as originally proposed
to
> NOT include the size of the start-line in the length, or if the
> message-length to be removed from the draft.
>
> IMO, anything else is a hack. =)
>
> Continue the flame roasting as necessary. =)
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
>
>
> Corby Anderson <corby@tellme.com>
> 04/14/2006 08:26 PM
>
> To
> Brett Gavagni/West Palm Beach/IBM@IBMUS
> cc
> "Shanmugham, Saravanan" <sarvi@cisco.com>, speechsc@ietf.org, Bergallo
> Patrizio <patrizio.bergallo@loquendo.com>
> Subject
> Re: [Speechsc] message-length clarification
>
>
>
>
>
>
> No, you're not the only one. :-)  It is hacky.  The size calculation
that
> Dave Burke posted is concise, but it's cumbersome.
>
> But stepping back a little, it *is* helpful to know the size ahead of
> time.  Since clients can share an MRCP control channel, it's makes the
> server's job easier if it knows ahead of time how many bytes will be
in a
> particular command.  You can imagine an implementation where a the
socket
> reader understands the first-line format enough to read all the bytes
for
> a single message into a buffer and then hand it off to a different
> class/function/thread for further processing.
>
> How about if  the length pertained to the size of everything *except*
the
> first line?  That would make the size calculation trivial and would
still
> offer the benefit of having the size around for parsing purposes.
>
> Corby Anderson
> Tellme Networks
>
> Brett Gavagni wrote:
> Am I the only one that thinks this suggestion for padding a fixed
length
> is a Band-Aid (*hack) for the real problem identified by this thread?
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
>
>
> "Shanmugham, Saravanan" <sarvi@cisco.com>
> 04/14/2006 02:06 PM
>
> To
> "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>,
<speechsc@ietf.org>
> cc
>
> Subject
> RE: [Speechsc] message-length clarification
>
>
>
>
>
>
> Pete/Bergallo,
>
> Leading spaces are illegal per the current ABNF definition.
> But Pete's suggestion is perfectly legal and makes the encoding phase
just
>
> as effciient.
>
> I can add this clarification/suggestion for implementers into the
> specification.
>
> Thx,
>
> Sarvi
>
> From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com]
> Sent: Friday, April 14, 2006 1:44 AM
> To: speechsc@ietf.org
> Subject: RE: [Speechsc] message-length clarification
>
>
> I agree that problems arise more on encoding side than in decoding
one.
> What about using leading SP, with the same purpose of leading zeros
> mentioned by Pete?
> Is it legal?
> Anyway, though I'm not a big fan of message-length field, I think that
> removing it at this stage of spec should be avoided.
>
> Regards,
> Patrizio Bergallo, Loquendo.
>
>
> -----Original Message-----
> From: Pete Cordell [mailto:pete@tech-know-ware.com]
> Sent: Friday, April 14, 2006 9:55 AM
> To: Dave Burke
> Cc: speechsc@ietf.org
> Subject: Re: [Speechsc] message-length clarification
>
>
> As someone watching from the sidelines, this issue about the
> representation
> of the length field potentially changing the value of the
> length that needed
> to be encoded occurred to me also.
>
> I wondered if you could use leading zeros in the length field
> so that it is
> always fixed length. e.g. in C it would be something like:
>
> sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!
>
> Messages would then look like:
>
> MRCP/2.0 0047 543256 200 COMPLETE
> ...
>
> Still a bit of a gotcha though, that could lead to one of
> those one in a
> hundred type bugs!
>
> Regards,
>
> Pete.
> --
> =============================================
> Pete Cordell
> Tech-Know-Ware Ltd
> for XML to C++ data binding visit
> http://www.tech-know-ware.com/lmx
> (or http://www.xml2cpp.com)
> =============================================
>
> ----- Original Message ----- 
> From: "Dave Burke"
> To: "Shanmugham, Saravanan" ; "Brett Gavagni"
>
> Cc:
> Sent: Friday, April 14, 2006 12:39 AM
> Subject: Re: [Speechsc] message-length clarification
>
>
>
> Just wanted to insert one point that I haven't seen mentioned: The
> message-length makes it easier to decode but not encode.
>
> This is because the message-length also includes the number
>
> of bytes
>
> that
> specify the message-length in the header. The algorithm for
>
> determining
>
> the message-length has to add up all the bytes in the
>
> message to get a
>
> total (label: N), then determine the number of bytes to represent N
> (label: M), then check if the total N+M rolls over a power
>
> of 10 (if it
>
> does you need another byte). The value to insert for the
>
> message-length is
>
> not simply N+M but rather
>
> (N >= (10^M-M)) ? N+M+1 : N+M
>
> For example, if N=97 then M=2 and N+M=99=message-length.
>
> However, if
>
> N=98
> then M=2 but now N+M=100 => message-length=N+M+1
>
> Sorta awkward - no?
>
> Dave
>
>
>
>
>
> ----- Original Message -----
> From: "Brett Gavagni"
> To: "Shanmugham, Saravanan"
> Cc:
> Sent: Thursday, April 13, 2006 1:52 PM
> Subject: RE: [Speechsc] message-length clarification
>
>
> Hi Sarvi,
>
> I realize that it may be late in the game for addressing
>
> problems in
>
> the specification, but I would evangelize that its cheaper
>
> to pay now
>
> (potential standardization delays) than to pay later (poor
>
> adoption)
>
> due to convolution and problematic issues in the spec.
>
> Since the session control for MRCPv2 is separated (a la SIP, RTSP,
> etc..) and not tunnelled, what would be the compelling
>
> reason that the
>
> message-length token exist in the start-line especially since the
> "Content-Length" header?
>
> I'm now proposing the removal of the message-length token from the
> start-line in entirety, as it is at least redundant and
>
> deviating from
>
> the HTTP-like conventions leveraged throughout the spec.
>
> Thanks,
>
> Brett Gavagni
> WebSphere Voice Server Development
> http://www-306.ibm.com/software/pervasive/voice_server/
> gavagni@us.ibm.com
>
>
> ...cut...
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia
S.p.A.
>
> ================================================
> CONFIDENTIALITY NOTICE
> This message and its attachments are addressed solely to the persons
> above and may contain confidential information. If you have received
> the message in error, be informed that any use of the content hereof
> is prohibited. Please return it immediately to the sender and delete
> the message. Should you have any questions, please send an e_mail to
> <mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank
you
> <http://www.loquendo.com>www.loquendo.com
> ================================================
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>
>
>
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Tue Apr 18 18:13:36 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FVyRz-0008Dr-QE; Tue, 18 Apr 2006 18:13:35 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FVyRz-0008Dm-DO
	for speechsc@ietf.org; Tue, 18 Apr 2006 18:13:35 -0400
Received: from mxgate1.brooktrout.com ([204.176.74.10])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FVyRy-0001GQ-5J
	for speechsc@ietf.org; Tue, 18 Apr 2006 18:13:35 -0400
X-IronPort-AV: i="4.04,131,1144036800"; 
	d="scan'208"; a="31442911:sNHT32846948"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 18 Apr 2006 18:13:32 -0400
Message-ID: <330A23D8336C0346B5C1A5BB1966664702AE2035@ATLANTIS.Brooktrout.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Finishing in Our Lifetime
Thread-Index: AcZjNVQyqofEUUINS4y9cp1WXBr0FQ==
From: "Burger, Eric" <EBurger@cantata.com>
To: <speechsc@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 244a2fd369eaf00ce6820a760a3de2e8
Subject: [Speechsc] Finishing in Our Lifetime
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

We are at an interesting time in the SPEECHSC work group.  The MRCPv2
spec has matured nicely and has been relatively stable for a while.  We
are starting to get real implementation experience, which has been
invaluable in pointing out holes or where we need clarifications in the
specification.

This does bring us to a cross-road.  Namely, we need to decide when we
are "done enough" for publication.

For review, I would urge folks not familiar with the IETF to review BCP
9, a.k.a. RFC 2026: <ftp://ftp.rfc-editor.org/in-notes/bcp/bcp9.txt>.
In particular, note that there are various levels of maturity in a
standards-track RFC.  They are (roughly):

Internet Draft:
Something people are thinking about; no weight as a standard.

Proposed Standard:
Something that looks like it just might work.  Let's try it and see how
it goes.

Draft Standard:
Something that is rather stable.  There is some real implementation
experience.  All of the normative references are at Draft Standard
level, and there are at least two pairs of independent (different source
code base), interoperating implementations of the protocol.

Internet Standard:
Well... There are all of 66 Internet Standards, compared to a couple of
hundred Proposed Standards.  I.e., an Internet Standard is pretty rare.


That said, we are really, really, really close to having MRCPv2 at a
Proposed Standard state.  Said differently, if you want to make a small
tweak, let's get what we have out there and we can address it when
MRCPv2 goes to Draft.

With this guideline in mind, the chairs have directed the editors to use
the following priorities for classifying and processing new requests.

Priority 1: Show Stopper
MRCPv2 will just not work without the change.  If the change is for a
corner case, the request can still hit Priority 1 if it would require a
major rework of the protocol in the future.

Priority 2: Clarifications and Editorial Comments
We will do our best to incorporate as much of this as we can.  The
rationale for allowing such changes is they hopefully make the
specification clearer so that interoperability is easier.  That said, do
be aware that we can publish errata (look at the RFC Editor web site),
so we are not "stuck" with "buggy" descriptions.

Priority 3: Missing features, methods, headers, etc.
We appear to be getting a few requests that are to make MRCPv2 support
full VoiceXML 2.1.  On the one hand, VoiceXML is a big consumer of
MRCPv2, so we want to make sure we address the market as best we can.
On the other hand, there are a bunch of existence proofs that MRCPv2 can
support VoiceXML browsers, in that there are a bunch of VoiceXML
browsers claiming support for MRCP, which is a less functional protocol
with known Priority 1 problems.  Things that fall into the Priority 3
category will most likely NOT make it into the Proposed version of
MRCPv2.  However, the intention is for people to start work immediately
on drafts to extend MRCPv2 with the needed functionality.  This allows
us to address the market and at the same time get MRCPv2 out the door.

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 19 10:19:45 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWDWs-0001vq-PW; Wed, 19 Apr 2006 10:19:38 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWDWr-0001tn-EJ
	for speechsc@ietf.org; Wed, 19 Apr 2006 10:19:37 -0400
Received: from mx3.scansoft.com ([198.71.73.26])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWDWp-00060h-UK
	for speechsc@ietf.org; Wed, 19 Apr 2006 10:19:37 -0400
Received: from pb-exchcon2.nuance.com ([10.1.4.118]RDNS failed) by
	mx3.scansoft.com with InterScan Message Security Suite;
	Wed, 19 Apr 2006 10:20:27 -0400
Received: by pb-exchcon2.pb.scansoft.com with Internet Mail Service
	(5.5.2658.27) id <2ZTTXM3B>; Wed, 19 Apr 2006 10:19:35 -0400
Message-ID: <F8940C21CD563F49BC884A274C4653DF03E50DF5@bn-exch1.speechworks.com>
From: "Carter, Jerry" <jerry.carter@nuance.com>
To: speechsc@ietf.org
Subject: RE: [Speechsc] message-length clarification
Date: Wed, 19 Apr 2006 10:19:34 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2658.27)
Content-Type: text/plain
X-Spam-Score: 1.2 (+)
X-Scan-Signature: df1883a27a831c1ea5e8cfe5eb3ad38e
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

I believe that Dave Burke's order correctly captures the discussion.  There
was a preference for removing the message-length entirely.

> -----Original Message-----
> From: Burger, Eric [mailto:EBurger@cantata.com]
> Sent: Tuesday, April 18, 2006 5:52 PM
> To: Dave Burke; Corby Anderson; Brett Gavagni
> Cc: speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio
> Subject: RE: [Speechsc] message-length clarification
> 
> Any takers?  I'm with option 2, as that leaves things as it and is
> workable.
> 
> -----Original Message-----
> From: Dave Burke [mailto:david.burke@voxpilot.com]
> Sent: Monday, April 17, 2006 12:57 PM
> To: Corby Anderson; Brett Gavagni
> Cc: speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio
> Subject: Re: [Speechsc] message-length clarification
> 
> In the interests of rough consensus:
> 
> o Preference for:
>     - Remove message-length altogether
> 
> o Can live with:
>     - Zero-padding note (as per Sarvi's suggestion)
> 
>  o Don't like:
>     - message-length doesn't include start-line
>     (because this is a half-way house with negligible value - the
>      parser will be searching for \n anyways so why not iterate up
>      to Content-Length)
> 
> Dave
> 
> ----- Original Message -----
> From: "Brett Gavagni" <gavagni@us.ibm.com>
> To: "Corby Anderson" <corby@tellme.com>
> Cc: <speechsc@ietf.org>; "Shanmugham, Saravanan" <sarvi@cisco.com>;
> "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>
> Sent: Monday, April 17, 2006 3:42 PM
> Subject: Re: [Speechsc] message-length clarification
> 
> 
> > That was the original suggestion when I started with this thread
> >
> (http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html),
> > and this suggestion wasn't  too well received.
> >
> > "Propose to modify the wording that message-length does NOT include
> the
> > start-line as an issue to track for the next draft."
> >
> > So then we diverged into the defining the true value of the
> message-length
> > token, and thus the proposal for the removal of the message-length
> token
> > in its entirety.
> >
> > This removal  proposal was fueled even more with the distinction that
> the
> > MRCPv2 session control is separated, especially since MRCPv2 messages
> are
> > NOT expected/described as tunnelled.
> >
> > I'd be happy if the message-length was modified as originally proposed
> to
> > NOT include the size of the start-line in the length, or if the
> > message-length to be removed from the draft.
> >
> > IMO, anything else is a hack. =)
> >
> > Continue the flame roasting as necessary. =)
> >
> > Thanks,
> >
> > Brett Gavagni
> > WebSphere Voice Server Development
> > http://www-306.ibm.com/software/pervasive/voice_server/
> > gavagni@us.ibm.com
> >
> >
> >
> >
> > Corby Anderson <corby@tellme.com>
> > 04/14/2006 08:26 PM
> >
> > To
> > Brett Gavagni/West Palm Beach/IBM@IBMUS
> > cc
> > "Shanmugham, Saravanan" <sarvi@cisco.com>, speechsc@ietf.org, Bergallo
> > Patrizio <patrizio.bergallo@loquendo.com>
> > Subject
> > Re: [Speechsc] message-length clarification
> >
> >
> >
> >
> >
> >
> > No, you're not the only one. :-)  It is hacky.  The size calculation
> that
> > Dave Burke posted is concise, but it's cumbersome.
> >
> > But stepping back a little, it *is* helpful to know the size ahead of
> > time.  Since clients can share an MRCP control channel, it's makes the
> > server's job easier if it knows ahead of time how many bytes will be
> in a
> > particular command.  You can imagine an implementation where a the
> socket
> > reader understands the first-line format enough to read all the bytes
> for
> > a single message into a buffer and then hand it off to a different
> > class/function/thread for further processing.
> >
> > How about if  the length pertained to the size of everything *except*
> the
> > first line?  That would make the size calculation trivial and would
> still
> > offer the benefit of having the size around for parsing purposes.
> >
> > Corby Anderson
> > Tellme Networks
> >
> > Brett Gavagni wrote:
> > Am I the only one that thinks this suggestion for padding a fixed
> length
> > is a Band-Aid (*hack) for the real problem identified by this thread?
> >
> > Thanks,
> >
> > Brett Gavagni
> > WebSphere Voice Server Development
> > http://www-306.ibm.com/software/pervasive/voice_server/
> > gavagni@us.ibm.com
> >
> >
> >
> >
> > "Shanmugham, Saravanan" <sarvi@cisco.com>
> > 04/14/2006 02:06 PM
> >
> > To
> > "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>,
> <speechsc@ietf.org>
> > cc
> >
> > Subject
> > RE: [Speechsc] message-length clarification
> >
> >
> >
> >
> >
> >
> > Pete/Bergallo,
> >
> > Leading spaces are illegal per the current ABNF definition.
> > But Pete's suggestion is perfectly legal and makes the encoding phase
> just
> >
> > as effciient.
> >
> > I can add this clarification/suggestion for implementers into the
> > specification.
> >
> > Thx,
> >
> > Sarvi
> >
> > From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com]
> > Sent: Friday, April 14, 2006 1:44 AM
> > To: speechsc@ietf.org
> > Subject: RE: [Speechsc] message-length clarification
> >
> >
> > I agree that problems arise more on encoding side than in decoding
> one.
> > What about using leading SP, with the same purpose of leading zeros
> > mentioned by Pete?
> > Is it legal?
> > Anyway, though I'm not a big fan of message-length field, I think that
> > removing it at this stage of spec should be avoided.
> >
> > Regards,
> > Patrizio Bergallo, Loquendo.
> >
> >
> > -----Original Message-----
> > From: Pete Cordell [mailto:pete@tech-know-ware.com]
> > Sent: Friday, April 14, 2006 9:55 AM
> > To: Dave Burke
> > Cc: speechsc@ietf.org
> > Subject: Re: [Speechsc] message-length clarification
> >
> >
> > As someone watching from the sidelines, this issue about the
> > representation
> > of the length field potentially changing the value of the
> > length that needed
> > to be encoded occurred to me also.
> >
> > I wondered if you could use leading zeros in the length field
> > so that it is
> > always fixed length. e.g. in C it would be something like:
> >
> > sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!
> >
> > Messages would then look like:
> >
> > MRCP/2.0 0047 543256 200 COMPLETE
> > ...
> >
> > Still a bit of a gotcha though, that could lead to one of
> > those one in a
> > hundred type bugs!
> >
> > Regards,
> >
> > Pete.
> > --
> > =============================================
> > Pete Cordell
> > Tech-Know-Ware Ltd
> > for XML to C++ data binding visit
> > http://www.tech-know-ware.com/lmx
> > (or http://www.xml2cpp.com)
> > =============================================
> >
> > ----- Original Message -----
> > From: "Dave Burke"
> > To: "Shanmugham, Saravanan" ; "Brett Gavagni"
> >
> > Cc:
> > Sent: Friday, April 14, 2006 12:39 AM
> > Subject: Re: [Speechsc] message-length clarification
> >
> >
> >
> > Just wanted to insert one point that I haven't seen mentioned: The
> > message-length makes it easier to decode but not encode.
> >
> > This is because the message-length also includes the number
> >
> > of bytes
> >
> > that
> > specify the message-length in the header. The algorithm for
> >
> > determining
> >
> > the message-length has to add up all the bytes in the
> >
> > message to get a
> >
> > total (label: N), then determine the number of bytes to represent N
> > (label: M), then check if the total N+M rolls over a power
> >
> > of 10 (if it
> >
> > does you need another byte). The value to insert for the
> >
> > message-length is
> >
> > not simply N+M but rather
> >
> > (N >= (10^M-M)) ? N+M+1 : N+M
> >
> > For example, if N=97 then M=2 and N+M=99=message-length.
> >
> > However, if
> >
> > N=98
> > then M=2 but now N+M=100 => message-length=N+M+1
> >
> > Sorta awkward - no?
> >
> > Dave
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Brett Gavagni"
> > To: "Shanmugham, Saravanan"
> > Cc:
> > Sent: Thursday, April 13, 2006 1:52 PM
> > Subject: RE: [Speechsc] message-length clarification
> >
> >
> > Hi Sarvi,
> >
> > I realize that it may be late in the game for addressing
> >
> > problems in
> >
> > the specification, but I would evangelize that its cheaper
> >
> > to pay now
> >
> > (potential standardization delays) than to pay later (poor
> >
> > adoption)
> >
> > due to convolution and problematic issues in the spec.
> >
> > Since the session control for MRCPv2 is separated (a la SIP, RTSP,
> > etc..) and not tunnelled, what would be the compelling
> >
> > reason that the
> >
> > message-length token exist in the start-line especially since the
> > "Content-Length" header?
> >
> > I'm now proposing the removal of the message-length token from the
> > start-line in entirety, as it is at least redundant and
> >
> > deviating from
> >
> > the HTTP-like conventions leveraged throughout the spec.
> >
> > Thanks,
> >
> > Brett Gavagni
> > WebSphere Voice Server Development
> > http://www-306.ibm.com/software/pervasive/voice_server/
> > gavagni@us.ibm.com
> >
> >
> > ...cut...
> >
> >
> >
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
> >
> >
> >
> > Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia
> S.p.A.
> >
> > ================================================
> > CONFIDENTIALITY NOTICE
> > This message and its attachments are addressed solely to the persons
> > above and may contain confidential information. If you have received
> > the message in error, be informed that any use of the content hereof
> > is prohibited. Please return it immediately to the sender and delete
> > the message. Should you have any questions, please send an e_mail to
> > <mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank
> you
> > <http://www.loquendo.com>www.loquendo.com
> > ================================================
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org
> > https://www1.ietf.org/mailman/listinfo/speechsc
> >
> >
> >
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org
> > https://www1.ietf.org/mailman/listinfo/speechsc
> >
> >
> >
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org
> > https://www1.ietf.org/mailman/listinfo/speechsc
> >
> 
> 
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
> 
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Wed Apr 19 10:36:21 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWDmx-0005iY-Mo; Wed, 19 Apr 2006 10:36:15 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWDmw-0005iT-AJ
	for speechsc@ietf.org; Wed, 19 Apr 2006 10:36:14 -0400
Received: from maile.telecomitalia.it ([156.54.233.31])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWDmt-0006Ub-AF
	for speechsc@ietf.org; Wed, 19 Apr 2006 10:36:14 -0400
Received: from ptpxch008ba020.idc.cww.telecomitalia.it ([156.54.240.51]) by
	maile.telecomitalia.it with Microsoft SMTPSVC(6.0.3790.1830);
	Wed, 19 Apr 2006 16:36:09 +0200
Received: from PTPEVS106BA020.idc.cww.telecomitalia.it ([156.54.241.223]) by
	ptpxch008ba020.idc.cww.telecomitalia.it with Microsoft
	SMTPSVC(6.0.3790.211); Wed, 19 Apr 2006 16:36:09 +0200
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Importance: normal
Priority: normal
Subject: R: [Speechsc] message-length clarification
Date: Wed, 19 Apr 2006 16:36:08 +0200
Message-ID: <F534D6940BB4C447874590AC0B295571542244@PTPEVS106BA020.idc.cww.telecomitalia.it>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] message-length clarification
thread-index: AcZjvG2en4pYBsz2TBO++8RBayn6fgAAJXyg
From: "Baggia Paolo" <paolo.baggia@loquendo.com>
To: "Carter, Jerry" <jerry.carter@nuance.com>,
	<speechsc@ietf.org>
X-OriginalArrivalTime: 19 Apr 2006 14:36:09.0014 (UTC)
	FILETIME=[99193560:01C663BE]
X-Spam-Score: 1.5 (+)
X-Scan-Signature: 79668c4a0135b05f663aafe71bc273fd
Cc: Bergallo Patrizio <patrizio.bergallo@loquendo.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0781091083=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============0781091083==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_8F7A2_01C663CF.5CEEECE0"
Content-Class: urn:content-classes:message

This is a multi-part message in MIME format.

------=_NextPart_000_8F7A2_01C663CF.5CEEECE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Jerry,

with reference to Eric Burger's e-mail
"[Speechsc] Finishing in Our Lifetime", in our opinion,
this issue is not a Priority 1 or Priority 2 one.

Our preference is to be conservative as much as is=20
possible, so we prefer to leave the current behaviour.=20
We can live with #2 (zero-padding).

The worst is #1 "remove message-length".

Paolo&Patrizio

-----Messaggio originale-----
Da: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
Inviato: mercoled=EC 19 aprile 2006 16.20
A: speechsc@ietf.org
Oggetto: RE: [Speechsc] message-length clarification

I believe that Dave Burke's order correctly captures the discussion.  =
There
was a preference for removing the message-length entirely.

> -----Original Message-----
> From: Burger, Eric [mailto:EBurger@cantata.com]
> Sent: Tuesday, April 18, 2006 5:52 PM
> To: Dave Burke; Corby Anderson; Brett Gavagni
> Cc: speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio
> Subject: RE: [Speechsc] message-length clarification
>=20
> Any takers?  I'm with option 2, as that leaves things as it and is
> workable.
>=20
> -----Original Message-----
> From: Dave Burke [mailto:david.burke@voxpilot.com]
> Sent: Monday, April 17, 2006 12:57 PM
> To: Corby Anderson; Brett Gavagni
> Cc: speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio
> Subject: Re: [Speechsc] message-length clarification
>=20
> In the interests of rough consensus:
>=20
> o Preference for:
>     - Remove message-length altogether
>=20
> o Can live with:
>     - Zero-padding note (as per Sarvi's suggestion)
>=20
>  o Don't like:
>     - message-length doesn't include start-line
>     (because this is a half-way house with negligible value - the
>      parser will be searching for \n anyways so why not iterate up
>      to Content-Length)
>=20
> Dave
>=20
> ----- Original Message -----
> From: "Brett Gavagni" <gavagni@us.ibm.com>
> To: "Corby Anderson" <corby@tellme.com>
> Cc: <speechsc@ietf.org>; "Shanmugham, Saravanan" <sarvi@cisco.com>;
> "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>
> Sent: Monday, April 17, 2006 3:42 PM
> Subject: Re: [Speechsc] message-length clarification
>=20
>=20
> > That was the original suggestion when I started with this thread
> >
> =
(http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html),
> > and this suggestion wasn't  too well received.
> >
> > "Propose to modify the wording that message-length does NOT include
> the
> > start-line as an issue to track for the next draft."
> >
> > So then we diverged into the defining the true value of the
> message-length
> > token, and thus the proposal for the removal of the message-length
> token
> > in its entirety.
> >
> > This removal  proposal was fueled even more with the distinction =
that
> the
> > MRCPv2 session control is separated, especially since MRCPv2 =
messages
> are
> > NOT expected/described as tunnelled.
> >
> > I'd be happy if the message-length was modified as originally =
proposed
> to
> > NOT include the size of the start-line in the length, or if the
> > message-length to be removed from the draft.
> >
> > IMO, anything else is a hack. =3D)
> >
> > Continue the flame roasting as necessary. =3D)
> >
> > Thanks,
> >
> > Brett Gavagni
> > WebSphere Voice Server Development
> > http://www-306.ibm.com/software/pervasive/voice_server/
> > gavagni@us.ibm.com
> >
> >
> >
> >
> > Corby Anderson <corby@tellme.com>
> > 04/14/2006 08:26 PM
> >
> > To
> > Brett Gavagni/West Palm Beach/IBM@IBMUS
> > cc
> > "Shanmugham, Saravanan" <sarvi@cisco.com>, speechsc@ietf.org, =
Bergallo
> > Patrizio <patrizio.bergallo@loquendo.com>
> > Subject
> > Re: [Speechsc] message-length clarification
> >
> >
> >
> >
> >
> >
> > No, you're not the only one. :-)  It is hacky.  The size calculation
> that
> > Dave Burke posted is concise, but it's cumbersome.
> >
> > But stepping back a little, it *is* helpful to know the size ahead =
of
> > time.  Since clients can share an MRCP control channel, it's makes =
the
> > server's job easier if it knows ahead of time how many bytes will be
> in a
> > particular command.  You can imagine an implementation where a the
> socket
> > reader understands the first-line format enough to read all the =
bytes
> for
> > a single message into a buffer and then hand it off to a different
> > class/function/thread for further processing.
> >
> > How about if  the length pertained to the size of everything =
*except*
> the
> > first line?  That would make the size calculation trivial and would
> still
> > offer the benefit of having the size around for parsing purposes.
> >
> > Corby Anderson
> > Tellme Networks
> >
> > Brett Gavagni wrote:
> > Am I the only one that thinks this suggestion for padding a fixed
> length
> > is a Band-Aid (*hack) for the real problem identified by this =
thread?
> >
> > Thanks,
> >
> > Brett Gavagni
> > WebSphere Voice Server Development
> > http://www-306.ibm.com/software/pervasive/voice_server/
> > gavagni@us.ibm.com
> >
> >
> >
> >
> > "Shanmugham, Saravanan" <sarvi@cisco.com>
> > 04/14/2006 02:06 PM
> >
> > To
> > "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>,
> <speechsc@ietf.org>
> > cc
> >
> > Subject
> > RE: [Speechsc] message-length clarification
> >
> >
> >
> >
> >
> >
> > Pete/Bergallo,
> >
> > Leading spaces are illegal per the current ABNF definition.
> > But Pete's suggestion is perfectly legal and makes the encoding =
phase
> just
> >
> > as effciient.
> >
> > I can add this clarification/suggestion for implementers into the
> > specification.
> >
> > Thx,
> >
> > Sarvi
> >
> > From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com]
> > Sent: Friday, April 14, 2006 1:44 AM
> > To: speechsc@ietf.org
> > Subject: RE: [Speechsc] message-length clarification
> >
> >
> > I agree that problems arise more on encoding side than in decoding
> one.
> > What about using leading SP, with the same purpose of leading zeros
> > mentioned by Pete?
> > Is it legal?
> > Anyway, though I'm not a big fan of message-length field, I think =
that
> > removing it at this stage of spec should be avoided.
> >
> > Regards,
> > Patrizio Bergallo, Loquendo.
> >
> >
> > -----Original Message-----
> > From: Pete Cordell [mailto:pete@tech-know-ware.com]
> > Sent: Friday, April 14, 2006 9:55 AM
> > To: Dave Burke
> > Cc: speechsc@ietf.org
> > Subject: Re: [Speechsc] message-length clarification
> >
> >
> > As someone watching from the sidelines, this issue about the
> > representation
> > of the length field potentially changing the value of the
> > length that needed
> > to be encoded occurred to me also.
> >
> > I wondered if you could use leading zeros in the length field
> > so that it is
> > always fixed length. e.g. in C it would be something like:
> >
> > sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!
> >
> > Messages would then look like:
> >
> > MRCP/2.0 0047 543256 200 COMPLETE
> > ...
> >
> > Still a bit of a gotcha though, that could lead to one of
> > those one in a
> > hundred type bugs!
> >
> > Regards,
> >
> > Pete.
> > --
> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > Pete Cordell
> > Tech-Know-Ware Ltd
> > for XML to C++ data binding visit
> > http://www.tech-know-ware.com/lmx
> > (or http://www.xml2cpp.com)
> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >
> > ----- Original Message -----
> > From: "Dave Burke"
> > To: "Shanmugham, Saravanan" ; "Brett Gavagni"
> >
> > Cc:
> > Sent: Friday, April 14, 2006 12:39 AM
> > Subject: Re: [Speechsc] message-length clarification
> >
> >
> >
> > Just wanted to insert one point that I haven't seen mentioned: The
> > message-length makes it easier to decode but not encode.
> >
> > This is because the message-length also includes the number
> >
> > of bytes
> >
> > that
> > specify the message-length in the header. The algorithm for
> >
> > determining
> >
> > the message-length has to add up all the bytes in the
> >
> > message to get a
> >
> > total (label: N), then determine the number of bytes to represent N
> > (label: M), then check if the total N+M rolls over a power
> >
> > of 10 (if it
> >
> > does you need another byte). The value to insert for the
> >
> > message-length is
> >
> > not simply N+M but rather
> >
> > (N >=3D (10^M-M)) ? N+M+1 : N+M
> >
> > For example, if N=3D97 then M=3D2 and N+M=3D99=3Dmessage-length.
> >
> > However, if
> >
> > N=3D98
> > then M=3D2 but now N+M=3D100 =3D> message-length=3DN+M+1
> >
> > Sorta awkward - no?
> >
> > Dave
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Brett Gavagni"
> > To: "Shanmugham, Saravanan"
> > Cc:
> > Sent: Thursday, April 13, 2006 1:52 PM
> > Subject: RE: [Speechsc] message-length clarification
> >
> >
> > Hi Sarvi,
> >
> > I realize that it may be late in the game for addressing
> >
> > problems in
> >
> > the specification, but I would evangelize that its cheaper
> >
> > to pay now
> >
> > (potential standardization delays) than to pay later (poor
> >
> > adoption)
> >
> > due to convolution and problematic issues in the spec.
> >
> > Since the session control for MRCPv2 is separated (a la SIP, RTSP,
> > etc..) and not tunnelled, what would be the compelling
> >
> > reason that the
> >
> > message-length token exist in the start-line especially since the
> > "Content-Length" header?
> >
> > I'm now proposing the removal of the message-length token from the
> > start-line in entirety, as it is at least redundant and
> >
> > deviating from
> >
> > the HTTP-like conventions leveraged throughout the spec.
> >
> > Thanks,
> >
> > Brett Gavagni
> > WebSphere Voice Server Development
> > http://www-306.ibm.com/software/pervasive/voice_server/
> > gavagni@us.ibm.com
> >
> >
> > ...cut...
> >
> >
> >
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
> >
> >
> >
> > Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia
> S.p.A.
> >
> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > CONFIDENTIALITY NOTICE
> > This message and its attachments are addressed solely to the persons
> > above and may contain confidential information. If you have received
> > the message in error, be informed that any use of the content hereof
> > is prohibited. Please return it immediately to the sender and delete
> > the message. Should you have any questions, please send an e_mail to
> > <mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank
> you
> > <http://www.loquendo.com>www.loquendo.com
> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org
> > https://www1.ietf.org/mailman/listinfo/speechsc
> >
> >
> >
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org
> > https://www1.ietf.org/mailman/listinfo/speechsc
> >
> >
> >
> > _______________________________________________
> > Speechsc mailing list
> > Speechsc@ietf.org
> > https://www1.ietf.org/mailman/listinfo/speechsc
> >
>=20
>=20
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc
>=20
> _______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc


Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons =
above and may contain confidential information. If you have received the =
message in error, be informed that any use of the content hereof is =
prohibited. Please return it immediately to the sender and delete the =
message. Should you have any questions, please send an e_mail to =
<mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank =
you<http://www.loquendo.com>www.loquendo.com
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
------=_NextPart_000_8F7A2_01C663CF.5CEEECE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 =
Transitional//EN"><HTML><HEAD><META HTTP-EQUIV=3D"Content-Type" =
CONTENT=3D"text/html; =
charset=3Diso-8859-1"></HEAD><BODY><DIV>&nbsp;</DIV>Jerry,<BR><BR>with =
reference to Eric Burger's e-mail<BR>"[Speechsc] Finishing in Our =
Lifetime", in our opinion,<BR>this issue is not a Priority 1 or Priority =
2 one.<BR><BR>Our preference is to be conservative as much as is =
<BR>possible, so we prefer to leave the current behaviour. <BR>We can =
live with #2 (zero-padding).<BR><BR>The worst is #1 "remove =
message-length".<BR><BR>Paolo&Patrizio<BR><BR>-----Messaggio =
originale-----<BR>Da: Carter, Jerry [mailto:jerry.carter@nuance.com] =
<BR>Inviato: mercoled=EC 19 aprile 2006 16.20<BR>A: =
speechsc@ietf.org<BR>Oggetto: RE: [Speechsc] message-length =
clarification<BR><BR>I believe that Dave Burke's order correctly =
captures the discussion.  There<BR>was a preference for removing the =
message-length entirely.<BR><BR>> -----Original Message-----<BR>> From: =
Burger, Eric [mailto:EBurger@cantata.com]<BR>> Sent: Tuesday, April 18, =
2006 5:52 PM<BR>> To: Dave Burke; Corby Anderson; Brett Gavagni<BR>> Cc: =
speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio<BR>> =
Subject: RE: [Speechsc] message-length clarification<BR>> <BR>> Any =
takers?  I'm with option 2, as that leaves things as it and is<BR>> =
workable.<BR>> <BR>> -----Original Message-----<BR>> From: Dave Burke =
[mailto:david.burke@voxpilot.com]<BR>> Sent: Monday, April 17, 2006 =
12:57 PM<BR>> To: Corby Anderson; Brett Gavagni<BR>> Cc: =
speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio<BR>> =
Subject: Re: [Speechsc] message-length clarification<BR>> <BR>> In the =
interests of rough consensus:<BR>> <BR>> o Preference for:<BR>>     - =
Remove message-length altogether<BR>> <BR>> o Can live with:<BR>>     - =
Zero-padding note (as per Sarvi's suggestion)<BR>> <BR>>  o Don't =
like:<BR>>     - message-length doesn't include start-line<BR>>     =
(because this is a half-way house with negligible value - the<BR>>      =
parser will be searching for \n anyways so why not iterate up<BR>>      =
to Content-Length)<BR>> <BR>> Dave<BR>> <BR>> ----- Original Message =
-----<BR>> From: "Brett Gavagni" <gavagni@us.ibm.com><BR>> To: "Corby =
Anderson" <corby@tellme.com><BR>> Cc: <speechsc@ietf.org>; "Shanmugham, =
Saravanan" <sarvi@cisco.com>;<BR>> "Bergallo Patrizio" =
<patrizio.bergallo@loquendo.com><BR>> Sent: Monday, April 17, 2006 3:42 =
PM<BR>> Subject: Re: [Speechsc] message-length clarification<BR>> <BR>> =
<BR>> > That was the original suggestion when I started with this =
thread<BR>> ><BR>> =
(http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html),<B=
R>> > and this suggestion wasn't  too well received.<BR>> ><BR>> > =
"Propose to modify the wording that message-length does NOT include<BR>> =
the<BR>> > start-line as an issue to track for the next draft."<BR>> =
><BR>> > So then we diverged into the defining the true value of =
the<BR>> message-length<BR>> > token, and thus the proposal for the =
removal of the message-length<BR>> token<BR>> > in its entirety.<BR>> =
><BR>> > This removal  proposal was fueled even more with the =
distinction that<BR>> the<BR>> > MRCPv2 session control is separated, =
especially since MRCPv2 messages<BR>> are<BR>> > NOT expected/described =
as tunnelled.<BR>> ><BR>> > I'd be happy if the message-length was =
modified as originally proposed<BR>> to<BR>> > NOT include the size of =
the start-line in the length, or if the<BR>> > message-length to be =
removed from the draft.<BR>> ><BR>> > IMO, anything else is a hack. =
=3D)<BR>> ><BR>> > Continue the flame roasting as necessary. =3D)<BR>> =
><BR>> > Thanks,<BR>> ><BR>> > Brett Gavagni<BR>> > WebSphere Voice =
Server Development<BR>> > =
http://www-306.ibm.com/software/pervasive/voice_server/<BR>> > =
gavagni@us.ibm.com<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > Corby Anderson =
<corby@tellme.com><BR>> > 04/14/2006 08:26 PM<BR>> ><BR>> > To<BR>> > =
Brett Gavagni/West Palm Beach/IBM@IBMUS<BR>> > cc<BR>> > "Shanmugham, =
Saravanan" <sarvi@cisco.com>, speechsc@ietf.org, Bergallo<BR>> > =
Patrizio <patrizio.bergallo@loquendo.com><BR>> > Subject<BR>> > Re: =
[Speechsc] message-length clarification<BR>> ><BR>> ><BR>> ><BR>> ><BR>> =
><BR>> ><BR>> > No, you're not the only one. :-)  It is hacky.  The size =
calculation<BR>> that<BR>> > Dave Burke posted is concise, but it's =
cumbersome.<BR>> ><BR>> > But stepping back a little, it *is* helpful to =
know the size ahead of<BR>> > time.  Since clients can share an MRCP =
control channel, it's makes the<BR>> > server's job easier if it knows =
ahead of time how many bytes will be<BR>> in a<BR>> > particular =
command.  You can imagine an implementation where a the<BR>> socket<BR>> =
> reader understands the first-line format enough to read all the =
bytes<BR>> for<BR>> > a single message into a buffer and then hand it =
off to a different<BR>> > class/function/thread for further =
processing.<BR>> ><BR>> > How about if  the length pertained to the size =
of everything *except*<BR>> the<BR>> > first line?  That would make the =
size calculation trivial and would<BR>> still<BR>> > offer the benefit =
of having the size around for parsing purposes.<BR>> ><BR>> > Corby =
Anderson<BR>> > Tellme Networks<BR>> ><BR>> > Brett Gavagni wrote:<BR>> =
> Am I the only one that thinks this suggestion for padding a fixed<BR>> =
length<BR>> > is a Band-Aid (*hack) for the real problem identified by =
this thread?<BR>> ><BR>> > Thanks,<BR>> ><BR>> > Brett Gavagni<BR>> > =
WebSphere Voice Server Development<BR>> > =
http://www-306.ibm.com/software/pervasive/voice_server/<BR>> > =
gavagni@us.ibm.com<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > "Shanmugham, =
Saravanan" <sarvi@cisco.com><BR>> > 04/14/2006 02:06 PM<BR>> ><BR>> > =
To<BR>> > "Bergallo Patrizio" <patrizio.bergallo@loquendo.com>,<BR>> =
<speechsc@ietf.org><BR>> > cc<BR>> ><BR>> > Subject<BR>> > RE: =
[Speechsc] message-length clarification<BR>> ><BR>> ><BR>> ><BR>> ><BR>> =
><BR>> ><BR>> > Pete/Bergallo,<BR>> ><BR>> > Leading spaces are illegal =
per the current ABNF definition.<BR>> > But Pete's suggestion is =
perfectly legal and makes the encoding phase<BR>> just<BR>> ><BR>> > as =
effciient.<BR>> ><BR>> > I can add this clarification/suggestion for =
implementers into the<BR>> > specification.<BR>> ><BR>> > Thx,<BR>> =
><BR>> > Sarvi<BR>> ><BR>> > From: Bergallo Patrizio =
[mailto:patrizio.bergallo@loquendo.com]<BR>> > Sent: Friday, April 14, =
2006 1:44 AM<BR>> > To: speechsc@ietf.org<BR>> > Subject: RE: [Speechsc] =
message-length clarification<BR>> ><BR>> ><BR>> > I agree that problems =
arise more on encoding side than in decoding<BR>> one.<BR>> > What about =
using leading SP, with the same purpose of leading zeros<BR>> > =
mentioned by Pete?<BR>> > Is it legal?<BR>> > Anyway, though I'm not a =
big fan of message-length field, I think that<BR>> > removing it at this =
stage of spec should be avoided.<BR>> ><BR>> > Regards,<BR>> > Patrizio =
Bergallo, Loquendo.<BR>> ><BR>> ><BR>> > -----Original Message-----<BR>> =
> From: Pete Cordell [mailto:pete@tech-know-ware.com]<BR>> > Sent: =
Friday, April 14, 2006 9:55 AM<BR>> > To: Dave Burke<BR>> > Cc: =
speechsc@ietf.org<BR>> > Subject: Re: [Speechsc] message-length =
clarification<BR>> ><BR>> ><BR>> > As someone watching from the =
sidelines, this issue about the<BR>> > representation<BR>> > of the =
length field potentially changing the value of the<BR>> > length that =
needed<BR>> > to be encoded occurred to me also.<BR>> ><BR>> > I =
wondered if you could use leading zeros in the length field<BR>> > so =
that it is<BR>> > always fixed length. e.g. in C it would be something =
like:<BR>> ><BR>> > sprintf( lstr, "%04d", len ); // Not sure if 4 is =
the right number!<BR>> ><BR>> > Messages would then look like:<BR>> =
><BR>> > MRCP/2.0 0047 543256 200 COMPLETE<BR>> > ...<BR>> ><BR>> > =
Still a bit of a gotcha though, that could lead to one of<BR>> > those =
one in a<BR>> > hundred type bugs!<BR>> ><BR>> > Regards,<BR>> ><BR>> > =
Pete.<BR>> > --<BR>> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>> > Pete =
Cordell<BR>> > Tech-Know-Ware Ltd<BR>> > for XML to C++ data binding =
visit<BR>> > http://www.tech-know-ware.com/lmx<BR>> > (or =
http://www.xml2cpp.com)<BR>> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>> ><BR>> =
> ----- Original Message -----<BR>> > From: "Dave Burke"<BR>> > To: =
"Shanmugham, Saravanan" ; "Brett Gavagni"<BR>> ><BR>> > Cc:<BR>> > Sent: =
Friday, April 14, 2006 12:39 AM<BR>> > Subject: Re: [Speechsc] =
message-length clarification<BR>> ><BR>> ><BR>> ><BR>> > Just wanted to =
insert one point that I haven't seen mentioned: The<BR>> > =
message-length makes it easier to decode but not encode.<BR>> ><BR>> > =
This is because the message-length also includes the number<BR>> ><BR>> =
> of bytes<BR>> ><BR>> > that<BR>> > specify the message-length in the =
header. The algorithm for<BR>> ><BR>> > determining<BR>> ><BR>> > the =
message-length has to add up all the bytes in the<BR>> ><BR>> > message =
to get a<BR>> ><BR>> > total (label: N), then determine the number of =
bytes to represent N<BR>> > (label: M), then check if the total N+M =
rolls over a power<BR>> ><BR>> > of 10 (if it<BR>> ><BR>> > does you =
need another byte). The value to insert for the<BR>> ><BR>> > =
message-length is<BR>> ><BR>> > not simply N+M but rather<BR>> ><BR>> > =
(N >=3D (10^M-M)) ? N+M+1 : N+M<BR>> ><BR>> > For example, if N=3D97 =
then M=3D2 and N+M=3D99=3Dmessage-length.<BR>> ><BR>> > However, if<BR>> =
><BR>> > N=3D98<BR>> > then M=3D2 but now N+M=3D100 =3D> =
message-length=3DN+M+1<BR>> ><BR>> > Sorta awkward - no?<BR>> ><BR>> > =
Dave<BR>> ><BR>> ><BR>> ><BR>> ><BR>> ><BR>> > ----- Original Message =
-----<BR>> > From: "Brett Gavagni"<BR>> > To: "Shanmugham, =
Saravanan"<BR>> > Cc:<BR>> > Sent: Thursday, April 13, 2006 1:52 PM<BR>> =
> Subject: RE: [Speechsc] message-length clarification<BR>> ><BR>> =
><BR>> > Hi Sarvi,<BR>> ><BR>> > I realize that it may be late in the =
game for addressing<BR>> ><BR>> > problems in<BR>> ><BR>> > the =
specification, but I would evangelize that its cheaper<BR>> ><BR>> > to =
pay now<BR>> ><BR>> > (potential standardization delays) than to pay =
later (poor<BR>> ><BR>> > adoption)<BR>> ><BR>> > due to convolution and =
problematic issues in the spec.<BR>> ><BR>> > Since the session control =
for MRCPv2 is separated (a la SIP, RTSP,<BR>> > etc..) and not =
tunnelled, what would be the compelling<BR>> ><BR>> > reason that =
the<BR>> ><BR>> > message-length token exist in the start-line =
especially since the<BR>> > "Content-Length" header?<BR>> ><BR>> > I'm =
now proposing the removal of the message-length token from the<BR>> > =
start-line in entirety, as it is at least redundant and<BR>> ><BR>> > =
deviating from<BR>> ><BR>> > the HTTP-like conventions leveraged =
throughout the spec.<BR>> ><BR>> > Thanks,<BR>> ><BR>> > Brett =
Gavagni<BR>> > WebSphere Voice Server Development<BR>> > =
http://www-306.ibm.com/software/pervasive/voice_server/<BR>> > =
gavagni@us.ibm.com<BR>> ><BR>> ><BR>> > ...cut...<BR>> ><BR>> ><BR>> =
><BR>> > _______________________________________________<BR>> > Speechsc =
mailing list<BR>> > Speechsc@ietf.org =
https://www1.ietf.org/mailman/listinfo/speechsc<BR>> ><BR>> ><BR>> =
><BR>> > Gruppo Telecom Italia - Direzione e coordinamento di Telecom =
Italia<BR>> S.p.A.<BR>> ><BR>> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>=
> > CONFIDENTIALITY NOTICE<BR>> > This message and its attachments are =
addressed solely to the persons<BR>> > above and may contain =
confidential information. If you have received<BR>> > the message in =
error, be informed that any use of the content hereof<BR>> > is =
prohibited. Please return it immediately to the sender and delete<BR>> > =
the message. Should you have any questions, please send an e_mail =
to<BR>> > <mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. =
Thank<BR>> you<BR>> > <http://www.loquendo.com>www.loquendo.com<BR>> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>=
> > _______________________________________________<BR>> > Speechsc =
mailing list<BR>> > Speechsc@ietf.org<BR>> > =
https://www1.ietf.org/mailman/listinfo/speechsc<BR>> ><BR>> ><BR>> =
><BR>> > _______________________________________________<BR>> > Speechsc =
mailing list<BR>> > Speechsc@ietf.org<BR>> > =
https://www1.ietf.org/mailman/listinfo/speechsc<BR>> ><BR>> ><BR>> =
><BR>> > _______________________________________________<BR>> > Speechsc =
mailing list<BR>> > Speechsc@ietf.org<BR>> > =
https://www1.ietf.org/mailman/listinfo/speechsc<BR>> ><BR>> <BR>> <BR>> =
_______________________________________________<BR>> Speechsc mailing =
list<BR>> Speechsc@ietf.org<BR>> =
https://www1.ietf.org/mailman/listinfo/speechsc<BR>> <BR>> =
_______________________________________________<BR>> Speechsc mailing =
list<BR>> Speechsc@ietf.org<BR>> =
https://www1.ietf.org/mailman/listinfo/speechsc<BR><BR>__________________=
_____________________________<BR>Speechsc mailing =
list<BR>Speechsc@ietf.org<BR>https://www1.ietf.org/mailman/listinfo/speec=
hsc<BR><BR>Gruppo=20
Telecom Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.<BR><BR><FONT=20
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR>CONFIDENTIALITY=20
NOTICE<BR>This message and its attachments are addressed solely to the=20
persons<BR>above and may contain confidential information. If you have=20
received<BR>the message in error, be informed that any use of the =
content=20
hereof<BR>is prohibited. Please return it immediately to the sender and=20
delete<BR>the message. Should you have any questions, please send an =
e_mail=20
to<BR>&lt;<A=20
href=3D"mailto:webmaster@telecomitalia.it">mailto:webmaster@telecomitalia=
.it</A>&gt;webmaster@telecomitalia.it.=20
Thank you<BR>&lt;<A=20
href=3D"http://www.loquendo.com">http://www.loquendo.com</A>&gt;www.loque=
ndo.com<BR><FONT=20
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR></P></FONT></BODY></HTML>
------=_NextPart_000_8F7A2_01C663CF.5CEEECE0--


--===============0781091083==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============0781091083==--




From speechsc-bounces@ietf.org Wed Apr 19 11:23:02 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWEWD-0000fk-06; Wed, 19 Apr 2006 11:23:01 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWEWB-0000ff-Hy
	for speechsc@ietf.org; Wed, 19 Apr 2006 11:22:59 -0400
Received: from rat01037.dc-ratingen.de ([195.233.129.142])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWEW9-00008j-1B
	for speechsc@ietf.org; Wed, 19 Apr 2006 11:22:59 -0400
Received: from rat01047.dc-ratingen.de (rat01047_e0 [195.233.128.119])
	by rat01037.dc-ratingen.de (Switch-3.1.4/Switch-3.1.0) with ESMTP id
	k3JFMsZJ022525; Wed, 19 Apr 2006 17:22:54 +0200 (MEST)
Received: from gpsmxr04.gps.internal.vodafone.com ([195.232.231.115])
	by rat01047.dc-ratingen.de (Switch-3.1.4/Switch-3.1.0) with ESMTP id
	k3JFMsf0010076; Wed, 19 Apr 2006 17:22:54 +0200 (MEST)
Received: from gpsmx03.gps.internal.vodafone.com ([145.230.32.87]) by
	gpsmxr04.gps.internal.vodafone.com with Microsoft
	SMTPSVC(6.0.3790.1830); Wed, 19 Apr 2006 17:22:56 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Speechsc] message-length clarification
Date: Wed, 19 Apr 2006 17:21:54 +0200
Message-ID: <16E4AA16FE40084A8478DBC0194B243A25C4CD@gpsmx03.gps.internal.vodafone.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] message-length clarification
Thread-Index: AcZjvG2en4pYBsz2TBO++8RBayn6fgAAJXygAAEsreA=
From: "Reifenrath, Klaus, VF-Group" <Klaus.Reifenrath@vodafone.com>
To: "Baggia Paolo" <paolo.baggia@loquendo.com>,
	"Carter, Jerry" <jerry.carter@nuance.com>, <speechsc@ietf.org>
X-OriginalArrivalTime: 19 Apr 2006 15:22:56.0829 (UTC)
	FILETIME=[22AFC6D0:01C663C5]
X-Spam-Score: 1.3 (+)
X-Scan-Signature: dca2c88691a8375e57f430691ee256fd
Cc: Bergallo Patrizio <patrizio.bergallo@loquendo.com>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1639395430=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1639395430==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C663C5.22224D59"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C663C5.22224D59
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am very much in favor to remove the message length from the startline, =
because it is not very useful.=20
=20
For a similar discussion (that took place quite some time ago!) please =
see =
http://www1.ietf.org/mail-archive/web/speechsc/current/msg00690.html.
If we change the startline please let us revisit this as well!
=20
Regards,
Klaus


________________________________

	From: Baggia Paolo [mailto:paolo.baggia@loquendo.com]=20
	Sent: Mittwoch, 19. April 2006 16:36
	To: Carter, Jerry; speechsc@ietf.org
	Cc: Bergallo Patrizio
	Subject: R: [Speechsc] message-length clarification
=09
=09
	=20
	Jerry,
=09
	with reference to Eric Burger's e-mail
	"[Speechsc] Finishing in Our Lifetime", in our opinion,
	this issue is not a Priority 1 or Priority 2 one.
=09
	Our preference is to be conservative as much as is=20
	possible, so we prefer to leave the current behaviour.=20
	We can live with #2 (zero-padding).
=09
	The worst is #1 "remove message-length".
=09
	Paolo&Patrizio
=09
	-----Messaggio originale-----
	Da: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
	Inviato: mercoled=EC 19 aprile 2006 16.20
	A: speechsc@ietf.org
	Oggetto: RE: [Speechsc] message-length clarification
=09
	I believe that Dave Burke's order correctly captures the discussion. =
There
	was a preference for removing the message-length entirely.
=09
	> -----Original Message-----
	> From: Burger, Eric [mailto:EBurger@cantata.com]
	> Sent: Tuesday, April 18, 2006 5:52 PM
	> To: Dave Burke; Corby Anderson; Brett Gavagni
	> Cc: speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio
	> Subject: RE: [Speechsc] message-length clarification
	>=20
	> Any takers? I'm with option 2, as that leaves things as it and is
	> workable.
	>=20
	> -----Original Message-----
	> From: Dave Burke [mailto:david.burke@voxpilot.com]
	> Sent: Monday, April 17, 2006 12:57 PM
	> To: Corby Anderson; Brett Gavagni
	> Cc: speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio
	> Subject: Re: [Speechsc] message-length clarification
	>=20
	> In the interests of rough consensus:
	>=20
	> o Preference for:
	> - Remove message-length altogether
	>=20
	> o Can live with:
	> - Zero-padding note (as per Sarvi's suggestion)
	>=20
	> o Don't like:
	> - message-length doesn't include start-line
	> (because this is a half-way house with negligible value - the
	> parser will be searching for \n anyways so why not iterate up
	> to Content-Length)
	>=20
	> Dave
	>=20
	> ----- Original Message -----
	> From: "Brett Gavagni"=20
	> To: "Corby Anderson"=20
	> Cc: ; "Shanmugham, Saravanan" ;
	> "Bergallo Patrizio"=20
	> Sent: Monday, April 17, 2006 3:42 PM
	> Subject: Re: [Speechsc] message-length clarification
	>=20
	>=20
	> > That was the original suggestion when I started with this thread
	> >
	> =
(http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html),
	> > and this suggestion wasn't too well received.
	> >
	> > "Propose to modify the wording that message-length does NOT include
	> the
	> > start-line as an issue to track for the next draft."
	> >
	> > So then we diverged into the defining the true value of the
	> message-length
	> > token, and thus the proposal for the removal of the message-length
	> token
	> > in its entirety.
	> >
	> > This removal proposal was fueled even more with the distinction =
that
	> the
	> > MRCPv2 session control is separated, especially since MRCPv2 =
messages
	> are
	> > NOT expected/described as tunnelled.
	> >
	> > I'd be happy if the message-length was modified as originally =
proposed
	> to
	> > NOT include the size of the start-line in the length, or if the
	> > message-length to be removed from the draft.
	> >
	> > IMO, anything else is a hack. =3D)
	> >
	> > Continue the flame roasting as necessary. =3D)
	> >
	> > Thanks,
	> >
	> > Brett Gavagni
	> > WebSphere Voice Server Development
	> > http://www-306.ibm.com/software/pervasive/voice_server/
	> > gavagni@us.ibm.com
	> >
	> >
	> >
	> >
	> > Corby Anderson=20
	> > 04/14/2006 08:26 PM
	> >
	> > To
	> > Brett Gavagni/West Palm Beach/IBM@IBMUS
	> > cc
	> > "Shanmugham, Saravanan" , speechsc@ietf.org, Bergallo
	> > Patrizio=20
	> > Subject
	> > Re: [Speechsc] message-length clarification
	> >
	> >
	> >
	> >
	> >
	> >
	> > No, you're not the only one. :-) It is hacky. The size calculation
	> that
	> > Dave Burke posted is concise, but it's cumbersome.
	> >
	> > But stepping back a little, it *is* helpful to know the size ahead =
of
	> > time. Since clients can share an MRCP control channel, it's makes =
the
	> > server's job easier if it knows ahead of time how many bytes will =
be
	> in a
	> > particular command. You can imagine an implementation where a the
	> socket
	> > reader understands the first-line format enough to read all the =
bytes
	> for
	> > a single message into a buffer and then hand it off to a different
	> > class/function/thread for further processing.
	> >
	> > How about if the length pertained to the size of everything =
*except*
	> the
	> > first line? That would make the size calculation trivial and would
	> still
	> > offer the benefit of having the size around for parsing purposes.
	> >
	> > Corby Anderson
	> > Tellme Networks
	> >
	> > Brett Gavagni wrote:
	> > Am I the only one that thinks this suggestion for padding a fixed
	> length
	> > is a Band-Aid (*hack) for the real problem identified by this =
thread?
	> >
	> > Thanks,
	> >
	> > Brett Gavagni
	> > WebSphere Voice Server Development
	> > http://www-306.ibm.com/software/pervasive/voice_server/
	> > gavagni@us.ibm.com
	> >
	> >
	> >
	> >
	> > "Shanmugham, Saravanan"=20
	> > 04/14/2006 02:06 PM
	> >
	> > To
	> > "Bergallo Patrizio" ,
	>=20
	> > cc
	> >
	> > Subject
	> > RE: [Speechsc] message-length clarification
	> >
	> >
	> >
	> >
	> >
	> >
	> > Pete/Bergallo,
	> >
	> > Leading spaces are illegal per the current ABNF definition.
	> > But Pete's suggestion is perfectly legal and makes the encoding =
phase
	> just
	> >
	> > as effciient.
	> >
	> > I can add this clarification/suggestion for implementers into the
	> > specification.
	> >
	> > Thx,
	> >
	> > Sarvi
	> >
	> > From: Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com]
	> > Sent: Friday, April 14, 2006 1:44 AM
	> > To: speechsc@ietf.org
	> > Subject: RE: [Speechsc] message-length clarification
	> >
	> >
	> > I agree that problems arise more on encoding side than in decoding
	> one.
	> > What about using leading SP, with the same purpose of leading zeros
	> > mentioned by Pete?
	> > Is it legal?
	> > Anyway, though I'm not a big fan of message-length field, I think =
that
	> > removing it at this stage of spec should be avoided.
	> >
	> > Regards,
	> > Patrizio Bergallo, Loquendo.
	> >
	> >
	> > -----Original Message-----
	> > From: Pete Cordell [mailto:pete@tech-know-ware.com]
	> > Sent: Friday, April 14, 2006 9:55 AM
	> > To: Dave Burke
	> > Cc: speechsc@ietf.org
	> > Subject: Re: [Speechsc] message-length clarification
	> >
	> >
	> > As someone watching from the sidelines, this issue about the
	> > representation
	> > of the length field potentially changing the value of the
	> > length that needed
	> > to be encoded occurred to me also.
	> >
	> > I wondered if you could use leading zeros in the length field
	> > so that it is
	> > always fixed length. e.g. in C it would be something like:
	> >
	> > sprintf( lstr, "%04d", len ); // Not sure if 4 is the right number!
	> >
	> > Messages would then look like:
	> >
	> > MRCP/2.0 0047 543256 200 COMPLETE
	> > ...
	> >
	> > Still a bit of a gotcha though, that could lead to one of
	> > those one in a
	> > hundred type bugs!
	> >
	> > Regards,
	> >
	> > Pete.
	> > --
	> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
	> > Pete Cordell
	> > Tech-Know-Ware Ltd
	> > for XML to C++ data binding visit
	> > http://www.tech-know-ware.com/lmx
	> > (or http://www.xml2cpp.com)
	> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
	> >
	> > ----- Original Message -----
	> > From: "Dave Burke"
	> > To: "Shanmugham, Saravanan" ; "Brett Gavagni"
	> >
	> > Cc:
	> > Sent: Friday, April 14, 2006 12:39 AM
	> > Subject: Re: [Speechsc] message-length clarification
	> >
	> >
	> >
	> > Just wanted to insert one point that I haven't seen mentioned: The
	> > message-length makes it easier to decode but not encode.
	> >
	> > This is because the message-length also includes the number
	> >
	> > of bytes
	> >
	> > that
	> > specify the message-length in the header. The algorithm for
	> >
	> > determining
	> >
	> > the message-length has to add up all the bytes in the
	> >
	> > message to get a
	> >
	> > total (label: N), then determine the number of bytes to represent N
	> > (label: M), then check if the total N+M rolls over a power
	> >
	> > of 10 (if it
	> >
	> > does you need another byte). The value to insert for the
	> >
	> > message-length is
	> >
	> > not simply N+M but rather
	> >
	> > (N >=3D (10^M-M)) ? N+M+1 : N+M
	> >
	> > For example, if N=3D97 then M=3D2 and N+M=3D99=3Dmessage-length.
	> >
	> > However, if
	> >
	> > N=3D98
	> > then M=3D2 but now N+M=3D100 =3D> message-length=3DN+M+1
	> >
	> > Sorta awkward - no?
	> >
	> > Dave
	> >
	> >
	> >
	> >
	> >
	> > ----- Original Message -----
	> > From: "Brett Gavagni"
	> > To: "Shanmugham, Saravanan"
	> > Cc:
	> > Sent: Thursday, April 13, 2006 1:52 PM
	> > Subject: RE: [Speechsc] message-length clarification
	> >
	> >
	> > Hi Sarvi,
	> >
	> > I realize that it may be late in the game for addressing
	> >
	> > problems in
	> >
	> > the specification, but I would evangelize that its cheaper
	> >
	> > to pay now
	> >
	> > (potential standardization delays) than to pay later (poor
	> >
	> > adoption)
	> >
	> > due to convolution and problematic issues in the spec.
	> >
	> > Since the session control for MRCPv2 is separated (a la SIP, RTSP,
	> > etc..) and not tunnelled, what would be the compelling
	> >
	> > reason that the
	> >
	> > message-length token exist in the start-line especially since the
	> > "Content-Length" header?
	> >
	> > I'm now proposing the removal of the message-length token from the
	> > start-line in entirety, as it is at least redundant and
	> >
	> > deviating from
	> >
	> > the HTTP-like conventions leveraged throughout the spec.
	> >
	> > Thanks,
	> >
	> > Brett Gavagni
	> > WebSphere Voice Server Development
	> > http://www-306.ibm.com/software/pervasive/voice_server/
	> > gavagni@us.ibm.com
	> >
	> >
	> > ...cut...
	> >
	> >
	> >
	> > _______________________________________________
	> > Speechsc mailing list
	> > Speechsc@ietf.org https://www1.ietf.org/mailman/listinfo/speechsc
	> >
	> >
	> >
	> > Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia
	> S.p.A.
	> >
	> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
	> > CONFIDENTIALITY NOTICE
	> > This message and its attachments are addressed solely to the =
persons
	> > above and may contain confidential information. If you have =
received
	> > the message in error, be informed that any use of the content =
hereof
	> > is prohibited. Please return it immediately to the sender and =
delete
	> > the message. Should you have any questions, please send an e_mail =
to
	> > webmaster@telecomitalia.it. Thank
	> you
	> > www.loquendo.com
	> > =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
	> > _______________________________________________
	> > Speechsc mailing list
	> > Speechsc@ietf.org
	> > https://www1.ietf.org/mailman/listinfo/speechsc
	> >
	> >
	> >
	> > _______________________________________________
	> > Speechsc mailing list
	> > Speechsc@ietf.org
	> > https://www1.ietf.org/mailman/listinfo/speechsc
	> >
	> >
	> >
	> > _______________________________________________
	> > Speechsc mailing list
	> > Speechsc@ietf.org
	> > https://www1.ietf.org/mailman/listinfo/speechsc
	> >
	>=20
	>=20
	> _______________________________________________
	> Speechsc mailing list
	> Speechsc@ietf.org
	> https://www1.ietf.org/mailman/listinfo/speechsc
	>=20
	> _______________________________________________
	> Speechsc mailing list
	> Speechsc@ietf.org
	> https://www1.ietf.org/mailman/listinfo/speechsc
=09
	_______________________________________________
	Speechsc mailing list
	Speechsc@ietf.org
	https://www1.ietf.org/mailman/listinfo/speechsc
=09
	Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.
=09
	=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
	CONFIDENTIALITY NOTICE
	This message and its attachments are addressed solely to the persons
	above and may contain confidential information. If you have received
	the message in error, be informed that any use of the content hereof
	is prohibited. Please return it immediately to the sender and delete
	the message. Should you have any questions, please send an e_mail to
	<mailto:webmaster@telecomitalia.it>webmaster@telecomitalia.it. Thank =
you
	<http://www.loquendo.com>www.loquendo.com
	=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=09

=09


------_=_NextPart_001_01C663C5.22224D59
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D437265814-19042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>I am very much in favor to remove the message =
length from=20
the startline, because it is not very useful. </FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D437265814-19042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D437265814-19042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>For a similar discussion (that took place quite =
some time=20
ago!)&nbsp;please see <A=20
href=3D"http://www1.ietf.org/mail-archive/web/speechsc/current/msg00690.h=
tml">http://www1.ietf.org/mail-archive/web/speechsc/current/msg00690.html=
</A>.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D437265814-19042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>If we change the startline please let us =
revisit this as=20
well!</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D437265814-19042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D437265814-19042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Regards,</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D437265814-19042006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Klaus</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Baggia Paolo=20
  [mailto:paolo.baggia@loquendo.com] <BR><B>Sent:</B> Mittwoch, 19. =
April 2006=20
  16:36<BR><B>To:</B> Carter, Jerry; speechsc@ietf.org<BR><B>Cc:</B> =
Bergallo=20
  Patrizio<BR><B>Subject:</B> R: [Speechsc] message-length=20
  clarification<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>&nbsp;</DIV>Jerry,<BR><BR>with reference to Eric Burger's=20
  e-mail<BR>"[Speechsc] Finishing in Our Lifetime", in our =
opinion,<BR>this=20
  issue is not a Priority 1 or Priority 2 one.<BR><BR>Our preference is =
to be=20
  conservative as much as is <BR>possible, so we prefer to leave the =
current=20
  behaviour. <BR>We can live with #2 (zero-padding).<BR><BR>The worst is =
#1=20
  "remove =
message-length".<BR><BR>Paolo&amp;Patrizio<BR><BR>-----Messaggio=20
  originale-----<BR>Da: Carter, Jerry [mailto:jerry.carter@nuance.com]=20
  <BR>Inviato: mercoled=EC 19 aprile 2006 16.20<BR>A:=20
  speechsc@ietf.org<BR>Oggetto: RE: [Speechsc] message-length=20
  clarification<BR><BR>I believe that Dave Burke's order correctly =
captures the=20
  discussion. There<BR>was a preference for removing the message-length=20
  entirely.<BR><BR>&gt; -----Original Message-----<BR>&gt; From: Burger, =
Eric=20
  [mailto:EBurger@cantata.com]<BR>&gt; Sent: Tuesday, April 18, 2006 =
5:52=20
  PM<BR>&gt; To: Dave Burke; Corby Anderson; Brett Gavagni<BR>&gt; Cc:=20
  speechsc@ietf.org; Shanmugham, Saravanan; Bergallo Patrizio<BR>&gt; =
Subject:=20
  RE: [Speechsc] message-length clarification<BR>&gt; <BR>&gt; Any =
takers? I'm=20
  with option 2, as that leaves things as it and is<BR>&gt; =
workable.<BR>&gt;=20
  <BR>&gt; -----Original Message-----<BR>&gt; From: Dave Burke=20
  [mailto:david.burke@voxpilot.com]<BR>&gt; Sent: Monday, April 17, 2006 =
12:57=20
  PM<BR>&gt; To: Corby Anderson; Brett Gavagni<BR>&gt; Cc: =
speechsc@ietf.org;=20
  Shanmugham, Saravanan; Bergallo Patrizio<BR>&gt; Subject: Re: =
[Speechsc]=20
  message-length clarification<BR>&gt; <BR>&gt; In the interests of =
rough=20
  consensus:<BR>&gt; <BR>&gt; o Preference for:<BR>&gt; - Remove =
message-length=20
  altogether<BR>&gt; <BR>&gt; o Can live with:<BR>&gt; - Zero-padding =
note (as=20
  per Sarvi's suggestion)<BR>&gt; <BR>&gt; o Don't like:<BR>&gt; -=20
  message-length doesn't include start-line<BR>&gt; (because this is a =
half-way=20
  house with negligible value - the<BR>&gt; parser will be searching for =
\n=20
  anyways so why not iterate up<BR>&gt; to Content-Length)<BR>&gt; =
<BR>&gt;=20
  Dave<BR>&gt; <BR>&gt; ----- Original Message -----<BR>&gt; From: =
"Brett=20
  Gavagni" <GAVAGNI@US.IBM.COM><BR>&gt; To: "Corby Anderson"=20
  <CORBY@TELLME.COM><BR>&gt; Cc: <SPEECHSC@IETF.ORG>; "Shanmugham, =
Saravanan"=20
  <SARVI@CISCO.COM>;<BR>&gt; "Bergallo Patrizio"=20
  <PATRIZIO.BERGALLO@LOQUENDO.COM><BR>&gt; Sent: Monday, April 17, 2006 =
3:42=20
  PM<BR>&gt; Subject: Re: [Speechsc] message-length =
clarification<BR>&gt;=20
  <BR>&gt; <BR>&gt; &gt; That was the original suggestion when I started =
with=20
  this thread<BR>&gt; &gt;<BR>&gt;=20
  =
(http://www1.ietf.org/mail-archive/web/speechsc/current/msg01722.html),<B=
R>&gt;=20
  &gt; and this suggestion wasn't too well received.<BR>&gt; =
&gt;<BR>&gt; &gt;=20
  "Propose to modify the wording that message-length does NOT =
include<BR>&gt;=20
  the<BR>&gt; &gt; start-line as an issue to track for the next =
draft."<BR>&gt;=20
  &gt;<BR>&gt; &gt; So then we diverged into the defining the true value =
of=20
  the<BR>&gt; message-length<BR>&gt; &gt; token, and thus the proposal =
for the=20
  removal of the message-length<BR>&gt; token<BR>&gt; &gt; in its=20
  entirety.<BR>&gt; &gt;<BR>&gt; &gt; This removal proposal was fueled =
even more=20
  with the distinction that<BR>&gt; the<BR>&gt; &gt; MRCPv2 session =
control is=20
  separated, especially since MRCPv2 messages<BR>&gt; are<BR>&gt; &gt; =
NOT=20
  expected/described as tunnelled.<BR>&gt; &gt;<BR>&gt; &gt; I'd be =
happy if the=20
  message-length was modified as originally proposed<BR>&gt; to<BR>&gt; =
&gt; NOT=20
  include the size of the start-line in the length, or if the<BR>&gt; =
&gt;=20
  message-length to be removed from the draft.<BR>&gt; &gt;<BR>&gt; &gt; =
IMO,=20
  anything else is a hack. =3D)<BR>&gt; &gt;<BR>&gt; &gt; Continue the =
flame=20
  roasting as necessary. =3D)<BR>&gt; &gt;<BR>&gt; &gt; Thanks,<BR>&gt;=20
  &gt;<BR>&gt; &gt; Brett Gavagni<BR>&gt; &gt; WebSphere Voice Server=20
  Development<BR>&gt; &gt;=20
  http://www-306.ibm.com/software/pervasive/voice_server/<BR>&gt; &gt;=20
  gavagni@us.ibm.com<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; Corby Anderson <CORBY@TELLME.COM><BR>&gt; &gt; 04/14/2006 08:26=20
  PM<BR>&gt; &gt;<BR>&gt; &gt; To<BR>&gt; &gt; Brett Gavagni/West Palm=20
  Beach/IBM@IBMUS<BR>&gt; &gt; cc<BR>&gt; &gt; "Shanmugham, Saravanan"=20
  <SARVI@CISCO.COM>, speechsc@ietf.org, Bergallo<BR>&gt; &gt; Patrizio=20
  <PATRIZIO.BERGALLO@LOQUENDO.COM><BR>&gt; &gt; Subject<BR>&gt; &gt; Re: =

  [Speechsc] message-length clarification<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; No, you're =
not the=20
  only one. :-) It is hacky. The size calculation<BR>&gt; that<BR>&gt; =
&gt; Dave=20
  Burke posted is concise, but it's cumbersome.<BR>&gt; &gt;<BR>&gt; =
&gt; But=20
  stepping back a little, it *is* helpful to know the size ahead =
of<BR>&gt; &gt;=20
  time. Since clients can share an MRCP control channel, it's makes =
the<BR>&gt;=20
  &gt; server's job easier if it knows ahead of time how many bytes will =

  be<BR>&gt; in a<BR>&gt; &gt; particular command. You can imagine an=20
  implementation where a the<BR>&gt; socket<BR>&gt; &gt; reader =
understands the=20
  first-line format enough to read all the bytes<BR>&gt; for<BR>&gt; =
&gt; a=20
  single message into a buffer and then hand it off to a =
different<BR>&gt; &gt;=20
  class/function/thread for further processing.<BR>&gt; &gt;<BR>&gt; =
&gt; How=20
  about if the length pertained to the size of everything =
*except*<BR>&gt;=20
  the<BR>&gt; &gt; first line? That would make the size calculation =
trivial and=20
  would<BR>&gt; still<BR>&gt; &gt; offer the benefit of having the size =
around=20
  for parsing purposes.<BR>&gt; &gt;<BR>&gt; &gt; Corby Anderson<BR>&gt; =
&gt;=20
  Tellme Networks<BR>&gt; &gt;<BR>&gt; &gt; Brett Gavagni wrote:<BR>&gt; =
&gt; Am=20
  I the only one that thinks this suggestion for padding a fixed<BR>&gt; =

  length<BR>&gt; &gt; is a Band-Aid (*hack) for the real problem =
identified by=20
  this thread?<BR>&gt; &gt;<BR>&gt; &gt; Thanks,<BR>&gt; &gt;<BR>&gt; =
&gt; Brett=20
  Gavagni<BR>&gt; &gt; WebSphere Voice Server Development<BR>&gt; &gt;=20
  http://www-306.ibm.com/software/pervasive/voice_server/<BR>&gt; &gt;=20
  gavagni@us.ibm.com<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; "Shanmugham, Saravanan" <SARVI@CISCO.COM><BR>&gt; &gt; 04/14/2006 =
02:06=20
  PM<BR>&gt; &gt;<BR>&gt; &gt; To<BR>&gt; &gt; "Bergallo Patrizio"=20
  <PATRIZIO.BERGALLO@LOQUENDO.COM>,<BR>&gt; <SPEECHSC@IETF.ORG><BR>&gt; =
&gt;=20
  cc<BR>&gt; &gt;<BR>&gt; &gt; Subject<BR>&gt; &gt; RE: [Speechsc]=20
  message-length clarification<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Pete/Bergallo,<BR>&gt;=20
  &gt;<BR>&gt; &gt; Leading spaces are illegal per the current ABNF=20
  definition.<BR>&gt; &gt; But Pete's suggestion is perfectly legal and =
makes=20
  the encoding phase<BR>&gt; just<BR>&gt; &gt;<BR>&gt; &gt; as=20
  effciient.<BR>&gt; &gt;<BR>&gt; &gt; I can add this =
clarification/suggestion=20
  for implementers into the<BR>&gt; &gt; specification.<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; Thx,<BR>&gt; &gt;<BR>&gt; &gt; Sarvi<BR>&gt; &gt;<BR>&gt; &gt; =
From:=20
  Bergallo Patrizio [mailto:patrizio.bergallo@loquendo.com]<BR>&gt; &gt; =
Sent:=20
  Friday, April 14, 2006 1:44 AM<BR>&gt; &gt; To: =
speechsc@ietf.org<BR>&gt; &gt;=20
  Subject: RE: [Speechsc] message-length clarification<BR>&gt; =
&gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt; I agree that problems arise more on encoding side =
than in=20
  decoding<BR>&gt; one.<BR>&gt; &gt; What about using leading SP, with =
the same=20
  purpose of leading zeros<BR>&gt; &gt; mentioned by Pete?<BR>&gt; &gt; =
Is it=20
  legal?<BR>&gt; &gt; Anyway, though I'm not a big fan of message-length =
field,=20
  I think that<BR>&gt; &gt; removing it at this stage of spec should be=20
  avoided.<BR>&gt; &gt;<BR>&gt; &gt; Regards,<BR>&gt; &gt; Patrizio =
Bergallo,=20
  Loquendo.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; -----Original=20
  Message-----<BR>&gt; &gt; From: Pete Cordell=20
  [mailto:pete@tech-know-ware.com]<BR>&gt; &gt; Sent: Friday, April 14, =
2006=20
  9:55 AM<BR>&gt; &gt; To: Dave Burke<BR>&gt; &gt; Cc: =
speechsc@ietf.org<BR>&gt;=20
  &gt; Subject: Re: [Speechsc] message-length clarification<BR>&gt; =
&gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt; As someone watching from the sidelines, this issue =
about=20
  the<BR>&gt; &gt; representation<BR>&gt; &gt; of the length field =
potentially=20
  changing the value of the<BR>&gt; &gt; length that needed<BR>&gt; &gt; =
to be=20
  encoded occurred to me also.<BR>&gt; &gt;<BR>&gt; &gt; I wondered if =
you could=20
  use leading zeros in the length field<BR>&gt; &gt; so that it =
is<BR>&gt; &gt;=20
  always fixed length. e.g. in C it would be something like:<BR>&gt;=20
  &gt;<BR>&gt; &gt; sprintf( lstr, "%04d", len ); // Not sure if 4 is =
the right=20
  number!<BR>&gt; &gt;<BR>&gt; &gt; Messages would then look =
like:<BR>&gt;=20
  &gt;<BR>&gt; &gt; MRCP/2.0 0047 543256 200 COMPLETE<BR>&gt; &gt; =
...<BR>&gt;=20
  &gt;<BR>&gt; &gt; Still a bit of a gotcha though, that could lead to =
one=20
  of<BR>&gt; &gt; those one in a<BR>&gt; &gt; hundred type bugs!<BR>&gt; =

  &gt;<BR>&gt; &gt; Regards,<BR>&gt; &gt;<BR>&gt; &gt; Pete.<BR>&gt; =
&gt;=20
  --<BR>&gt; &gt; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>&gt; =
&gt;=20
  Pete Cordell<BR>&gt; &gt; Tech-Know-Ware Ltd<BR>&gt; &gt; for XML to =
C++ data=20
  binding visit<BR>&gt; &gt; http://www.tech-know-ware.com/lmx<BR>&gt; =
&gt; (or=20
  http://www.xml2cpp.com)<BR>&gt; &gt;=20
  =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>&gt; =
&gt;<BR>&gt; &gt; -----=20
  Original Message -----<BR>&gt; &gt; From: "Dave Burke"<BR>&gt; &gt; =
To:=20
  "Shanmugham, Saravanan" ; "Brett Gavagni"<BR>&gt; &gt;<BR>&gt; &gt;=20
  Cc:<BR>&gt; &gt; Sent: Friday, April 14, 2006 12:39 AM<BR>&gt; &gt; =
Subject:=20
  Re: [Speechsc] message-length clarification<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt; Just wanted to insert one point that I haven't seen=20
  mentioned: The<BR>&gt; &gt; message-length makes it easier to decode =
but not=20
  encode.<BR>&gt; &gt;<BR>&gt; &gt; This is because the message-length =
also=20
  includes the number<BR>&gt; &gt;<BR>&gt; &gt; of bytes<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; that<BR>&gt; &gt; specify the message-length in the header. The =
algorithm=20
  for<BR>&gt; &gt;<BR>&gt; &gt; determining<BR>&gt; &gt;<BR>&gt; &gt; =
the=20
  message-length has to add up all the bytes in the<BR>&gt; &gt;<BR>&gt; =
&gt;=20
  message to get a<BR>&gt; &gt;<BR>&gt; &gt; total (label: N), then =
determine=20
  the number of bytes to represent N<BR>&gt; &gt; (label: M), then check =
if the=20
  total N+M rolls over a power<BR>&gt; &gt;<BR>&gt; &gt; of 10 (if =
it<BR>&gt;=20
  &gt;<BR>&gt; &gt; does you need another byte). The value to insert for =

  the<BR>&gt; &gt;<BR>&gt; &gt; message-length is<BR>&gt; &gt;<BR>&gt; =
&gt; not=20
  simply N+M but rather<BR>&gt; &gt;<BR>&gt; &gt; (N &gt;=3D (10^M-M)) ? =
N+M+1 :=20
  N+M<BR>&gt; &gt;<BR>&gt; &gt; For example, if N=3D97 then M=3D2 and=20
  N+M=3D99=3Dmessage-length.<BR>&gt; &gt;<BR>&gt; &gt; However, =
if<BR>&gt;=20
  &gt;<BR>&gt; &gt; N=3D98<BR>&gt; &gt; then M=3D2 but now N+M=3D100 =
=3D&gt;=20
  message-length=3DN+M+1<BR>&gt; &gt;<BR>&gt; &gt; Sorta awkward - =
no?<BR>&gt;=20
  &gt;<BR>&gt; &gt; Dave<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt;<BR>&gt; &gt; ----- Original Message -----<BR>&gt; =
&gt; From:=20
  "Brett Gavagni"<BR>&gt; &gt; To: "Shanmugham, Saravanan"<BR>&gt; &gt;=20
  Cc:<BR>&gt; &gt; Sent: Thursday, April 13, 2006 1:52 PM<BR>&gt; &gt; =
Subject:=20
  RE: [Speechsc] message-length clarification<BR>&gt; &gt;<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; Hi Sarvi,<BR>&gt; &gt;<BR>&gt; &gt; I realize that it may be late =
in the=20
  game for addressing<BR>&gt; &gt;<BR>&gt; &gt; problems in<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; the specification, but I would evangelize that its =
cheaper<BR>&gt;=20
  &gt;<BR>&gt; &gt; to pay now<BR>&gt; &gt;<BR>&gt; &gt; (potential=20
  standardization delays) than to pay later (poor<BR>&gt; &gt;<BR>&gt; =
&gt;=20
  adoption)<BR>&gt; &gt;<BR>&gt; &gt; due to convolution and problematic =
issues=20
  in the spec.<BR>&gt; &gt;<BR>&gt; &gt; Since the session control for =
MRCPv2 is=20
  separated (a la SIP, RTSP,<BR>&gt; &gt; etc..) and not tunnelled, what =
would=20
  be the compelling<BR>&gt; &gt;<BR>&gt; &gt; reason that the<BR>&gt;=20
  &gt;<BR>&gt; &gt; message-length token exist in the start-line =
especially=20
  since the<BR>&gt; &gt; "Content-Length" header?<BR>&gt; &gt;<BR>&gt; =
&gt; I'm=20
  now proposing the removal of the message-length token from the<BR>&gt; =
&gt;=20
  start-line in entirety, as it is at least redundant and<BR>&gt; =
&gt;<BR>&gt;=20
  &gt; deviating from<BR>&gt; &gt;<BR>&gt; &gt; the HTTP-like =
conventions=20
  leveraged throughout the spec.<BR>&gt; &gt;<BR>&gt; &gt; =
Thanks,<BR>&gt;=20
  &gt;<BR>&gt; &gt; Brett Gavagni<BR>&gt; &gt; WebSphere Voice Server=20
  Development<BR>&gt; &gt;=20
  http://www-306.ibm.com/software/pervasive/voice_server/<BR>&gt; &gt;=20
  gavagni@us.ibm.com<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; =
...cut...<BR>&gt;=20
  &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;=20
  _______________________________________________<BR>&gt; &gt; Speechsc =
mailing=20
  list<BR>&gt; &gt; Speechsc@ietf.org=20
  https://www1.ietf.org/mailman/listinfo/speechsc<BR>&gt; &gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt;<BR>&gt; &gt; Gruppo Telecom Italia - Direzione e=20
  coordinamento di Telecom Italia<BR>&gt; S.p.A.<BR>&gt; &gt;<BR>&gt; =
&gt;=20
  =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>=
&gt; &gt; CONFIDENTIALITY=20
  NOTICE<BR>&gt; &gt; This message and its attachments are addressed =
solely to=20
  the persons<BR>&gt; &gt; above and may contain confidential =
information. If=20
  you have received<BR>&gt; &gt; the message in error, be informed that =
any use=20
  of the content hereof<BR>&gt; &gt; is prohibited. Please return it =
immediately=20
  to the sender and delete<BR>&gt; &gt; the message. Should you have any =

  questions, please send an e_mail to<BR>&gt; &gt;=20
  <MAILTO:WEBMASTER@TELECOMITALIA.IT>webmaster@telecomitalia.it. =
Thank<BR>&gt;=20
  you<BR>&gt; &gt; <HTTP: www.loquendo.com>www.loquendo.com<BR>&gt; &gt; =

  =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>=
&gt; &gt;=20
  _______________________________________________<BR>&gt; &gt; Speechsc =
mailing=20
  list<BR>&gt; &gt; Speechsc@ietf.org<BR>&gt; &gt;=20
  https://www1.ietf.org/mailman/listinfo/speechsc<BR>&gt; &gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt;<BR>&gt; &gt;=20
  _______________________________________________<BR>&gt; &gt; Speechsc =
mailing=20
  list<BR>&gt; &gt; Speechsc@ietf.org<BR>&gt; &gt;=20
  https://www1.ietf.org/mailman/listinfo/speechsc<BR>&gt; &gt;<BR>&gt;=20
  &gt;<BR>&gt; &gt;<BR>&gt; &gt;=20
  _______________________________________________<BR>&gt; &gt; Speechsc =
mailing=20
  list<BR>&gt; &gt; Speechsc@ietf.org<BR>&gt; &gt;=20
  https://www1.ietf.org/mailman/listinfo/speechsc<BR>&gt; &gt;<BR>&gt; =
<BR>&gt;=20
  <BR>&gt; _______________________________________________<BR>&gt; =
Speechsc=20
  mailing list<BR>&gt; Speechsc@ietf.org<BR>&gt;=20
  https://www1.ietf.org/mailman/listinfo/speechsc<BR>&gt; <BR>&gt;=20
  _______________________________________________<BR>&gt; Speechsc =
mailing=20
  list<BR>&gt; Speechsc@ietf.org<BR>&gt;=20
  =
https://www1.ietf.org/mailman/listinfo/speechsc<BR><BR>__________________=
_____________________________<BR>Speechsc=20
  mailing=20
  =
list<BR>Speechsc@ietf.org<BR>https://www1.ietf.org/mailman/listinfo/speec=
hsc<BR><BR>Gruppo=20
  Telecom Italia - Direzione e coordinamento di Telecom Italia=20
  S.p.A.<BR><BR><FONT=20
  =
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR>CONFIDENTIALITY=20
  NOTICE<BR>This message and its attachments are addressed solely to the =

  persons<BR>above and may contain confidential information. If you have =

  received<BR>the message in error, be informed that any use of the =
content=20
  hereof<BR>is prohibited. Please return it immediately to the sender =
and=20
  delete<BR>the message. Should you have any questions, please send an =
e_mail=20
  to<BR>&lt;<A=20
  =
href=3D"mailto:webmaster@telecomitalia.it">mailto:webmaster@telecomitalia=
.it</A>&gt;webmaster@telecomitalia.it.=20
  Thank you<BR>&lt;<A=20
  =
href=3D"http://www.loquendo.com">http://www.loquendo.com</A>&gt;www.loque=
ndo.com<BR><FONT=20
  =
size=3D3>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT><BR>
  <P></P></BLOCKQUOTE></FONT></BODY></HTML>

------_=_NextPart_001_01C663C5.22224D59--


--===============1639395430==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============1639395430==--




From speechsc-bounces@ietf.org Thu Apr 20 12:04:28 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWbdo-0002l1-Iq; Thu, 20 Apr 2006 12:04:24 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWbdm-0002jY-Sf
	for speechsc@ietf.org; Thu, 20 Apr 2006 12:04:22 -0400
Received: from e31.co.us.ibm.com ([32.97.110.149])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWbdm-0007hY-J2
	for speechsc@ietf.org; Thu, 20 Apr 2006 12:04:22 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
	[9.17.195.11])
	by e31.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id
	k3KG4Kxf007484
	for <speechsc@ietf.org>; Thu, 20 Apr 2006 12:04:20 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167])
	by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id
	k3KG0dJi200366
	for <speechsc@ietf.org>; Thu, 20 Apr 2006 10:00:39 -0600
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1])
	by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id
	k3KG4Jnw032023
	for <speechsc@ietf.org>; Thu, 20 Apr 2006 10:04:19 -0600
Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com
	[9.17.195.145])
	by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id
	k3KG4AjE030626
	for <speechsc@ietf.org>; Thu, 20 Apr 2006 10:04:10 -0600
To: speechsc@ietf.org
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005
Message-ID: <OFA930D470.3C1AC5B3-ON87257156.0057D1E4-85257156.00584500@us.ibm.com>
From: Brett Gavagni <gavagni@us.ibm.com>
Date: Thu, 20 Apr 2006 12:07:22 -0400
X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July
	22, 2005) at 04/20/2006 10:07:26,
	Serialize complete at 04/20/2006 10:07:26
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Subject: [Speechsc] draft-9 Num-Min-Consistent-Pronunciations typo reference
	in section 9.7.3
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Errors-To: speechsc-bounces@ietf.org

Hi,

In draft-9, there's a type to the reference of the default value of the 
Num-Min-Consistent-Pronunciations in section 9.7.3 as not being 
implementation specific.

Section 9.4.35 defines Num-Min-Consistent-Pronunciations, and the default 
value as implementation specific.

9.4.35.  Num-Min-Consistent-Pronunciations

   This header MAY be specified in a START-PHRASE-ENROLLMENT,
   "SET-PARAMS", or "GET-PARAMS" method and is used to specify the
   minimum number of consistent pronunciations that must be obtained to
   voice enroll a new phrase.  The minimum value is 1.  The default
   value is implementation specific and MAY be greater than 1.

   num-min-consistent-pronunciations  =
                 "Num-Min-Consistent-Pronunciations" ":" 1*DIGIT CRLF

Section 9.7.3 refers incorrectly that the 
Num-Min-Consistent-Pronunciations default value is "two".

9.7.3.  Num-Repetitions-Still-Needed

   The <Num-Repetitions-Still-Needed> element contains the number of
   consistent pronunciations that must still be obtained before the new
   phrase can be added to the enrollment grammar.  The number of
   consistent pronunciations required is specified by the client in the
   request header Num-Min-Consistent-Pronunciations, whose default value
   is two.  The returned value must be 0 before the the client can
   successfully commit a phrase to the grammar by ending the enrollment
   session.


Thanks,

Brett Gavagni 
WebSphere Voice Server Development 
http://www-306.ibm.com/software/pervasive/voice_server/
(561) 862-2097 T/L (975) 
gavagni@us.ibm.com


_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc



From speechsc-bounces@ietf.org Sat Apr 22 10:34:40 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FXJBy-0007ET-CK; Sat, 22 Apr 2006 10:34:34 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FXJBC-0006ch-Sa
	for speechsc@ietf.org; Sat, 22 Apr 2006 10:33:46 -0400
Received: from szxga01-in.huawei.com ([61.144.161.53] helo=huawei.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FXJ8T-0003rW-Mb
	for speechsc@ietf.org; Sat, 22 Apr 2006 10:31:02 -0400
Received: from huawei.com (szxga01-in [172.24.2.3])
	by szxga01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25
	(built Mar
	3 2004)) with ESMTP id <0IY400E1JOAING@szxga01-in.huawei.com> for
	speechsc@ietf.org; Sat, 22 Apr 2006 22:30:19 +0800 (CST)
Received: from huawei.com ([172.24.1.3])
	by szxga01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25
	(built Mar
	3 2004)) with ESMTP id <0IY4006QTOAH7N@szxga01-in.huawei.com> for
	speechsc@ietf.org; Sat, 22 Apr 2006 22:30:18 +0800 (CST)
Received: from personal ([218.17.6.109])
	by szxml01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25
	(built Mar
	3 2004)) with ESMTPA id <0IY400B6ZL0E6A@szxml01-in.huawei.com> for
	speechsc@ietf.org; Sat, 22 Apr 2006 21:19:27 +0800 (CST)
Date: Sat, 22 Apr 2006 21:01:38 +0800
From: Arvind <arvinds@huawei.com>
To: speechsc@ietf.org
Message-id: <001d01c6660c$e4d4cd70$1564a8c0@personal>
Organization: Huawei
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Mailer: Microsoft Office Outlook 11
Thread-index: AcZmDOQ6uLJy34B2QU2uW7EgiCx7pA==
X-Spam-Score: 0.2 (/)
X-Scan-Signature: b2809b6f39decc6de467dcf252f42af1
Cc: 
Subject: [Speechsc] Regarding MRCPv1 header fields...
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: arvinds@huawei.com
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0476476209=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============0476476209==
Content-type: multipart/alternative;
	boundary="Boundary_(ID_rYulj1LZkMd7eAKCeAMWPQ)"

This is a multi-part message in MIME format.

--Boundary_(ID_rYulj1LZkMd7eAKCeAMWPQ)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Hi,

I am new to SPEECHSC and I have a query regarding the header fields in
MRCPv1 (draft7) document.

 

In section 5.1, it defines "request-line" as ...

          request-line   =    method-name SP request-id SP  mrcp-version
CRLF

where SP is defined in section 13 (appendix) as ...

          SP             =  %x20        ; space

 

a) Does this mean that there can be exactly one space (no more and no less)?
And what about TAB characters? Is that allowed?

 

Regards

Arvind


--Boundary_(ID_rYulj1LZkMd7eAKCeAMWPQ)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:blue;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=4 color=blue face=Arial><span style='font-size:
14.0pt;font-family:Arial;color:blue'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=4 color=blue face=Arial><span
style='font-size:14.0pt;font-family:Arial;color:blue'>I am new to SPEECHSC and
I have a query regarding the header fields in MRCPv1 (draft7) document.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=4 color=blue face=Arial><span
style='font-size:14.0pt;font-family:Arial;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=4 color=blue face=Arial><span
style='font-size:14.0pt;font-family:Arial;color:blue'>In section 5.1, it
defines &#8220;request-line&#8221; as ...<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=4 color=blue face=Arial><span
style='font-size:14.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; request-line&nbsp;&nbsp;
=&nbsp;&nbsp;&nbsp; method-name SP request-id SP&nbsp; mrcp-version CRLF<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=4 color=blue face=Arial><span
style='font-size:14.0pt;font-family:Arial;color:blue'>where SP is defined in
section 13 (appendix) as ...<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=4 color=blue face=Arial><span
style='font-size:14.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
=&nbsp; %x20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; space<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=4 color=blue face=Arial><span
style='font-size:14.0pt;font-family:Arial;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=4 color=blue face=Arial><span
style='font-size:14.0pt;font-family:Arial;color:blue'>a) Does this mean that
there can be exactly one space (no more and no less)? And what about TAB
characters? Is that allowed?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=4 color=blue face=Arial><span style='font-size:
14.0pt;font-family:Arial;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=4 color=blue face=Arial><span style='font-size:
14.0pt;font-family:Arial;color:blue'>Regards<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=4 color=blue face=Arial><span style='font-size:
14.0pt;font-family:Arial;color:blue'>Arvind<o:p></o:p></span></font></p>

</div>

</body>

</html>

--Boundary_(ID_rYulj1LZkMd7eAKCeAMWPQ)--


--===============0476476209==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============0476476209==--




From speechsc-bounces@ietf.org Sat Apr 22 19:32:47 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FXRao-0002xV-C6; Sat, 22 Apr 2006 19:32:46 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FXRan-0002xN-3B
	for speechsc@ietf.org; Sat, 22 Apr 2006 19:32:45 -0400
Received: from sj-iport-4.cisco.com ([171.68.10.86])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FXRal-0002rA-Hx
	for speechsc@ietf.org; Sat, 22 Apr 2006 19:32:45 -0400
Received: from sj-core-4.cisco.com ([171.68.223.138])
	by sj-iport-4.cisco.com with ESMTP; 22 Apr 2006 16:32:43 -0700
X-IronPort-AV: i="4.04,148,1144047600"; 
	d="scan'208,217"; a="1797768484:sNHT69134760"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k3MNWgYg015298;
	Sat, 22 Apr 2006 16:32:42 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Speechsc] Regarding MRCPv1 header fields...
Date: Sat, 22 Apr 2006 16:32:40 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CE40D99@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Speechsc] Regarding MRCPv1 header fields...
Thread-Index: AcZmDOQ6uLJy34B2QU2uW7EgiCx7pAAWBmcw
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: <arvinds@huawei.com>, <speechsc@ietf.org>
X-Spam-Score: 0.2 (/)
X-Scan-Signature: 33cc095b503da4365ce57c727e553cf1
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0858610087=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============0858610087==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C66665.0CFF036F"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C66665.0CFF036F
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

=20


________________________________

	From: Arvind [mailto:arvinds@huawei.com]=20
	Sent: Saturday, April 22, 2006 6:02 AM
	To: speechsc@ietf.org
	Subject: [Speechsc] Regarding MRCPv1 header fields...
=09
=09

	Hi,

	I am new to SPEECHSC and I have a query regarding the header
fields in MRCPv1 (draft7) document.

	=20

	In section 5.1, it defines "request-line" as ...

	          request-line   =3D    method-name SP request-id SP
mrcp-version CRLF

	where SP is defined in section 13 (appendix) as ...

	          SP             =3D  %x20        ; space

	=20

	a) Does this mean that there can be exactly one space (no more
and no less)? And what about TAB characters? Is that allowed?
	[Sarvi>>] yes. one space. no tab characters.=20

	=20

	Regards

	Arvind


------_=_NextPart_001_01C66665.0CFF036F
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in =
1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	FONT-WEIGHT: normal; COLOR: blue; FONT-STYLE: normal; FONT-FAMILY: =
Arial; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT>&nbsp;</DIV><BR>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Arvind =
[mailto:arvinds@huawei.com]=20
  <BR><B>Sent:</B> Saturday, April 22, 2006 6:02 AM<BR><B>To:</B>=20
  speechsc@ietf.org<BR><B>Subject:</B> [Speechsc] Regarding MRCPv1 =
header=20
  fields...<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D4><SPAN=20
  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial">Hi,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dblue=20
  size=3D4><SPAN style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial">I am new=20
  to SPEECHSC and I have a query regarding the header fields in MRCPv1 =
(draft7)=20
  document.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dblue=20
  size=3D4><SPAN=20
  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dblue=20
  size=3D4><SPAN style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial">In=20
  section 5.1, it defines &#8220;request-line&#8221; as =
...<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dblue=20
  size=3D4><SPAN=20
  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  request-line&nbsp;&nbsp; =3D&nbsp;&nbsp;&nbsp; method-name SP =
request-id=20
  SP&nbsp; mrcp-version CRLF<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dblue=20
  size=3D4><SPAN style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial">where SP=20
  is defined in section 13 (appendix) as =
...<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dblue=20
  size=3D4><SPAN=20
  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
SP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;=20
  =3D&nbsp; %x20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;=20
  space<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3DArial =
color=3Dblue=20
  size=3D4><SPAN=20
  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT size=3D4><SPAN =

  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: Arial">a) Does =
this mean=20
  that there can be exactly one space (no more and no less)? And what =
about TAB=20
  characters? Is that allowed?<BR><FONT size=3D2><SPAN=20
  class=3D997163223-22042006>[Sarvi&gt;&gt;]&nbsp;yes. one space. no tab =

  characters.&nbsp;</SPAN><o:p></o:p></FONT></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D4><SPAN=20
  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D4><SPAN=20
  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial">Regards<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial color=3Dblue size=3D4><SPAN=20
  style=3D"FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: =
Arial">Arvind<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTM=
L>

------_=_NextPart_001_01C66665.0CFF036F--


--===============0858610087==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============0858610087==--




From speechsc-bounces@ietf.org Sun Apr 30 09:33:19 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FaC2u-0006cm-3T; Sun, 30 Apr 2006 09:33:08 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FaC2s-0006b7-O1
	for speechsc@ietf.org; Sun, 30 Apr 2006 09:33:06 -0400
Received: from fw01.db01.voxpilot.com ([212.17.54.82] helo=mail.voxpilot.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FaC2r-0003EC-7Y
	for speechsc@ietf.org; Sun, 30 Apr 2006 09:33:06 -0400
Received: by mail.voxpilot.com (Postfix, from userid 552)
	id B1015214104; Sun, 30 Apr 2006 13:33:03 +0000 (GMT)
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on db01ms01
X-Spam-Status: No, score=-4.3 required=5.5 tests=ALL_TRUSTED,AWL,BAYES_00,
	HTML_MESSAGE autolearn=ham version=3.1.0
X-Spam-Level: 
Received: from daburkewxp (dsl-34-34.dsl.netsource.ie [213.79.34.34])
	by mail.voxpilot.com (Postfix) with ESMTP id 70DFB2140FD
	for <speechsc@ietf.org>; Sun, 30 Apr 2006 13:32:59 +0000 (GMT)
Message-ID: <048201c66c5a$98d6d3b0$6700000a@db01.voxpilot.com>
From: "Dave Burke" <david.burke@voxpilot.com>
To: <speechsc@ietf.org>
Subject: [speechsc] Voice-xml:lang header
Date: Sun, 30 Apr 2006 14:32:58 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 82c9bddb247d9ba4471160a9a865a5f3
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2013750316=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============2013750316==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_047F_01C66C62.FA2102A0"

This is a multi-part message in MIME format.

------=_NextPart_000_047F_01C66C62.FA2102A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

According to 8.4.6, there are a number of Voice- headers derived from =
attributes on the <voice> element in SSML. One of those attributes is =
xml:lang, resulting in, for example:

Voice-xml:lang: en-US

i.e. the colon in xml:lang will cause a parser to return a header name =
of Voice-xml with a value of lang: en-US. Probably just need to clarify =
that the preceding xml: (which is really a namespace designation) be =
dropped, i.e.

Voice-lang: en-US

Dave
------=_NextPart_000_047F_01C66C62.FA2102A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>According to 8.4.6, there are a number =
of Voice-=20
headers derived from attributes on the &lt;voice&gt; element in SSML. =
One of=20
those attributes is xml:lang, resulting in, for example:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Voice-xml:lang: en-US</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>i.e. the colon in xml:lang will cause a =
parser to=20
return a header name of Voice-xml with a value of lang: en-US. =
</FONT><FONT=20
face=3DArial size=3D2>Probably just need to clarify that the preceding =
xml: (which=20
is really a namespace designation) be dropped, i.e.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Voice-lang: en-US</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dave</FONT></DIV></BODY></HTML>

------=_NextPart_000_047F_01C66C62.FA2102A0--



--===============2013750316==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============2013750316==--





From speechsc-bounces@ietf.org Sun Apr 30 11:19:45 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FaDi4-0002Jl-Ov; Sun, 30 Apr 2006 11:19:44 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FaDi3-0002Jg-LK
	for speechsc@ietf.org; Sun, 30 Apr 2006 11:19:43 -0400
Received: from sj-iport-4.cisco.com ([171.68.10.86])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FaDi3-0007M7-5o
	for speechsc@ietf.org; Sun, 30 Apr 2006 11:19:43 -0400
Received: from sj-core-4.cisco.com ([171.68.223.138])
	by sj-iport-4.cisco.com with ESMTP; 30 Apr 2006 08:19:43 -0700
X-IronPort-AV: i="4.04,167,1144047600"; 
	d="scan'208,217"; a="1800072189:sNHT55889584"
Received: from vtg-um-e2k6.sj21ad.cisco.com (vtg-um-e2k6.cisco.com
	[171.70.93.77])
	by sj-core-4.cisco.com (8.12.10/8.12.6) with ESMTP id k3UFJgYg014900;
	Sun, 30 Apr 2006 08:19:42 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [speechsc] Voice-xml:lang header
Date: Sun, 30 Apr 2006 08:19:39 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CEFF658@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [speechsc] Voice-xml:lang header
Thread-Index: AcZsWsw8II0jbgLiRx6Ag9rRFrnXggADb5pg
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: "Dave Burke" <david.burke@voxpilot.com>, <speechsc@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 68ba2b07ef271dba6ee42a93832cfa4c
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0665913667=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============0665913667==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C66C69.81189816"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C66C69.81189816
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

I don't believe Voice-xml:lang  was intended to be used as a header.
There is a separate langauge header to specify language.
=20
But this brings out a good point. We should clarify that xml lang is not
one of the Voice-* parameters.=20
=20
Wondering if we should clarify by enumerating the individual Voice-*
parameters that we want to support and their possibel values and add it
to the ABNF as well, instead of just refering to the W3C doc, which
leaves it open for such interpretation.
=20
Thx,
Sarvi



________________________________

	From: Dave Burke [mailto:david.burke@voxpilot.com]=20
	Sent: Sunday, April 30, 2006 6:33 AM
	To: speechsc@ietf.org
	Subject: [speechsc] Voice-xml:lang header
=09
=09
	According to 8.4.6, there are a number of Voice- headers derived
from attributes on the <voice> element in SSML. One of those attributes
is xml:lang, resulting in, for example:
	=20
	Voice-xml:lang: en-US
	=20
	i.e. the colon in xml:lang will cause a parser to return a
header name of Voice-xml with a value of lang: en-US. Probably just need
to clarify that the preceding xml: (which is really a namespace
designation) be dropped, i.e.
	=20
	Voice-lang: en-US
	=20
	Dave


------_=_NextPart_001_01C66C69.81189816
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006>I don't believe Voice-xml:lang&nbsp; was =
intended to be=20
used as a header.</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006>There is a separate langauge header to =
specify=20
language.</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006>But this brings out a good point. We should =
clarify=20
that xml lang is not one of the Voice-* parameters. </SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006>Wondering if we should clarify by enumerating =
the=20
individual Voice-* parameters that we want to support and their possibel =
values=20
and add it to the ABNF as well, instead of just refering to the W3C doc, =
which=20
leaves it open for such interpretation.</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006>Thx,</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D589481215-30042006>Sarvi</SPAN></FONT></DIV><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT><BR>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Dave Burke=20
  [mailto:david.burke@voxpilot.com] <BR><B>Sent:</B> Sunday, April 30, =
2006 6:33=20
  AM<BR><B>To:</B> speechsc@ietf.org<BR><B>Subject:</B> [speechsc]=20
  Voice-xml:lang header<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=3DArial size=3D2>According to 8.4.6, there are a =
number of Voice-=20
  headers derived from attributes on the &lt;voice&gt; element in SSML. =
One of=20
  those attributes is xml:lang, resulting in, for example:</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Voice-xml:lang: en-US</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>i.e. the colon in xml:lang will cause =
a parser to=20
  return a header name of Voice-xml with a value of lang: en-US. =
</FONT><FONT=20
  face=3DArial size=3D2>Probably just need to clarify that the preceding =
xml: (which=20
  is really a namespace designation) be dropped, i.e.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Voice-lang: en-US</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>Dave</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C66C69.81189816--


--===============0665913667==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============0665913667==--




From speechsc-bounces@ietf.org Sun Apr 30 11:28:22 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FaDqJ-0005LB-1u; Sun, 30 Apr 2006 11:28:15 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FaDqI-0005L6-0S
	for speechsc@ietf.org; Sun, 30 Apr 2006 11:28:14 -0400
Received: from fw01.db01.voxpilot.com ([212.17.54.82] helo=mail.voxpilot.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FaDqF-0007mR-6T
	for speechsc@ietf.org; Sun, 30 Apr 2006 11:28:13 -0400
Received: by mail.voxpilot.com (Postfix, from userid 552)
	id 270F12140F2; Sun, 30 Apr 2006 15:28:09 +0000 (GMT)
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on db01ms01
X-Spam-Status: No, score=-4.3 required=5.5 tests=ALL_TRUSTED,AWL,BAYES_00,
	HTML_MESSAGE autolearn=ham version=3.1.0
X-Spam-Level: 
Received: from daburkewxp (dsl-34-34.dsl.netsource.ie [213.79.34.34])
	by mail.voxpilot.com (Postfix) with ESMTP
	id 04E092140F6; Sun, 30 Apr 2006 15:28:05 +0000 (GMT)
Message-ID: <04f001c66c6a$ace41600$6700000a@db01.voxpilot.com>
From: "Dave Burke" <david.burke@voxpilot.com>
To: "Shanmugham, Saravanan" <sarvi@cisco.com>, <speechsc@ietf.org>
References: <03772D1EC8DE624A863058C75874A75CEFF658@vtg-um-e2k6.sj21ad.cisco.com>
Subject: Re: [speechsc] Voice-xml:lang header
Date: Sun, 30 Apr 2006 16:28:04 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 995b2e24d23b953c94bac5288c432399
Cc: 
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1025696790=="
Errors-To: speechsc-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1025696790==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_04ED_01C66C73.0E5DB960"

This is a multi-part message in MIME format.

------=_NextPart_000_04ED_01C66C73.0E5DB960
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Works for me.

Dave
  ----- Original Message -----=20
  From: Shanmugham, Saravanan=20
  To: Dave Burke ; speechsc@ietf.org=20
  Sent: Sunday, April 30, 2006 4:19 PM
  Subject: RE: [speechsc] Voice-xml:lang header


  I don't believe Voice-xml:lang  was intended to be used as a header.
  There is a separate langauge header to specify language.

  But this brings out a good point. We should clarify that xml lang is =
not one of the Voice-* parameters.=20

  Wondering if we should clarify by enumerating the individual Voice-* =
parameters that we want to support and their possibel values and add it =
to the ABNF as well, instead of just refering to the W3C doc, which =
leaves it open for such interpretation.

  Thx,
  Sarvi



-------------------------------------------------------------------------=
---
    From: Dave Burke [mailto:david.burke@voxpilot.com]=20
    Sent: Sunday, April 30, 2006 6:33 AM
    To: speechsc@ietf.org
    Subject: [speechsc] Voice-xml:lang header


    According to 8.4.6, there are a number of Voice- headers derived =
from attributes on the <voice> element in SSML. One of those attributes =
is xml:lang, resulting in, for example:

    Voice-xml:lang: en-US

    i.e. the colon in xml:lang will cause a parser to return a header =
name of Voice-xml with a value of lang: en-US. Probably just need to =
clarify that the preceding xml: (which is really a namespace =
designation) be dropped, i.e.

    Voice-lang: en-US

    Dave
------=_NextPart_000_04ED_01C66C73.0E5DB960
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Works for me.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dave</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dsarvi@cisco.com href=3D"mailto:sarvi@cisco.com">Shanmugham, =

  Saravanan</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Ddavid.burke@voxpilot.com=20
  href=3D"mailto:david.burke@voxpilot.com">Dave Burke</A> ; <A=20
  title=3Dspeechsc@ietf.org =
href=3D"mailto:speechsc@ietf.org">speechsc@ietf.org</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, April 30, 2006 =
4:19=20
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [speechsc] =
Voice-xml:lang=20
  header</DIV>
  <DIV><BR></DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006>I don't believe Voice-xml:lang&nbsp; was =
intended to=20
  be used as a header.</SPAN></FONT></DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006>There is a separate langauge header to =
specify=20
  language.</SPAN></FONT></DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006></SPAN></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006>But this brings out a good point. We should =
clarify=20
  that xml lang is not one of the Voice-* parameters. =
</SPAN></FONT></DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006></SPAN></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006>Wondering if we should clarify by =
enumerating the=20
  individual Voice-* parameters that we want to support and their =
possibel=20
  values and add it to the ABNF as well, instead of just refering to the =
W3C=20
  doc, which leaves it open for such interpretation.</SPAN></FONT></DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006></SPAN></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006>Thx,</SPAN></FONT></DIV>
  <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
  class=3D589481215-30042006>Sarvi</SPAN></FONT></DIV><FONT face=3DArial =

  color=3D#0000ff size=3D2></FONT><BR>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft>
    <HR tabIndex=3D-1>
    <FONT face=3DTahoma size=3D2><B>From:</B> Dave Burke=20
    [mailto:david.burke@voxpilot.com] <BR><B>Sent:</B> Sunday, April 30, =
2006=20
    6:33 AM<BR><B>To:</B> speechsc@ietf.org<BR><B>Subject:</B> =
[speechsc]=20
    Voice-xml:lang header<BR></FONT><BR></DIV>
    <DIV></DIV>
    <DIV><FONT face=3DArial size=3D2>According to 8.4.6, there are a =
number of=20
    Voice- headers derived from attributes on the &lt;voice&gt; element =
in SSML.=20
    One of those attributes is xml:lang, resulting in, for =
example:</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Voice-xml:lang: en-US</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>i.e. the colon in xml:lang will =
cause a parser=20
    to return a header name of Voice-xml with a value of lang: en-US.=20
    </FONT><FONT face=3DArial size=3D2>Probably just need to clarify =
that the=20
    preceding xml: (which is really a namespace designation) be dropped, =

    i.e.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Voice-lang: en-US</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial=20
size=3D2>Dave</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_04ED_01C66C73.0E5DB960--



--===============1025696790==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============1025696790==--





From speechsc-bounces@ietf.org Sun Apr 30 12:52:57 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FaFAC-0002al-RI; Sun, 30 Apr 2006 12:52:52 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FaFAB-0002ag-Bp
	for speechsc@ietf.org; Sun, 30 Apr 2006 12:52:51 -0400
Received: from ns1.jerrycarter.org ([66.92.77.144] helo=jerrycarter.org)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FaFAA-0002gl-Mq
	for speechsc@ietf.org; Sun, 30 Apr 2006 12:52:51 -0400
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by jerrycarter.org (Postfix) with ESMTP
	id 4AB7BC31913; Sun, 30 Apr 2006 12:52:49 -0400 (EDT)
In-Reply-To: <03772D1EC8DE624A863058C75874A75CEFF658@vtg-um-e2k6.sj21ad.cisco.com>
References: <03772D1EC8DE624A863058C75874A75CEFF658@vtg-um-e2k6.sj21ad.cisco.com>
Mime-Version: 1.0 (Apple Message framework v623)
Message-Id: <40b13ba967676fa5a40280092ecfd2f3@jerrycarter.org>
From: Jerry Carter <jerry@jerrycarter.org>
Subject: Re: [speechsc] Voice-xml:lang header
Date: Sun, 30 Apr 2006 12:52:46 -0400
To: "Shanmugham, Saravanan" <sarvi@cisco.com>
X-Mailer: Apple Mail (2.623)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 21be852dc93f0971708678c18d38c096
Cc: "IETF SPEECHSC \(E-mail\)" <speechsc@ietf.org>
X-BeenThere: speechsc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Speech Services Control Working Group <speechsc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:speechsc@ietf.org>
List-Help: <mailto:speechsc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/speechsc>,
	<mailto:speechsc-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0817611413=="
Errors-To: speechsc-bounces@ietf.org


--===============0817611413==
Content-Type: multipart/alternative; boundary=Apple-Mail-21-605042373


--Apple-Mail-21-605042373
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=ISO-8859-1;
	format=flowed

Yes.  An explicit list is much better.


On Apr 30, 2006, at 11:19 AM, Shanmugham, Saravanan wrote:
> I don't believe Voice-xml:lang=A0 was intended to be used as a header.
> There is a separate langauge header to specify language.
> =A0
> But this brings out a good point. We should clarify that xml lang is=20=

> not one of the Voice-* parameters.
> =A0
> Wondering if we should clarify by enumerating the individual Voice-*=20=

> parameters that we want to support and their possibel values and add=20=

> it to the ABNF as well, instead of just refering to the W3C doc, which=20=

> leaves it open for such interpretation.
> =A0
> Thx,
> Sarvi
>
>> From: Dave Burke [mailto:david.burke@voxpilot.com]
>> Sent: Sunday, April 30, 2006 6:33 AM
>> To: speechsc@ietf.org
>> Subject: [speechsc] Voice-xml:lang header
>>
>> According to 8.4.6, there are a number of Voice- headers derived from=20=

>> attributes on the <voice> element in SSML. One of those attributes is=20=

>> xml:lang, resulting in, for example:
>> =A0
>> Voice-xml:lang: en-US
>> =A0
>> i.e. the colon in xml:lang will cause a parser to return a header=20
>> name of Voice-xml with a value of lang: en-US. Probably just need to=20=

>> clarify that the preceding xml: (which is really a namespace=20
>> designation) be dropped, i.e.
>> =A0
>> Voice-lang: en-US
>> =A0
>> Dave_______________________________________________
> Speechsc mailing list
> Speechsc@ietf.org
> https://www1.ietf.org/mailman/listinfo/speechsc

--Apple-Mail-21-605042373
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
	charset=ISO-8859-1

Yes.  An explicit list is much better.



On Apr 30, 2006, at 11:19 AM, Shanmugham, Saravanan wrote:

=
<excerpt><fontfamily><param>Arial</param><color><param>0000,0000,FFFF</par=
am><smaller>I
don't believe Voice-xml:lang=A0 was intended to be used as a =
header.</smaller></color></fontfamily>

=
<fontfamily><param>Arial</param><color><param>0000,0000,FFFF</param><small=
er>There
is a separate langauge header to specify =
language.</smaller></color></fontfamily>

=A0

=
<fontfamily><param>Arial</param><color><param>0000,0000,FFFF</param><small=
er>But
this brings out a good point. We should clarify that xml lang is not
one of the Voice-* parameters.</smaller></color></fontfamily>

=A0

=
<fontfamily><param>Arial</param><color><param>0000,0000,FFFF</param><small=
er>Wondering
if we should clarify by enumerating the individual Voice-* parameters
that we want to support and their possibel values and add it to the
ABNF as well, instead of just refering to the W3C doc, which leaves it
open for such interpretation.</smaller></color></fontfamily>

=A0

=
<fontfamily><param>Arial</param><color><param>0000,0000,FFFF</param><small=
er>Thx,</smaller></color></fontfamily>

=
<fontfamily><param>Arial</param><color><param>0000,0000,FFFF</param><small=
er>Sarvi</smaller></color></fontfamily>


=
<excerpt><bold><fontfamily><param>Tahoma</param><smaller>From:</smaller></=
fontfamily></bold><fontfamily><param>Tahoma</param><smaller>
Dave Burke [mailto:david.burke@voxpilot.com]</smaller></fontfamily>

=
<bold><fontfamily><param>Tahoma</param><smaller>Sent:</smaller></fontfamil=
y></bold><fontfamily><param>Tahoma</param><smaller>
Sunday, April 30, 2006 6:33 AM</smaller></fontfamily>

=
<bold><fontfamily><param>Tahoma</param><smaller>To:</smaller></fontfamily>=
</bold><fontfamily><param>Tahoma</param><smaller>
speechsc@ietf.org</smaller></fontfamily>

=
<bold><fontfamily><param>Tahoma</param><smaller>Subject:</smaller></fontfa=
mily></bold><fontfamily><param>Tahoma</param><smaller>
[speechsc] Voice-xml:lang header</smaller></fontfamily>


<fontfamily><param>Arial</param><smaller>According to 8.4.6, there are
a number of Voice- headers derived from attributes on the <<voice>
element in SSML. One of those attributes is xml:lang, resulting in,
for example:</smaller></fontfamily>

=A0

<fontfamily><param>Arial</param><smaller>Voice-xml:lang: =
en-US</smaller></fontfamily>

=A0

<fontfamily><param>Arial</param><smaller>i.e. the colon in xml:lang
will cause a parser to return a header name of Voice-xml with a value
of lang: en-US. Probably just need to clarify that the preceding xml:
(which is really a namespace designation) be dropped, =
i.e.</smaller></fontfamily>

=A0

<fontfamily><param>Arial</param><smaller>Voice-lang: =
en-US</smaller></fontfamily>

=A0

=
<fontfamily><param>Arial</param><smaller>Dave</smaller></fontfamily>______=
_________________________________________

</excerpt>Speechsc mailing list

Speechsc@ietf.org

https://www1.ietf.org/mailman/listinfo/speechsc

</excerpt>=

--Apple-Mail-21-605042373--



--===============0817611413==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Speechsc mailing list
Speechsc@ietf.org
https://www1.ietf.org/mailman/listinfo/speechsc

--===============0817611413==--





