Skip to content

IVR

A menu that plays to the caller and sends them on by the key they press.

app.onsim.uk/team/ivrs/500
Main menulabel
FieldTypeWhat it isOn app.onsim
idintegerThe ID of the IVR. It does not change when the extension does.Not shown.
extensionstringWhat others dial to reach it. It can change.The line under the name. It is also in the address of the page.
labelstringThe label of the extension, as app.onsim and the call records show it. It is not the name of a person.The name beside the mark.
menusoptionallist of IvrMenuThe menus of the IVR. An IVR that plays no menu has none.Not shown.

Every IVR has a menu with the name ROOT, which a caller hears first. It can have more, each with a name of your own. A caller gets to one of those through a step with the action menu.

FieldTypeWhat it is
namestringThe name of the menu. Every IVR has a menu with the name ROOT, which a caller hears first. A step with the action menu goes to another.
activeoptionalstringWhen the menu is active, in words: Always, or a schedule.
keyslist of IvrKeyThe steps of the menu.

A step says what the menu does when the caller presses a key. Three steps have no key: timeout, when the caller presses none; inactive, when the menu is not active; and fax.

FieldTypeWhat it is
keystringWhat starts the step: a key from 0 to 9, * or #. Also timeout when the caller presses no key, inactive when the menu is not active, and fax.
actionstringWhat the menu does: transfer, menu, queue, voicemail, directory, dial_extension, make_call, hang_up, none or other. More values can come.
extensionoptionalstringFor transfer to an extension: the extension that the menu dials.
numberoptionalstringFor transfer to an outside number: the digits of that number.
menuoptionalstringFor menu: the name of the menu that comes next.

A transfer goes to an extension or to an outside number. An extension is that of a User, a Hunt Group or another IVR. Each of those has the same extension field.

{
"id": 1070,
"extension": "500",
"label": "Main menu",
"menus": [
{
"name": "ROOT",
"active": "From 09:00 Till 17:00, on Monday-Friday",
"keys": [
{
"key": "1",
"action": "transfer",
"extension": "300"
},
{
"key": "2",
"action": "menu",
"menu": "BILLING"
},
{
"key": "timeout",
"action": "transfer",
"extension": "201"
},
{
"key": "inactive",
"action": "voicemail"
}
]
},
{
"name": "BILLING",
"active": "Always",
"keys": [
{
"key": "1",
"action": "transfer",
"extension": "203"
},
{
"key": "timeout",
"action": "hang_up"
}
]
}
]
}

The list gives each one with id, extension and label only. The get gives every field.