05-03-2012 01:32 AM - edited 03-14-2019 09:47 AM
Hi,
I'd like to take control of the type ahead buffer within my VXML script developed in Call Studio.
So far the only thing I could find about it is a reference to a VXML prompt attribute, but nothing about how it can be set in Call Studio. Has someone successfully used this? If yes, can this be set within Call Studio?
Thanks,
Attila
http://www.cisco.com/en/US/docs/ios/voice/vxml/developer/guide/refgde1.html#wp1049198 says:
"cisco-typeaheadflush Attribute for <prompt>
The default value of cisco-typeaheadflush is false. A false value means that the typeahead buffer is not flushed after the prompt plays out. If the prompt is bargeinable, the digit which barges in is not flushed.
"
Solved! Go to Solution.
05-03-2012 11:15 AM
So you could just insert an audio element with a short WAV file of silence that is bargeable to swallow the type-ahead and then they cannot barge in on the special audio element that you want them to hear in entirety.
Regards,
Geoff
05-03-2012 04:25 AM
Type ahead is what most callers want. This means they can navigate through a menu tree to child nodes by typing a couple of digits at the top level.
"The VoiceXML specification does not provide information on explicit control over the type-ahead buffer. The type-ahead buffer is always enabled when a call comes in. "
But it does seem that Cisco provide the ability to do this in the IOS Voice Browser. So set the VXML property "com.cisco.typeaheadflush" to "true" on the audio element.
Regards,
Geoff
05-03-2012 05:20 AM
Thanks Geoff,
I'll give it a go.
The use case is when optional (bargeable) prompts are played to the caller and are followed by an important message (non bargeable). Without clearing the buffer the non bargeable prompt is just skipped.
Attila
05-03-2012 06:04 AM
OK, I understand. I hope this works - I have never tried that VXML property.
Regards,
Geoff
05-03-2012 06:45 AM
I have tried it saving as Element Data and as Session Data. Neither of those worked. I guess because they are vxml properties and not prompt attributes.
According to the VXML dev docs it should be a prompt level attribute, just like the barge in statement.
I guess the generated VXML should look like:
The problem is that the only option at that level in Call Studio is the barge setting.
I know this can be achieved using micorapps using a microapp config parameter... I'm just looking for a way of doing the same in VXML.
05-03-2012 08:21 AM
you can add VXML properties - like so
Regards,
Geoff
05-03-2012 09:15 AM
I've tried configuring it in the settings tab just like you had on the screenshot with both com.cisco.typeaheadflush and the cisco-typeaheadflush too.
Unfortunately the non bargeable prompt is still skipped after a bargeable prompt having those set.
Shall I be thinking of writing my custom Audio element for this?
This is the generated VXML by the way:
05-03-2012 11:15 AM
So you could just insert an audio element with a short WAV file of silence that is bargeable to swallow the type-ahead and then they cannot barge in on the special audio element that you want them to hear in entirety.
Regards,
Geoff
05-03-2012 11:43 AM
Yes, I think without custom code the only way doing this is adding a Silent Menu/Form with a 1 sec timer. Not great, I'll keep looking.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide