Page 1 of 1

Recording playback with the <voice> tag

Posted: Thu Jan 26, 2006 9:40 am
by adriannaude
An interesting feature!

The following VXML works fine (where Report is a variable created by a record tag:

<record ....>
<filled>
<prompt>
"'you have just recorded'"
<value expr="Report"/>
</prompt>
</filled>

However, if you add <voice> tags the "you have just recorded" bit plays fine but the recorded audio doesn't.

<record ....>
<filled>
<prompt>
<voice name="charles">
"'you have just recorded'"
<value expr="Report"/>
</voice>
</prompt>
</filled>

The work-around is to seperate out the playback of the recording into a prompt that doesn't contain voice tags.

Had me puzzled for a while!

Adrian Naude