ReceptionistAgent
A front-desk agent that greets callers and transfers them to the correct department by phone number or SIP address. Visitor check-in is opt-in.
ReceptionistConfig
departments
Departments the agent can transfer callers to. Each ReceptionistDepartment
has:
name(string, required) — department identifier (e.g."sales").description(string, required) — description shown to the AI.number(string, required) — phone number or SIP address dialed bytransfer_call.
greeting
Initial greeting spoken when the call starts.
voice
Voice identifier passed to addLanguage.
companyName
Optional company name appended to the greeting.
checkInEnabled
When true, registers the check_in_visitor tool.
onVisitorCheckIn
Callback fired when a visitor checks in. Receives a record with the fields collected during check-in.
name
Agent display name.
route
HTTP route for the agent.
agentOptions
Additional AgentBase options forwarded to the constructor.
Built-in Tools
transfer_call uses FunctionResult.connect() to dial the
department’s configured number.