- Created by Wikid, last modified on Dec 07, 2017
Applies to VoipNow 3 and higher!
This article describes how to easily create and configure an IVR (Interactive Voice Response) extension using VoipNow. The example below will teach you to set up an IVR extension, add and edit a context, define actions for menu options and generate the IVR from the VoipNow web interface. The IVR will contain two menu options: 1 for forwarding the user's input to an extension number from the keypad and 0 for transfer to an operator.
Create an IVR extension
STEP 1: Log in to the VoipNow web interface with an admin, Service Provider, Organization or User account.
You need to enable extensions and users management in the Charging Plan assigned to the Service Provider/Organization account. Also, enable extensions management in the Charging Plan assigned to the User account.
STEP 2: Go to Extensions in the main menu.
STEP 3: Click Add extension in the Tools section. If you are using an admin, Service Provider or Organization account, you will be asked to select from the table the User account to which the extension will be added.
- Provide the required information about the new extension:
- Number: 222
- Template: Select an existing template or leave it like it is
- Type: IVR
- Label: IVREXAMPLE
- Select the Select extension type parameters checkbox and click OK to save data and move on to set up the IVR extension
- In the Configure IVR {label_name} page you can set up the IVR extension's behavior:
- Enter MYIVR in the Name field.
- To clone the settings of an existing IVR, select the source extension in Clone IVR settings.
- Choose the directory containing the music on hold that will be played to callers. All the MOH files will be cycled, so it is recommended to select more than one sound.
- Enter the default timeout period. This is the time interval during which an IVR caller can remain inactive while the IVR waits for input.
- Also, you may enter a short description for the IVR extension.
- and then click Ok to save the settings.
- Click OK to save the settings. At this point, the IVR extension has been created and you need to define its behavior. For this, you will be redirected to the management page of the newly created IVR extension.
Create a new context for IVR
- Click Add context in the Tools section..
- Fill in a Name for the context, in our example "Start".
- Select the This is the entry context checkbox as we want this to be our entry context.
- Click OK to save the new context.
- Then edit the Context Options, as described in the next section.
Edit the Start option for our context
The Start option is automatically activated when somebody calls the IVR extension. To edit it, follow the next steps:
- Click the Start link to define a set of actions.
- We want our IVR to start with a welcome sound. For this, from the Edit Actions for Start Option start page:
- Select the Play sound file option from the Action drop-down list.
- The Add in position text box should have 1 as a default value.
- Use the controls available in the Action Details section to choose one of the sound files available on your account and to set it to be played in the Background.
- Click OK to save the changes.
If you click the Generate IVR link now, the extension will only play the sound file and disconnect after the previously defined timeout.
- We want the caller to hear "1 to reach operator". We can do this by playing two sound files that come with all VoipNow distributions:
- Select the Play value option from the Action drop-down list.
- The IVR will play a sound file corresponding to number 1 and the caller will hear e a female voice speaking. Set the options as displayed below.
- Click OK to save the changes.
It is probably best to record your own sounds to define a menu.
- Select the Play sound file option from the Action drop-down list and choose the to-reach-operator sound file.
- We want to record the number entered by the callers from their phone keypad to use it later in order to jump to another option:
- Select the Record digits to variable option from the Action drop-down list.
- We will save the number entered by the callers to a variable named
menuopt
. The callers will have a 5-second interval to enter the number from their phone pad. Use the controls available in the Action Details section to set the values below.
- Add rules to jump to other options: if the caller presses 1, jump to option 1 in the Start context; if the caller presses 0, jump to option 2 in the Start context.
- Select the Jump to context action. Enter the following values:
- "Select Start at option 1 if variable menuopt equal to 1"
- Select the Jump to context action. Enter the following values:
- "Select Start at option 2 if variable menuopt equal to 0"
- Select the Jump to context action. Enter the following values:
Define actions for option 0
- Click Up level to return to context editing.
- Click the 0 option.
- Add a pls-stay-on-line sound action as shown above.
- Add a Transfer to extension action. Use the controls available in the Action Details section to select a current extension offering support (it can be either a Phone terminal extension with one support operator or a Queue extension with several operators).
- Add an Alter CallerID with value action and enter the following data: Prepend CallerID with value 222
You can modify the CallerID to mark the fact that the call originated from your IVR.
Define actions for option 1
- Click Up level to return to context editing.
- Click the 1 option.
Add a Record to digits variable action and enter the following data:
Add a Transfer to extension from variable action and enter the following data:
- Record 3 digits to variable transfext
- Stop recording after 4 seconds of inactivity
- [x] Play before recording enter-ext-of-person
Transfer to extension from variable transfext.
Generate the IVR
Click the Generate IVR link in the top menu bar. VoipNow will compile all the context, options and actions you provided, creating a fully functional IVR.
Related articles
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.