Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The "ExitWithKey" queue option allows the caller to exit from a queue with a key (a single digit)  for further actions.

For example, we want to ask to the caller to leave a message to the voicemail while he is waiting for a free agent.

Image Modified

Queue settings

In the queue advanced settings, set the context to use to enable the ExitWithKey feature (e.g. exit-queue)

Image Modified

Context and exit route definition


Create a new context in the Voice/Contexts section:

Image Modified

You are free to use any name for the context, but remember that the context name must be the same you set in the queue advanced settings.


Now you need to create an internal route in that new context (or inbound, the context is the one that matters):

...

And in that internal route define a couple of custom applications ( the Return application is the important one, while the verbose is used for debugging):


Tip
iconfalse
With this configuration, the caller goes to the VOICEMAIL block only when:
  • reach the queue timeout
  • press the digit 1
Otherwise the caller remains into the queue, keeping the current queue position.



Page Properties
hiddentrue
Related issues

...