Choice Tag Usage
Posted: Wed Dec 15, 2004 12:12 am
Hi,
I have some clarification using chioce tag and speech recognition,
Following is the code used,
....
....
<menu id="mainmenu">
<prompt bargein="false" version="1.0">
<voice name="anjali" gender="female" age="18">
<prosody volume="loud" rate="90">
<?php echo("Hello ".$sub_row["custname"]." this is abc calling ordering today?."); ?>
<?php echo("If Yes , say Yes or press One on your touch tone phone If No, say No or
press Two on your touch tone phone "); ?>
</prosody>
</voice>
<enumerate/>
</prompt>
<choice dtmf="1" next="#good">
Yes
</choice>
<choice dtmf="2" next="#bad">
No
</choice>
</menu>
<form id="good">
<block>
.....
.....
1.My requirement is to accept the user response two ways, both keypress
in the phone or verbal. At a time user can select any of the option they like without
any choices. How can i handle this with my code? Whether the above given code satisfy
both requirement?.
2.How i can avoid playing the text present inside the choise tag?. I do't want to play
the text inside the choise tag.Or how i can apply the prosody tag with volume =0 to avoid
hearing this voice to the callee?.Please advice if any other method available?
3.If the user failed to input the key/choice the plum will play back a message
"Sorry, I didn't understand you.". How I can change the voice of the playback message?
4.I am using the choice tag to active the speech recognition, Its very difficult
to catch the matching voice input by the system even if the user tried 4 more time
simply saying "Yes".Any grammer usage will improve?. How I can improve the speech recognition?
Thanks
Reu.
I have some clarification using chioce tag and speech recognition,
Following is the code used,
....
....
<menu id="mainmenu">
<prompt bargein="false" version="1.0">
<voice name="anjali" gender="female" age="18">
<prosody volume="loud" rate="90">
<?php echo("Hello ".$sub_row["custname"]." this is abc calling ordering today?."); ?>
<?php echo("If Yes , say Yes or press One on your touch tone phone If No, say No or
press Two on your touch tone phone "); ?>
</prosody>
</voice>
<enumerate/>
</prompt>
<choice dtmf="1" next="#good">
Yes
</choice>
<choice dtmf="2" next="#bad">
No
</choice>
</menu>
<form id="good">
<block>
.....
.....
1.My requirement is to accept the user response two ways, both keypress
in the phone or verbal. At a time user can select any of the option they like without
any choices. How can i handle this with my code? Whether the above given code satisfy
both requirement?.
2.How i can avoid playing the text present inside the choise tag?. I do't want to play
the text inside the choise tag.Or how i can apply the prosody tag with volume =0 to avoid
hearing this voice to the callee?.Please advice if any other method available?
3.If the user failed to input the key/choice the plum will play back a message
"Sorry, I didn't understand you.". How I can change the voice of the playback message?
4.I am using the choice tag to active the speech recognition, Its very difficult
to catch the matching voice input by the system even if the user tried 4 more time
simply saying "Yes".Any grammer usage will improve?. How I can improve the speech recognition?
Thanks
Reu.