A number answers in one of two ways, and the number's mode decides which:
| Mode (Phone & SMS › the number › Webhook Configuration) | How calls are answered | Set where |
|---|---|---|
| Direct Voice (the default) | Rings the people the number is assigned to, or an AI, or forwards. When nobody answers, a failover runs. No menu, no business hours. | On the number: Phone & SMS › Phone Configuration › Call Handling |
| IVR Menu | Runs the number's IVR routing record: Forward to a group, AI assistant, Simple menu, or Automation flow, with business hours. | AI, IVR, Automation › IVR & Phone System (/ivr) |
Saving an IVR routing does not switch the number. A routing for a number still in Direct Voice mode is never used for its calls (only its missed-call actions and voicemail settings are read — see Voicemail and missed-call text back).
For the person-facing walkthrough (turning on the phone service, buying, SMS registration, devices), see Set up a phone number. This skill does the configuration.
Ask first
- Which number? Find it on
phone(find_records,data.phoneNumberin E.164, e.g.+12145550100). If the business has none, see step 1: buying is a person's job. - Who should answer? Named people (their sign-in emails), a team (a user group), an AI assistant (by name), or an AI employee.
- Is a menu needed? "Press 1 for sales, 2 for support" means IVR Menu. "Just ring us, and AI if we don't pick up" is Direct Voice.
- Business hours, and the time zone. Every open day with its hours, and what callers get when closed. Holidays by date.
- What happens when nobody answers? Voicemail, an AI, another number, or a message. Missed-call texts are their own skill.
Steps
1. Phone & SMS: the number
Find the phone record for the number. Take its sk and phoneNumber.
If there is no number:
call_appengineGET /phone/available?areaCode=<area code>&countryCode=USlists numbers that can be bought. It costs nothing.- Stop. Buying a number costs a monthly rental, and the phone service must be turned on first (its agreement and charges are shown on Phone & SMS). Show the person the numbers and send them to Configuration › Phone & SMS (
/phone-system) to buy one. Don't callPOST /phone/numbersorPOST /phone/setupyourself.
Hands on: the phone's sk and phoneNumber.
Check: the number is listed on Phone & SMS (/phone-system), status active.
2. Users & Groups: who it rings
A number rings the people it is assigned to, on every device where they are signed in (the Studio softphone or Appmint Mobile). Assignment is on the phone record:
| Field | Value |
|---|---|
data.assignedUsers | sign-in emails, e.g. ["[email protected]"] |
data.assignedGroups | user group names; everyone in the group's users rings |
Write both with update_record_partial on phone (send the whole list). For a team, find the usergroup and check its users first.
An AI employee answers a number when its user email is in assignedUsers, it is active and its voice is on. Assigning is the switch. If the number has only AI employees and they are off, the caller gets the failover (step 3) or the unassigned greeting.
A number can have only one AI. A save that would give it a second AI (an AI employee, the number's AI assistant, an IVR AI assistant) is refused with 409 NUMBER_HAS_AI, naming the AI that already has it.
Hands on: the assigned emails and group names. Check: the Assigned To column on Phone & SMS shows them.
3. Phone & SMS: Direct Voice answering (no menu)
Skip to step 4 if the person wants a menu or hours.
Set it with the number's own update, call_appengine PUT /phone/numbers/<phone sk> with { "voiceConfig": { … } }. It checks the AI choice, which a raw write does not. voiceConfig is merged one level deep, so send failover and ai whole.
voiceConfig field | Value |
|---|---|
inboundMode | ring (the assigned people), ai, or forward |
ai | { assistantId: "<ai_assistant sk>", greeting, context } — for ai, or for a failover to AI |
failover | { enabled: true, action, ringTimeoutSeconds, forwardTo, message } — what happens when the people don't answer. action: forward (to forwardTo, E.164), ai, voicemail, message (says message, hangs up) |
voicemailGreeting | what a failover voicemail says before the beep |
unassignedMessage | said when nobody is assigned; empty = hang up silently |
callerIdMode / customCallerId | the number shown on a forwarded call: caller, office, custom |
forwardsends every call tofailover.forwardTo. The Forward to number box on screen writes that same field.aiwithout an assistant is refused: Set up an AI assistant first… An assistant with phone calls off is refused too.ringTimeoutSecondsis how long the people ring before the failover (30 when unset).- If the org can't pay for the AI's voice, an AI line rings people instead.
Hands on: the saved voiceConfig.
Check: reopen the number's Phone Configuration; Call Handling shows the choice.
4. IVR & Phone System: the routing record
Find any ivr_routing whose phoneNumbers already has the number. Update it rather than add a second: with two, which one answers is not reliable. Otherwise create_record on ivr_routing:
| Field | Value |
|---|---|
name | letters, digits, -, _; unique, e.g. main-line |
displayName | e.g. "Main line" |
phoneNumbers | ["<phoneNumber>"] |
routingType | forward, ai-assistant, simple_menu or automation_flow |
enabled | true |
forwardingGroups | where calls ring (below) |
Forwarding groups — { id, name, strategy, targets, ringDuration, fallback }:
strategy:simultaneous(all at once),sequential(one by one,ringDurationeach, default 20 s),round-robin(starts with the next person each call).targets:{ type: "phone", value: "+1…", label }. Onlyphoneandsipring.agentandqueuetargets are skipped.fallbackwhen nobody answers:voicemail(needsmenuSettings.voicemailEnabled: true),ai-assistant(needsaiAssistantConfig.assistantId), orhangup.automationis not built: the caller hears "No one is available" and the call ends.
By routingType:
| routingType | Also set |
|---|---|
forward | forwardConfig: { forwardingGroupId, greeting }. Business hours don't apply. |
ai-assistant | aiAssistantConfig: { assistantId, greeting, context, canTransfer, fallbackForwardingGroupId }. The AI is given the menus and forwarding groups, so it can transfer to them, and told whether the business is open now. |
simple_menu | menus and menuAssignments: { normalHours, afterHours, holiday } (menu ids) |
automation_flow | automationAssignments: { normalHours, afterHours, holiday } (automation ids). See IVR actions. |
A menu — { id, name, greeting, options, timeout, maxRetries, defaultAction }. After the greeting the line reads every option itself as "Press 1 for sales." So write label as the words after "for" ("sales"), and keep the options out of the greeting.
option action | actionParams (a string) |
|---|---|
forward | a forwarding group's id — the way to ring a team |
transfer-phone | an E.164 number |
menu | another menu's id |
voicemail | none |
ai-assistant | the AI assistant's sk |
hangup | optional goodbye words |
timeout is the seconds to wait for a key (10 when unset). After maxRetries silent or wrong tries (3 when unset), defaultAction runs.
In a simple menu, Transfer to User and Transfer to Group don't work. They dial the user's or group's id as if it were a phone number, and the call fails. Put the team in a forwarding group and use forward. collect-payment, verify-caller, play-consent and custom-webhook aren't built for simple menus: the caller hears "Invalid option" and is hung up on.
Business hours — businessHours: { enabled: true, officeHours, holidays, offDays }:
officeHours: one row per open day,{ dayOfWeek: "Monday", timezone: "America/Chicago", startTime: "09:00", endTime: "17:00" }("All"for every day).holidays:{ date: "2026-12-25", name, closed: true }.offDays:{ date, description }, treated as after hours.- In a simple menu, a day with no row is after hours.
- For AI and automation flow lines, a day with no row counts as open, and only the first row's time zone is used (New York when none). Give those lines a row for every day the person means.
Leave menuSettings.recording off unless the person asks. Recording laws differ by place.
Hands on: the routing's sk.
Check: open AI, IVR, Automation › IVR & Phone System (/ivr). The routing is listed with the number. Its Review & Save tab summarizes the menus and groups.
5. Phone & SMS: switch the number to IVR Menu
Stop. From this moment every caller to the number gets the routing. Show the person:
- the number, and what a caller hears first (the greeting, each option);
- who rings for each option, and the fallback when nobody answers;
- the hours and time zone, and the after-hours menu or flow.
After a clear yes: call_appengine POST /phone/numbers/<phone sk>/routing with { "mode": "ivr" }. It points the number's voice webhook at the IVR and saves routingMode: "ivr" on the number. { "mode": "voice" } switches it back.
Hands on: the number's routingMode.
Check: Phone & SMS › the number › Webhook Configuration shows IVR Menu, and its Voice URL ends in /ivr-menu?orgid=…. A person places one test call.
When it's done
Tell the person:
- the number and its mode (Direct Voice or IVR Menu);
- who it rings, and on which devices they must be signed in;
- what callers hear, by hours, and the time zone used;
- what happens when nobody answers;
- anything waiting for them: buying the number, the switch to IVR Menu, a test call.
Open Phone & SMS on the number, or the routing on IVR & Phone System.
What it can't do yet
- Whisper and screening aren't built. A forwarding group's
whisperandscreeningsettings are saved, but the person answering hears nothing first and can't decline. - Forward routing ignores business hours. For different after-hours handling, use a simple menu, an AI line or an automation flow.
- Phone Configuration's "Enable call forwarding", "Enable voicemail" and "SMS Settings › Enable auto-reply" do nothing. They are saved on the number and never read. Call Handling and its failover are what work.
- The company calendar counts as a holiday only on AI and automation-flow lines. A simple menu reads only the routing's own
holidays. - Nobody signed in means nobody rings. In
ringmode the call rings signed-in devices only. With nobody signed in, it goes straight to the failover.
Don'ts
- Don't buy a number, start SMS registration or switch the mode without a yes. Each costs money or changes live calls.
- Don't use
transfer-userortransfer-groupin a menu. Use a forwarding group andforward. - Don't list the options in the greeting. The line reads them out already.
- Don't give one number two enabled routings.
- Don't send a menu or group list with only the new item. Send the whole array, or the others are wiped.