| How can I cause a particular DTMF input (e.g. dtmf-*) to trigger help audio? |
| Categories: Audium Studio (3.4.x), Audium Studio 5, Audium Studio 5.1 |
| Article ID: | 272 |
| Last updated: | February 22, 2007 |
| User Opinions |
|
No users have voted.
|
|
Thank you for rating this answer.
|
SUMMARY
Audium Studio's built-in elements provide support for platform-specific help utterances to trigger custom help audio. However, some developers may wish to also assign a specific DTMF value to trigger help audio as well.
SYMPTOMS
N/A
RESOLUTION All built-in voice elements provided with Audium Studio offer help functionality. This help functionality leverages the "help" universal, which enables a global help grammar (see section 6.3.6 of the VoiceXML 2.0 spec for details about universals). When this grammar is triggered, the active voice element is notified and will play help audio if its help audio group has been configured.
The global help grammar is provided by the voice browser / ASR engine being used, and may differ from platform to platform. When this grammar is matched, the browser throws a "help" event, which the active voice element catches to trigger the help audio. You can add additional grammar items to the global help grammar by adding Hotlink elements to your application that throw the event "help".
For example, to add a grammar item that will match dtmf-*:
1) Drag a Hotlink element into your application's call flow. 2) In the Hotlink's configuration, select "Inline" from the DTMF drop-down box. 3) Enter "*" as the inline DTMF value. 4) Check the "Throw Event" checkbox. 5) Enter "help" as the event name to throw.
When you save and deploy your application, your voice elements will now also accept dtmf-* as a trigger for the help audio group, in addition to your platform-specific help grammar.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Related Questions |
|
No related questions were found.
|
| Attachments |
|
No attachments were found.
|