RE: [speechsc] Fallback <audio> and 003 uri-failure
"Shanmugham, Saravanan" <sarvi@cisco.com> Tue, 09 May 2006 16:51 UTC
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FdVQo-00074y-SA; Tue, 09 May 2006 12:51:30 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FdVQn-00074t-PJ for speechsc@ietf.org; Tue, 09 May 2006 12:51:29 -0400
Received: from sj-iport-4.cisco.com ([171.68.10.86]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FdVQl-0002QW-2h for speechsc@ietf.org; Tue, 09 May 2006 12:51:29 -0400
Received: from sj-core-4.cisco.com ([171.68.223.138]) by sj-iport-4.cisco.com with ESMTP; 09 May 2006 09:51:27 -0700
X-IronPort-AV: i="4.05,106,1146466800"; d="scan'208,217"; a="1803121895:sNHT62042824"
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 k49GpPYg006688; Tue, 9 May 2006 09:51:26 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [speechsc] Fallback <audio> and 003 uri-failure
Date: Tue, 09 May 2006 09:51:24 -0700
Message-ID: <03772D1EC8DE624A863058C75874A75CEFFDFD@vtg-um-e2k6.sj21ad.cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [speechsc] Fallback <audio> and 003 uri-failure
Thread-Index: AcZyrR4aZh4pGlCrRY6fJdKkKwOIbwA2GCnQ
From: "Shanmugham, Saravanan" <sarvi@cisco.com>
To: Andrew Wahbe <awahbe@voicegenie.com>, Dave Burke <david.burke@voxpilot.com>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 2b3349545af520ba354ccdc9e1a03fc1
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>
Content-Type: multipart/mixed; boundary="===============0665050662=="
Errors-To: speechsc-bounces@ietf.org
A couple of things. Current Draft: 1. In the example mentioned the Completion-Cause header that comes in a SPEAK-COMPLETE message with a request-state of COMPLETE MUST reflect the final completion state of the operation(in this case SPEAK). Which means that in this SSML example the Completion-Cause code should be "normal". Because, though there were some URI fetch failure, the alternative <audio> succeeded and hence the overall SPEAK operation was successfull. 2. The MRCP server must log the failed URI to its logging system. Future Possible Extentions: 3. In future, if there are exceptions that the client needs to be notified of, such as the above URI failures in this example, they MUST be sent as events(say EXCEPTION) that MUST carry a request-state of IN-PROGRESS (as the request, say SPEAK, is still proceeding) and an Exception-Cause. The values that can be specified in the Exception-Cause are most likely a small sub-set of the Completion-Cause values. 4. Such EXCEPTION events should be used only if the resource is able to proceed past these errors, else it would be a <request>-COMPLETE event. 5. As a general guide for the protocol, we should design all future requests that need multiple response scenarios, as a response that returns status 200 and request-state IN-PROGRESS or PENDING if the request was queued or successfully started. Future intermediate responses to that request should always designed as events with request-state of IN-PROGRESS or PENDING. The final response to the request MUST be sent as a <request>-COMPLETE event with a request-state of COMPLETE and a Completion-Cause header. I understand we could have designed the system to have multiple responses to the request, in which case we should not have events. But the current design is one response and possible multiple events. Which is essentially the same thing and gives the same level of flexibility as the other approach, just that the 2+ response messages looks slightly different. So we should stick to this general approach when proposing future extensions to the protocol such as the EXCEPTION event. Thx, Sarvi ________________________________ From: Andrew Wahbe [mailto:awahbe@voicegenie.com] Sent: Monday, May 08, 2006 7:35 AM To: Dave Burke Cc: speechsc@ietf.org Subject: Re: [speechsc] Fallback <audio> and 003 uri-failure The VoiceXML Forum MRCP Liaison Committee came to the following conclusion on this issue (see http://www.ietf.org/mail-archive/web/speechsc/current/msg01611.html): 2) It should be clarified that SPEAK completion code 003 "uri-failure" only applies to fetched SSML files and that failure to fetch (or process) an audio file will not result in aborting the SPEAK request. This does mean, however, that there is no way to communicate the failure to fetch (or process) the audio file to the MRCP client. While SSML requires that the processor "notify the hosting environment" when such a failure occurs, the members of the committee agree that logging this event at the MRCP server is sufficient. It may be advisable for the MRCP specification to suggest that these events should be logged in some way. We would also like to suggest that future versions of MRCP consider adding an event (e.g. "Audio-Exception") to notify the MRCP client that such a failure has occurred without aborting the SPEAK request. Is there a specific reason why the above approach is not sufficient? Or are you thinking of a non-VoiceXML case? Andrew Wahbe Dave Burke wrote: If I have some SSML along the lines of <speak> <audio src="baduri.wav"> <!-- invalid URI --> <audio src="gooduri.wav"/> <!-- valid URI --> </audio> </speak> will I get a SPEAK-COMPLETE with 000 normal or 003 uri-failure? SSML requires that processing continues but that the hosting environment be notified. It would be useful to clarify that this is indeed the case with the basicsynth / speechsynth and that 003 uri-failure will be returned. Without this, the most trivial of media server applications (i.e. playing announcements) is not possible to be implemented robustly. Dave ________________________________ _______________________________________________ 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] Fallback <audio> and 003 uri-failure Dave Burke
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Andrew Wahbe
- RE: [speechsc] Fallback <audio> and 003 uri-failu… Carter, Jerry
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Dave Burke
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Dave Burke
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Andrew Wahbe
- RE: [speechsc] Fallback <audio> and 003 uri-failu… Carter, Jerry
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Dave Burke
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Andrew Wahbe
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Jerry Carter
- Re: [speechsc] Fallback <audio> and 003 uri-failu… David R Oran
- Re: [speechsc] Fallback <audio> and 003 uri-failu… David R Oran
- RE: [speechsc] Fallback <audio> and 003 uri-failu… Shanmugham, Saravanan
- RE: [speechsc] Fallback <audio> and 003 uri-failu… Carter, Jerry
- Re: [speechsc] Fallback <audio> and 003 uri-failu… David R Oran
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Jerry Carter
- RE: [speechsc] Fallback <audio> and 003 uri-failu… Burger, Eric
- RE: [speechsc] Fallback <audio> and 003 uri-failu… Burger, Eric
- RE: [speechsc] Fallback <audio> and 003 uri-failu… Carter, Jerry
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Andrew Wahbe
- RE: [speechsc] Fallback <audio> and 003 uri-failu… Shanmugham, Saravanan
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Dan Burnett
- Re: [speechsc] Fallback <audio> and 003 uri-failu… Dave Burke