VoiceXML Forum Community Message Board


Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» VoiceXML Forum Community Message Board   » Newbies   » Barge-in during an announcement

 - UBBFriend: Email this page to someone!    
Author Topic: Barge-in during an announcement
Chris
Junior Member
Member # 3674

Rate Member
Icon 1 posted July 26, 2006 11:14 AM      Profile for Chris   Email Chris   Send New Private Message       Edit/Delete Post   Reply With Quote 
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


All times are Eastern  
Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | VoiceXML Forum



Powered by Infopop Corporation
UBB.classicTM 6.3.1.2