Transfers to a person
Let an agent hand a live call to someone at your business, and what the person and your systems get.
An agent can hand a live call to a person at your business: a caller who asks for someone, a complaint, a lead ready to buy. The agent tells the caller it is connecting them, Tone rings the person, and the person hears a short spoken brief before they take the call. If nobody takes it, the caller is back with the agent, which carries on where it left off.
A transfer is set up in two places: destinations (who may be rung) and the agent's transfer setting (when it rings them).
Destinations
A destination is a person or a desk, with a number and the language they are briefed in. It must be verified before any agent can transfer to it: Tone sends the number a six-digit code, and you send the code back. That proves the number is reachable and that whoever has it agreed to take calls.
A mobile number gets the code on WhatsApp, by default; any number can get it by a call
that speaks it ("channel": "call"), the only way for a landline. verification.channels on
the destination lists what its number can use, default first. A WhatsApp message reaches only a
number that has WhatsApp, and a landline in an area whose STD code starts with 6, 7 or 8
(Ahmedabad, Bangalore, Patna) looks like a mobile number, so it is offered WhatsApp too.
verification.delivery says how a WhatsApp code went, a few seconds after it was sent:
sent, delivered, read, failed, or not_on_whatsapp. On failed or not_on_whatsapp,
or if a code does not arrive, ask for it by call.
curl -X POST "$TONE_API/v1/transfer-destinations" \
-H "Authorization: Bearer $TONE_KEY" -H "Content-Type: application/json" \
-d '{
"key": "delivery_team",
"label": "Delivery team",
"e164": "+919876543210",
"language": "hi-IN",
"hours": [{ "days": "mon-sat", "from": "09:30", "to": "19:00" }]
}'
# on WhatsApp (the default for a mobile); add -d '{"channel":"call"}' to have it spoken instead
curl -X POST "$TONE_API/v1/transfer-destinations/$DEST/verify" -H "Authorization: Bearer $TONE_KEY"
curl -X POST "$TONE_API/v1/transfer-destinations/$DEST/confirm" -H "Authorization: Bearer $TONE_KEY" \
-H "Content-Type: application/json" -d '{ "code": "482913" }'hoursare in IST. Outside them the agent tells the caller nobody is available instead of dialling. Leave them out to take transfers at any time.- Changing the number puts the destination back to
pendinguntil it is verified again. - A number can be sent three codes a day, and a workspace twenty, on WhatsApp and by call together, at most one a minute.
POST …/disablestops transfers to it without deleting anything.DELETE /v1/transfer-destinations/{id}removes it for good. It is refused (409) while an agent still names it; the message says which. Past transfers keep its name.
The agent's setting
callSettings.transfer on the agent names the destinations it may use and, for
each, when to use it — in plain words the agent reads:
{
"transfer": {
"destinations": [
{ "destinationId": "…", "when": "The caller wants a new delivery date.", "fallbackDestinationId": "…" },
{ "destinationId": "…", "when": "A question about a charge on their card." }
],
"defaultDestinationId": null,
"requestPhrases": true,
"dtmfKey": null,
"ringTimeoutSeconds": 60,
"handoff": "cold",
"recordHumanSegment": true,
"blindTransfers": false,
"preTransferLine": { "text": null },
"afterMissLine": { "text": null }
}
}| Field | |
|---|---|
requestPhrases | Transfer as soon as the caller clearly asks for a person, without waiting for the agent to decide |
dtmfKey | A keypad key that transfers to the default destination. Never 9, the opt-out key |
ringTimeoutSeconds | 10–60, default 60. A declined call keeps ringing for the whole of this on Indian mobiles. On a cold handoff over a Plivo number it is the whole wait: the phone ringing, the brief and the key press must all fit inside it, so a low value can cut the person off as they press 1 |
destinations[].fallbackDestinationId | Who to try next when nobody at this destination takes the call — another of the agent's destinations. See A second person |
handoff | cold (the default): the agent lets go and the caller waits while the person is rung. warm: the caller stays with the agent until the person has pressed 1 — see Warm handoff |
recordHumanSegment | Record and transcribe the part after the handoff. The caller and the person are both told, unless skipBrief is on: then only the caller is |
skipBrief | The person hears only "Press 1 to take the call." and is connected as soon as they press it. See Skipping the brief |
blindTransfers | Also transfer on calls over VoiceLink numbers, which can only hand over blind. Off by default — see On VoiceLink numbers |
preTransferLine, afterMissLine | What the agent says as it transfers, and when nobody took the call. null uses Tone's lines |
Like every setting, it takes effect when you publish the agent.
What happens on a call
- The agent says the pre-transfer line and lets go of the call. When the person's part is recorded, the line ends by telling the caller so.
- Tone rings the destination from your number. The caller hears a ringback tone; the person hears a brief — who is calling about what — and on Plivo numbers presses 1 to take the call. They have about a minute from the start of the brief, which repeats while they decide.
- Taken: the caller and the person talk. The call ends when either hangs up.
- Not taken (no answer, busy, declined, outside hours): the caller is back with the agent, which says the after-miss line and carries on. A call can make at most two attempts.
- Called off: a caller who says "no, wait" (or "रुको", "રહેવા દો") while
the line plays stays with the agent, and the attempt ends
caller_cancelled. Once the person's phone is ringing it is too late to call it off.
Transfers run on Plivo and Exotel numbers and on your own SIP trunk.
On VoiceLink numbers they are blind, and only for an agent that turns blindTransfers on — see
On VoiceLink numbers. A VoiceLink number can also be moved onto Tone's
SIP gateway — ask support; its transfers are then warm, like a SIP trunk's, and the
person's minutes bill at ₹2.00.
Warm handoff
With handoff: "warm", on calls over Plivo numbers, the caller never waits on hold for someone
who may not answer:
- The agent says it is checking whether someone can take the call, and keeps talking with the caller.
- Tone rings the person as a call of their own. They hear the brief and press 1. They have
about a minute to decide: the brief plays twice, with time to think after each. After they
press 1 they hear a second short part — the caller's name, when the call carries a
customer_namevalue, and the agent's note — and wait a moment. - The agent tells the caller the person is on the line, and the two are connected.
If the person does not answer, declines, or never presses 1, the caller was with the agent the whole time: it says the after-miss line and carries on. A caller who says "no, wait" while the person's phone is ringing or they are listening to the brief calls it off; once they have pressed 1 it is too late. After about 20 quiet seconds the agent says once that it is still trying.
Every other call — Exotel numbers, and calls whose agent is set to cold — is handed over cold.
Transfers run on calls over Plivo and Exotel numbers, and on calls over your own SIP trunk. On test keys and in the dashboard's test calls the transfer is simulated: nobody is rung, the agent says the line and lets go, and the attempt is taken after 3 seconds and ends 10 seconds after it began, with the same webhooks a real one sends.
Skipping the brief
Set skipBrief and the person hears only "Press 1 to take the call." They are
connected as soon as they press it, with nothing about who is calling or why. It
works on cold and warm handoffs: on a warm one, nothing is said after the key
either. On Exotel numbers, which have no key, they are connected as soon as they
answer.
The brief is also what tells the person the call is recorded, so with skipBrief
on and recordHumanSegment on, the person is recorded without being told. Tell
them another way, or turn recording of their part off. The caller is still told.
The webhook and links.handoff carry the same details either way.
What the person gets
Besides the spoken brief, each transfer webhook carries links.handoff: a page
showing what the caller has said so far, the values the call was placed with,
and a short summary, written while the phone rings. Anyone with the link can open
it for 24 hours, so send it to the person taking the call and nowhere else. See
Webhooks for call.transfer_started, call.transferred and
call.transfer_failed.
On Exotel numbers, call.transferred is sent when the person's phone fetches the
brief, which is usually when they pick up. Exotel sometimes fetches it while the
phone is still ringing. So a few minutes after the call, Tone checks Exotel's own
call record. If it shows the person never answered, the attempt is corrected to
failed with its outcome, and call.transfer_failed follows. The correction
changes the record only; the call's charge stays as it was billed.
On your own SIP trunk
On a call over your own SIP trunk, the person is rung over that same trunk — through your carrier, from the number the call is on — and every transfer is warm: the agent keeps talking with the caller while the person hears the brief and presses 1, then the two are connected. Nothing on the trunk side changes; the trunk needs an outbound host, as for any call the agent places.
The person's minutes bill at ₹1.50 a minute — no agent runs for them, and your carrier, not
Tone's, carries their leg. Their part is recorded and transcribed live, as on Plivo, unless the
agent's recordHumanSegment is off.
On VoiceLink numbers
VoiceLink can hand a live call to another number, but only blind. With blindTransfers on:
- The agent says the pre-transfer line, and VoiceLink rings the person from your number.
- The person hears no brief and presses no key: answering connects them.
- If nobody answers, or they decline, the whole call ends after VoiceLink's ring time (about 30 seconds). The caller does not come back to the agent.
Because VoiceLink never says whether the person answered, the attempt ends with outcome unknown.
bridgedAt is when the call was handed to VoiceLink, and everything after it — ringing included —
bills at ₹2.00 a minute as humanSeconds. The person's part is not recorded or transcribed, so
the caller is not told it is. A call makes one attempt, with no fallback, and call.transfer_started
is the only transfer webhook: the attempt's end arrives with call.completed.
With blindTransfers off (the default), the agent offers no transfer on a VoiceLink number.
A second person
A destination can name a fallback: another of the agent's destinations, tried when nobody at the
first takes the call (no answer, busy, declined, or no key pressed). On Plivo numbers it is rung
straight away — on a cold transfer the caller keeps hearing the hold tone, on a warm one the agent
says it is trying someone else and carries on. A call still makes at most two attempts, so the
fallback is tried once, and only if it is verified and inside its hours. The first attempt ends
failed with its outcome; the second is a separate attempt. Exotel numbers make one attempt per
call and do not use fallbacks.
Starting a transfer from your backend
Your own systems can hand a live call to a person — a CRM that spots a high-value caller, a supervisor's button:
curl -X POST "$TONE_API/v1/calls/$CALL/transfer" \
-H "Authorization: Bearer $TONE_KEY" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{ "destinationId": "…", "reason": "qualified_lead", "note": "Ready to pay today." }'The agent does it exactly as if it had decided to: the caller hears the same line, the person the same brief, and every rule still applies — the destination must be one of the agent's, verified and inside its hours, and a call makes at most two attempts. The answer comes back once the agent has started (or could not start) the transfer:
accepted: trueandtransfer, the attempt (trigger: "api").accepted: falseand arefusal—outside_hours,in_progress,attempts_exhaustedand so on. Not an error: nothing was started.409 call_not_livewhen no agent is on the call: it has ended, is not answered yet, or was already handed to a person.
On a BYO call, which runs your own bot rather
than a Tone agent, the destination may be any of yours, and "handoff": "warm" keeps the caller
with your bot until the person accepts. Your bot can ask for the transfer itself, too, with a
transfer frame.
Afterwards
The call is still one call: one row, one transcript, one bill.
GET /v1/calls/{id}carries the latest attempt astransfer— its status, outcome, times, how long the person talked, andbrief, the words the person heard before pressing 1. A warm attempt ismode: "consult"and also carriesacceptedAt, when the person pressed 1.GET /v1/calls/{id}/transferslists every attempt.- The transcript runs on past the handoff. The person's lines have the role
human_agent; the caller's stayuser. On Plivo and on your own SIP trunk they are transcribed live; on Exotel from Exotel's own recording, a few minutes after the call. - Each attempt's recordings are separate files of the call:
GET /v1/calls/{id}/transfers/{transferId}/recording— the part with the person: a stereo WAV on Plivo and on your own SIP trunk (the caller left, the person right), Exotel's two-channel MP3 on Exotel.GET /v1/calls/{id}/transfers/{transferId}/return-recording— the agent's part after an attempt nobody took, when the caller came back.- The part before the handoff is the call's own
GET /v1/calls/{id}/recording.
- The call's
summaryandoutputsare written again once the person's part is in, so they cover the whole conversation.
Billing
The agent's part of the call and the time the caller waited while the person was rung bill at the call's normal rate. The time the caller and the person talked bills at ₹2.00 a minute (₹1.50 on your own SIP trunk): no agent was running. It is still one wallet debit per call. The person's phone leg is a cost to Tone, not a line on your bill.