On 9/13/06, Charles Godfrey <[EMAIL PROTECTED]> wrote:
Hello and sorry for this obvious questions, but after 2 days of searching,
I'm unable to find this info.

<snip/>

Please ask sooner, we'll try to help!


1. How do you configure prompts that use prompt files (.wav, .au, etc).
<snap/>

The content model of the RDC config file <prompt> element is the same
as the VXML <prompt> element. So, simply:

<prompt>
<audio src="foo.wav"/>
</prompt>


2. How do you configure the initial prompt (for example) to play multiple
prompt files (eg, hello.wav followed by how_are_you.wav)
<snip/>

As above:

<prompt>
<audio src="hello.wav"/><audio src="how_are_you.wav"/>
</prompt>

If you mean initial prompt as in before entering any RDC, that is
straight JSP. See the sample applications in the distribution for code
snippets.


3. Is there a user's guide that lets me know what all I can put in the
config file for RDCs?
<snap/>

See sample-config.xml and some schema fragments here (they may need to
be polished per latest changes):

http://svn.apache.org/repos/asf/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/schemas/


4. Do I have to use a config file to configure prompts, or can I do all the
configuration in the JSP tags itself?

<snip/>

You need the config file. Your suggestion is good, but not supported.


The examples provided with RDCs just use TTS and the ones that use a config
file are also not helpful.
<snap/>

The examples have TTS prompts to keep download sizes manageable and
also, since you might want to choose the correct type and encoding
that your browser works best off of. We do not expect most people to
use TTS in real applications. But, as shown above, switching to audio
is fairly trivial, once you have the audio.

We should probably add this to the wiki [1], it is open to anyone
after a quick registration.

Do let us know if you have other questions.

-Rahul

[1] http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents


Thanks for help...much appreciated.

Charles



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to