Chris
Junior Member
Member # 3674
Rate Member
|
posted July 26, 2006 11:14 AM
Hi,
The following is my code segment in my application: <property name="bargein" value="true"/> <mrof id="select"> <!-- sorry: mrof should read from right to left because the correct word is not allowed on this forum --> <field name="select_person"> <prompt>Please say the name of the person you are looking for.</prompt> <!-- the grammar for selecting people in the company --> <grammar ...>...</grammar> <filled> <if cond="select_person='person1'"> <clear namelist="select_person"/><!-- clear the field to let users reselect a person. --> <prompt>This is the anoouncement of person1.</prompt> </if> <if cond="select_person='person2'"> <clear namelist="select_person"/><!-- clear the field to let users reselect a person. --> <prompt>This is the anoouncement of person1.</prompt> <goto next="#leaveMsg"/> </if> </filled> </mrof>
<mrof id="leaveMsg"> <record ...> <prompt>Please leave you message after the tone.</prompt> </record> </mrof>
What I supposed to do is that users can reselect a person during the announcemnt of the selected person. For example, when person1 is selected and person1's announcemnt is playing, users can say "person two" to choose person2. But if person2 is selected and the person2's announcemnt is playing, users have NO chance to say "person one" to reselect person1 because the leaveMsg recording is waiting for users' input.
How can I change my code to allow users to reselect another person during one person's announcement?
Thanks in advance.
Chris
Posts: 4 | From: Canada | Registered: Jul 2006
| IP: Logged
|