Versions Compared

Key

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

One choice solution

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):

...

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. In this case it will be possible to choose in which voicemail to leave the message in by typing a number: if we type 1 we will leave a message in "Support", if we type 2 we will leave it in "Sales" or if we type 3 we will leave it in "Commercial".

Image Modified


we will use the "SWITCH" block to check the "EXTEN" variable which is the variable that stores the digit typed by the caller.

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 it is necessary to create as many internal routes as there are necessary choices:

...