Routingdialstable

Dial number

Calls out to a single phone number or SIP address and connects them with the caller. If the destination doesn't answer, the flow continues so you can fall…

What it does

Originates an outbound call leg to a single destination — either a phone number in E.164 form or a sip: URI — and bridges it to the caller as soon as the destination picks up. Unlike Transfer, the platform stays on the call after the bridge: any On agent answered / On callee answered trigger chains fire, recording can start automatically, and the flow follows the dial node's outgoing transitions on call.bridged and call.hangup.

While we're waiting for the destination to ring, you can play optional ringback or hold music from the Prompts & music library to the caller (ringback; blank = the standard ringback). The bridged audio replaces that playback the moment the leg connects. If the destination doesn't answer within timeoutSecs, no one picks up, or the originate request itself fails, the flow follows on['call.hangup'] — that's where you wire your voicemail or fallback step. The dialed leg's control id is stamped onto state.bridgeLegCallControlIds so downstream nodes (whisper prompts, screen pops, recording controls) can target it.

When to use it

  • Forward an inbound number to an external answering service or on-call cell phone with a voicemail fallback when no one picks up
  • Reach a single SIP endpoint (a desk phone in a remote office, a paging speaker, a third-party IVR) — paste the sip: URI directly
  • Loop in a supervisor by name with a custom caller-ID display so they see the original caller's number, not yours
  • Build "warm transfer" flows where you need to keep control after the bridge — e.g. record the conversation, run an agent-whisper, or end the call programmatically. Use Transfer instead if you just want to hand off and walk away
  • Implement a try-this-number-first fallback before falling through to Request agent

Configuration

Calls out to a single phone number or SIP address and connects them with the caller. If the destination doesn't answer, the flow continues so you can fall back to voicemail.

FieldLabelTypeRequiredDefaultNotes
toDestinationtextRequired+15551234567Phone number in E.164 format, or a SIP URI (sip:user@host).
fromCaller ID shown to destinationphoneNumberOptional""One of your numbers. Defaults to the number that was called. A caller ID can't be typed in: anything that isn't one of your numbers is refused when you publish, and calls show the number that was called instead.
fromDisplayNameCaller ID nametextOptionalAcme Support
timeoutSecsRing timeoutselectOptional15Options: 15, 20, 30, 45, 60.
ringbackMusic while ringingaudioOptional—Audio from the Prompts & music library that plays to the caller while the destination rings (stops when it answers or its own ringback comes through). Blank = the standard ringback.

Outgoing events: call.bridged, call.hangup

Examples

Forward to an external number, fall back to voicemail

The classic "ring my cell, take a message if I miss it" pattern. The dial node is the body of the flow; the call.hangup edge is the safety net.

{
  "id": "ring-cell",
  "type": "dial",
  "config": {
    "to": "+15555550199",
    "from": "{{event.to}}",
    "timeoutSecs": 30,
    "ringback": "sys:music/default-hold"
  },
  "on": { "call.bridged": "end", "call.hangup": "voicemail" }
}

Reach a SIP endpoint with custom caller-ID name

Pass through the inbound caller's number as the caller-ID so the desk phone's screen shows who's actually calling, not the platform DID.

{
  "id": "reception",
  "type": "dial",
  "config": {
    "to": "sip:reception@office.acme.com",
    "from": "{{event.from}}",
    "fromDisplayName": "External Caller",
    "timeoutSecs": 20
  },
  "on": { "call.bridged": "end", "call.hangup": "voicemail" }
}

Gotchas

  • call.bridged: 'end' is a sentinel, not a hangup. Wiring the bridge edge to end tells the worker "this is the happy path — let the conversation run until a real hangup." It does not end the call when the bridge happens. The call is torn down by the call platform when either party hangs up, and only then does the flow finish.
  • Originate failures look like a hangup. If the platform rejects the originate (bad SIP URI, blocked country, no trunk capacity), no leg gets created and the flow follows on['call.hangup'] like a normal no-answer. Check the worker log for the underlying error.
  • ringback is a library reference, never a URL. It holds asset:<uuid>, sys:<kind>/<slug> (e.g. sys:tone/us-ringback) or a {{…}} template that renders to one. A raw URL fails publish validation.
  • The leg counts as a "callee", not an "agent". Because there's no extension binding for a raw to number, the bridge doesn't resolve to an internal user — onAgentAnswered-only nodes (screen pop, agent toast, whisper) won't fire for it. Reserve those for bridges through requestAgent or an internal transfer.
  • Templating renders once, at originate time. {{vars.x}} in to, from, or fromDisplayName is resolved when the dial node is entered. Mutating those vars later has no effect on a leg that's already ringing.

See also