> For the complete documentation index, see [llms.txt](https://kb.hostednetwork.com.au/support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.hostednetwork.com.au/support/services/voice-over-ip-voip/general/yeastar/getting-started/setting-up-an-ivr-auto-attendant-in-yeastar.md).

# Setting Up an IVR (Auto Attendant) in Yeastar

An IVR plays a recorded menu ("Press 1 for Sales, press 2 for Support...") and routes callers based on what they press, so calls reach the right place without a live receptionist.

**Prerequisite**: Have a greeting recorded or an audio file ready to upload (WAV/MP3) before you start.

**To set up an IVR:**

1. Go to **Call Features > IVR**, click **Add**.
2. On the **Basic** tab, configure:
   * **Number** - the internal number used to reach this IVR directly (default range 6200–6299).
   * **Name** - something identifiable, e.g. "Main Menu".
   * **Prompt** - upload or record the greeting; you can chain up to 5 audio files.
   * **Prompt Repeat Count** / **Response Timeout** / **Digit Timeout** - how many times the greeting replays and how long the system waits for caller input.
   * Optional toggles: allow callers to dial extensions directly, dial ring groups/queues/conferences by number, place outbound calls, or check voicemail - all from within the IVR.
3. On the **Key Press Event** tab, assign a destination to each key (0–9, \*, #): an extension, voicemail, another IVR (for multi-level menus), a ring group/queue, an external number, or hang up. Also set:
   * **Response Timeout** destination - where to send the call if the caller doesn't press anything.
   * **Invalid Input Destination** - where to send the call if they press a key that isn't assigned.
4. Click **Save and Apply**.
5. Finally, point an inbound route to this IVR (Section 2) so calls actually reach it.

**Useful IVR variations:**

* **Multi-level IVR**: assign another IVR as a key press destination to build sub-menus (e.g., Sales → Region A / Region B).
* **Time-based key routing**: route the same key press to different destinations depending on business hours vs. after hours.
* **Remote prompt changes**: enable "Dial #9 to Modify IVR Prompt" so an authorized user can call in and re-record the greeting on the fly (handy for unplanned closures).

If you run into an issue that isn't covered here, [our support team is here to help.](/support/getting-started/getting-support.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kb.hostednetwork.com.au/support/services/voice-over-ip-voip/general/yeastar/getting-started/setting-up-an-ivr-auto-attendant-in-yeastar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
