From 4c8dbe3511eb3cd1210dc54b41136d8fc579b565 Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Tue, 2 Dec 2014 11:08:42 -0200 Subject: [PATCH] Allow passing arbitrary synthesis/recognition headers to resources. Allows including any MRCP headers without having to duplicate them in this specification, or being tied to MRCP. Fixes #91. Fixes #96. --- extensions/xep-0327.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/extensions/xep-0327.xml b/extensions/xep-0327.xml index 8ce0275d..eb335a7e 100644 --- a/extensions/xep-0327.xml +++ b/extensions/xep-0327.xml @@ -1244,7 +1244,7 @@ ]]> -

Media output is a core concept in Rayo, and is provided by the output component. The component allows media to be rendered to a call or a mixer, using the server's local media server. A server MUST support audio file playback and MUST support the text/uri-list document format. A server MAY support speech synthesis and MAY support SSML. The component is created using an <output/> command, containing one or more documents to render, along with a set of options to determine the nature of the rendering.

+

Media output is a core concept in Rayo, and is provided by the output component. The component allows media to be rendered to a call or a mixer, using the server's local media server. A server MUST support audio file playback and MUST support the text/uri-list document format. A server MAY support speech synthesis and MAY support SSML. The component is created using an <output/> command, containing one or more documents to render, along with a set of options to determine the nature of the rendering. When header elements are included in the command, these should be passed along to the synthesizer resource for tuning.

-

Media input is a core concept in Rayo, and is provided by the input component. The component allows input to be collected from a call by way of either DTMF (dual-tone multi-frequency) or ASR (automatic speech recognition), using the server's local media server. A Rayo server MUST support DTMF input and MUST support SRGS XML grammars (application/srgs+xml). A server MAY suport speech input, and MAY support other grammar formats. The component is created using an <input/> command, containing one or more grammar documents by which to control input, along with a set of options to determine the nature of the collection.

+

Media input is a core concept in Rayo, and is provided by the input component. The component allows input to be collected from a call by way of either DTMF (dual-tone multi-frequency) or ASR (automatic speech recognition), using the server's local media server. A Rayo server MUST support DTMF input and MUST support SRGS XML grammars (application/srgs+xml). A server MAY suport speech input, and MAY support other grammar formats. The component is created using an <input/> command, containing one or more grammar documents by which to control input, along with a set of options to determine the nature of the collection. When header elements are included in the command, these should be passed along to the recognizer resource for tuning.

Instructs the server to begin an output component executing on the target call or mixer with the specified document and parameters.

-

The <output/> element MUST contain one or more <document/> elements. A server MUST support the application/ssml+xml content type, but MAY additionally support others.

+

The <output/> element MUST contain one or more <document/> elements and may contain any number of <header/> elements. A server MUST support the application/ssml+xml content type, but MAY additionally support others.

The attributes of the <output/> element are as follows.

@@ -2547,7 +2547,7 @@ Art thou not Romeo, and a Montague?

Instructs the server to begin an input detector of the specified mode, with certain attributes, governed by the rules provided in one or more grammar documents.

-

The <input/> element MUST contain one or more <grammar/> elements.

+

The <input/> element MUST contain one or more <grammar/> elements and may contain any number of <header/> elements.

The attributes of the <input/> element are as follows.

@@ -3730,6 +3730,7 @@ Art thou not Romeo, and a Montague? + @@ -4002,6 +4003,7 @@ Art thou not Romeo, and a Montague? +