bargein

Allows callers to interrupt prompts.

Value

Boolean. Use 0 (zero) to play the current prompt to completion before the speech detector detects the start of speech.

Default

1 (enabled)

How to set

In precedence order:

In a VoiceXML application, using the bargein attribute of a <prompt> element, or the bargein property in a <property> element.

In the browser, using the Kill-On-Barge-In header in a SPEAK or SET-PARAMS method.

In Management Station set on the Nuance recognition service. If not using Management Station, set in a Recognizer configuration file (User-nrsxx.xml).

Usage

Frequently used. Applications set this parameter before a recognition event to force users to listen to the entire prompt, or as a troubleshooting measure after detecting problems with accidental barge-in.

This parameter allows callers to start speaking before prompts have ended. It is normally set to 1 to allow experienced callers to accomplish their goals faster. You can turn it off if, for example, you want the best possible accuracy in recognition, or if you want to force a caller to listen to an entire error message or advertisement.

Often, the thoughtful wording of the application prompts eliminates much of the need to “prevent” the caller from barging in. When designing the user interface, avoid varying bargein among multiple contexts or multiple dialog modules within an application as much as possible. If the application turns barge-in on and off, callers won’t know when it’s on and when it’s off. If they learn to barge in at one point, but they can’t later, they’re more likely to conclude that it doesn’t work reliably or that they have to shout, than that barge-in was turned off for a specific reason.

You can also turn off barge-in for a brief period at the beginning of a prompt. See swiep_suppress_barge_in_time.

The call log describes barge-in in the SWIendp event (including the BRGN and BTIM tokens). For details, see SWIendp—end pointer.

Sample definition in a VoiceXML application:

<property name="bargein" value="1"/>

VoiceXML often uses the bargein attribute for prompts:

<prompt bargein="1">
  For what city and state would you like the weather?
</prompt>

The browser sets bargein in a SPEAK request:

Kill-On-Barge-In:false

Related parameters