Audium Knowledge Base

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Jump to ID Browse by Category
How to limit the number of times a caller can repeat a menu
Categories: Audium Studio (3.4.x)
Article ID: 36
Last updated: November 02, 2006
User Opinions
No users have voted.

How would you rate this answer?
Helpful
Not helpful
SUMMARY

This articles describes how to prevent a caller from repeating a menu prompt indefinitely.

SYMPTOMS

Developer allows callers to repeat a menu prompt (e.g. "Press 9 to hear these choices again.").  However, the developer does not want the user to be able to do this indefinitely.

RESOLUTION

This can easily be accomplished with Audium Builder for Studio. Connect the exit state that is followed when the user presses the repeat DTMF to a Counter element instead of directly back to the voice element. Then, connect the Counter element's exit state to a Decision element. Next, write some decision logic that looks at the "count" variable stored in your Counter's element data, to determine if the user has used the repeat option too many times. If so, exit to a Hang Up element. If not, send them back to the voice element as usual. This decision can easily be written using an XML decision, or it can be implemented as a Java class.

To see details about the Counter element, including the information that the counter value is stored in a variable named "count", please refer to the Element Specifications. These specifications list all the variables that each built-in Audium element creates at runtime.

For a step-by-step guide on how to use an XML decision, take a look at the AgeIdentification tutorial in our Tutorials & Advanced Sample Audium Applications forum.
Visitor Comments
  1. Comment #1 (Posted by Nathan)
    Hi anyone give me the tutorials for Audium software?
     
  2. Comment #2 (Posted by AudiumMichael)
    Hi Nathan,

    Please refer the article # 64 for detailed information about tutorials for Audium software.

    Regards, Michael
     
Related Questions
Attachments
No attachments were found.

Copyright (c) 2005 Audium Corporation. All rights reserved.
Audium Home | Audium Support Center Home | Audium Customer Care Home