Nesting IVRs

There are two ways to "nest" or otherwise combine IVRs.

The first way is to use the sub-menu system list, as mentioned. Simply create two or more IVR menus as if they were independent menus, with each one having a unique name. Then, from the main IVR, create an entry option with an action of menu-sub and a param containing the name of the child IVR.

  <entry digits="1" action="menu-sub" param="child_ivr"/>

The advantage to creating your menus this way is that you gain the ability to use the menu-back action to allow callers to get to the previous IVR menu, useful if you might have multiple parents calling the same child menu.

The other way to use sub-menus is to assign each IVR a unique extension number and simply transfer the caller from ...

Get FreeSWITCH 1.0.6 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.