How to configure IVR greeting in FreePBX.

What is IVR greeting?

 IVR greeting (also called Auto-Attendant Greeting) is what you hear when you call some company’s number, like “Thank you for calling, If you know the extension number, please, dial …”.


IVR configuration in FreePBX 13.

FreePBX allows you to configure IVR greetings without complex CLI commands and scripts, using only menus and drop-downs.

IVR call flow

Now we are going to look at how it is done step by step. I assume that you have a working FreePBX and can already place calls. The diagram shows how the call propagates after it reaches our FreePBX. First, it matches an Inbound Route, then the call is forwarded to our IVR menu, and after going through the IVR it can go to the extension.

It is better to configure things in a bottom-up manner so that we have everything ready when we need them. I assume that we have a configured and working extension, so we will go straight to IVR step.

  1. Go to Application->IVR menu and press Add IVR.
  2. Enter IVR Name.
  3. Select audio file in Announcement field. This is the audio file that will be played to the callers, like “Thank you for calling, If you know the extension number, please, dial …”. If you want to record a custom audio file using FreePBX built-in application, you can read how to do it here.
  4. (optional) Set Enable Direct Dial to Enabled if you want callers to be able to dial extension numbers while listening to the greeting.
  5. In IVR Entries section specify “0” in Digits field and select desired extension in the Destination field. This will forward callers to the specified extension(usually receptionist’s extension) when callers press “0”. You can set Destination to another IVR menu and create complex nested IVR applications.
  6. Don’t forget to press Submit and then Apply Changes.

Add IVR menu page

There are several other options which allow us to tune the IVR application, for example:

  • Invalid retries (number of times to play the prompt when receiving invalid response from the caller)
  • Invalid Destination (destination to send the call to after receiving maximum amount of invalid responses)
  • Timeout Retries (number of times to play the prompt when there’s no response from the caller)
  • Timeout Destination (destination to send the call to after the maximum amount of timeout retries has been reached)



Now that we have our IVR application ready the only thing left to do is to route incoming calls to it. Inbound Routes will allow us to do this:

  1. Go to Connectivity->Inbound Routes and press Add Inbound Route
  2.  Specify your public PSTN number in DID number field if you want to route calls coming only to specific public phone number, otherwise leave it set to “ANY”.
  3. (optional) Specify CallerID Number if you want this route to be active only for a specific caller.
  4. In Set Destination field select IVR and then choose previously created IVR application from the list.
  5. Press Submit and then Apply Changes.

Now you should be able to place calls to your PSTN number and hear your IVR greeting:)




Add a Comment