IVR Menus
An IVR (interactive voice response) menu plays a prompt and waits for the caller to press a digit. Each digit leads to a destination: an extension, a ring group, a queue, another menu, an AI assistant and so on. If the caller presses something unknown, or nothing, the menu repeats up to a limit and then uses its failover destination.
Purpose
Use an IVR menu for a main company line ("press 1 for sales, 2 for support"), for sub-menus, or for an after-hours front door.
Prerequisites
Create the destinations first, so you can pick them in the menu:
- the extensions, ring groups, call queues, AI assistants or business-hours schedules the options will reach;
- an audio source for the prompt: an uploaded recording, a URL, or text to speak. See Announcements.
Permissions
| Action | Owner | PBX Admin | PBX User | Reporter |
|---|---|---|---|---|
| See IVR Menus in the sidebar | Yes | Yes | No | No |
| Create | Yes | Yes | No | No |
| Edit or change status | Yes | Yes | No | No |
| Delete | Yes | Yes | No | No |
Supervisors do not see the page. Through the API every role of the organization can read menus; only Owner and PBX Admin can change them.
Audio source
A menu needs exactly one prompt source. On the Audio tab, Audio Resource picks between Audio File and Text-to-Speech; for an audio file, Audio Source picks between From Recordings and Remote URL. Only the source you picked is saved.
| Source | Field | Limit |
|---|---|---|
| From Recordings | Select Recording: an uploaded recording of your organization | Must belong to your organization |
| Remote URL | Remote Audio URL: a full URL to an audio file (MP3, WAV and so on) | Up to 500 characters; the form shows a counter and warns from 450 |
| Text-to-Speech | Text to Speak (SSML tags are accepted) and a Voice | Text up to 1000 characters, voice name up to 50 |
The voice list comes from the Cloudonix voice catalogue. Each entry shows the voice name, its language, provider and pricing, and its gender. Narrow the list with the Language, Gender and Provider filters and the Voice Tiers switch (All Voices or Standard Only). If your organization's Cloudonix package is the Free Tier, or it cannot be determined, only standard voices are listed and the switch is locked. OPBX reads the package live from your Cloudonix domain profile when you sign in and keeps it for one hour; it is never stored in the database. Clicking Validate and Save Settings on the Settings page refreshes it. Refresh reloads the catalogue.
If no source is set, the form shows "Choose an audio source: a recording, an audio URL, or text to speak". The API refuses such a menu with "An IVR menu must have either a recording, direct audio URL, or Text-to-Speech text configured."
Menu settings
The Menu Settings panel sits at the bottom of the Menu Options tab and is collapsed by default.
| Setting | Range | Default for a new menu | Meaning |
|---|---|---|---|
| Max Timeout (seconds) | 1 to 30 | 1 | How long to wait for the caller's first input |
| Inter-digit Timeout (seconds) | 1 to 30 | 1 | How long to wait between digits of a multi-digit option |
| Maximum Turns | 1 to 9 | 1 | How many times the menu replays on invalid or missing input before the failover is used |
| Failover Action / Failover Destination | See below | Hang Up | Where the caller goes after the last turn |
A new menu is created Active. Change the status from the list (see Activate or deactivate an IVR menu). Inactive menus are not used for routing.
Options
Each option maps digits to one destination. A menu has 1 to 20 options.
| Field | Limit | Meaning |
|---|---|---|
| Digits | 1 to 10 characters. The form accepts only 0-9, * and #. Each option needs different digits: a repeated key is marked "Each menu option must use a different key" and the menu is not saved | The digits the caller presses |
| Destination type and destination | Pick one existing item | Where the caller goes |
Add Option fills in the next digit for you (the highest numeric digit so far plus one); you can change it. The order of the rows is the option priority. Each option can also carry a description of up to 255 characters, which is set through the API only.
Destination types for an option: PBX User Extension (user and forward extensions), Ring Group, Conference, IVR Menu (a sub-menu), AI Assistant, AI Load Balancer, Business Hours, Call Queue.
A menu may point at itself, for example to repeat. Such loops are bounded by the maximum turns setting.
When the caller presses nothing or a wrong key
Each time the menu waits for input and the caller presses nothing within Max Timeout (seconds), or presses digits that match no option, that counts as one turn:
- Nothing pressed: the menu prompt plays again.
- Wrong digits: the caller hears "Invalid menu option, please try again." and the prompt plays again.
Missing and wrong input count toward the same total. For example, with Maximum Turns set to 3, a caller who presses a wrong key, then nothing, then a wrong key again goes to the failover on that third turn.
Failover
The failover is used after the last turn with no valid input. If the menu has no other failover set, the default is Hang Up: the Failover Action list shows Hang Up and Failover Destination reads "Call will end". The list offers the same destination types as the options (once you pick one of them, a destination is required), plus:
- Disconnect: only offered when editing (see Edit an IVR menu).

Workflows
Find an IVR menu
Who can do this: Owner and PBX Admin (the only roles with IVR Menus in the sidebar).
- Open IVR Menus in the sidebar.
- Type in Search IVR menus... to filter by name.
- Use the status filter (All Status, Active, Inactive) and the Unprovisioned button to show only menus with a route set to Destination unavailable.
- Click the refresh button to reload the list.
The list shows each menu's name and option count, Options, Max Turns, Created and Status. Click the Name or Status column header to sort.

Create an IVR menu
Who can do this: Owner and PBX Admin (IvrMenuPolicy::create; the Create IVR Menu button is shown to these roles only).
- Open IVR Menus in the sidebar.
- Click Create IVR Menu.
- Enter a Name.
- On the Audio tab, choose the prompt source (see Audio source) and fill in its field.

- Open the Menu Options tab and click Add Option for each choice. Set the digits, the destination type and the destination of each row. Remove a row with its trash icon.

- Click Menu Settings to open the panel. Set Max Timeout (seconds), Inter-digit Timeout (seconds) and Maximum Turns, then pick the Failover Action and the Failover Destination, or keep Hang Up ("Call will end").
- Click Create Menu.
The dialog closes, the toast "IVR menu created successfully" appears and the menu is listed. Any phone number, option or queue that points at the menu now sends callers to it.
Error display
Each problem is shown next to the field it belongs to, and a tab that holds an error is marked (!). On save the dialog switches to the first tab with an error. If the problem is in the timeouts, the maximum turns or the failover, the Menu Settings panel opens by itself so you can see it. An error returned by the server is shown as a toast.

Edit an IVR menu
Who can do this: Owner and PBX Admin (IvrMenuPolicy::update).
- Click the menu's row, or its Edit (pencil) action.
- Change the name, the audio, the options or the menu settings.
- Click Update Menu.
The toast "IVR menu updated successfully" appears. Saving replaces the whole option list with the rows in the dialog.
Disconnect (edit only): the destination type list of an option or of the failover also offers Disconnect. It sets that route to Destination unavailable: the form shows "No destination (unprovisioned). Callers hear "Destination doesn't exist". Choose a type to provision this route." Once saved, the menu is unprovisioned: its row in the list and the Edit IVR Menu dialog title carry the Unprovisioned badge, and the Unprovisioned list filter finds it. A caller who reaches that route hears "Destination doesn't exist" and the call ends. A new menu must have a destination for every option and for the failover; to provision the route again, choose a destination type.

Activate or deactivate an IVR menu
Who can do this: Owner and PBX Admin (IvrMenuPolicy::update).
- In the IVR Menus list, click the menu's Status badge (active or inactive).
The status flips, the toast "IVR menu status updated" appears and the badge changes colour. An inactive menu is not used for routing.
Delete an IVR menu
Who can do this: Owner and PBX Admin (IvrMenuPolicy::delete).
- Click the menu's Delete (trash) action.
- In Delete IVR Menu, click Delete.
The toast "IVR menu deleted successfully" appears and the row disappears.
If other configuration still points at the menu, the delete is refused with a dialog that lists every place the menu is used: a phone number, an extension that routes to it, a ring group, call queue or AI load balancer fallback, an option or the failover of another menu, a business-hours action or an auto-dialer campaign. Change those, then delete again. A menu that only points at itself does not block its own delete.

Recording and call-log history never blocks a delete.
Key data fields
ivr_menus
| Column | Notes |
|---|---|
name | Required, up to 255 characters |
description | Up to 1000 characters |
audio_file_path | URL, or the recording it refers to |
recording_id | Uploaded recording of your organization |
tts_text / tts_voice | Text to speak (up to 1000 characters) and its voice |
max_timeout, inter_digit_timeout | Seconds, 1 to 30 |
max_turns | 1 to 9 |
failover_destination_type, failover_destination_id | Where the caller goes after the last turn |
status | active or inactive |
ivr_menu_options
| Column | Notes |
|---|---|
ivr_menu_id | Parent menu |
input_digits | 1 to 10 characters, unique within the menu |
description | Up to 255 characters |
destination_type, destination_id | The target. An option set to Destination unavailable has destination_id 0 |
priority | 1 to 20 |
Related API endpoints
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /v1/ivr-menus/voices | Voices for text-to-speech, plus the organization's Cloudonix package tier (cloudonix_package, null when unknown) |
| GET | /v1/ivr-menus | List |
| POST | /v1/ivr-menus | Create (rejects "Destination unavailable" on any route) |
| GET | /v1/ivr-menus/{ivrMenu} | One menu |
| PUT | /v1/ivr-menus/{ivrMenu} | Update |
| DELETE | /v1/ivr-menus/{ivrMenu} | Delete (409 when in use) |
| PATCH | /v1/ivr-menus/{ivrMenu}/toggle-status | Toggle active or inactive |
See the OPBX REST API reference for full schemas.
Related modules
- Announcements — prompt audio
- Phone Numbers — a number can answer with a menu
- Ring Groups and Call Queues — common option targets
- Business Hours — an option can route to a schedule
- Extensions — an option can route to an extension