pinecallDocs
Phone & supervision / pinecall dial

pinecall dial

An agent calls a number, with the greeting and the instruction its call opens with.

pinecall dial <agent> <number> [--from <number>] [--state <json>] [--metadata <json>] [--greeting <words>] [--instruction <words>]
Terminal
$ pinecall dial reminder +14155550142 --instruction "Remind Ana of her cleaning tomorrow at 9:30 and ask her to confirm."
reminder is calling +14155550142 from +14155550134 · production
  → pinecall calls show call_5f0c2a9d41c84e1f9d2b7c1a6e3f8b20 follows it

The agent calls the number from one of its own, and the answer comes before anything rings. Somebody must be holding the agent. --state is the state the agent's call opens in and --metadata what its call.started carries, each a JSON object. --greeting is the words the call opens with, over the agent's own greeting. --instruction is what the call is for: the agent reads it for the whole call and, with no greeting given, opens on it. Every dial passes the org's guards first (who may be called, when, how often); one that is refused rings nobody, and the refusal names the guard.