Skip to navigation

Changes to the Rasen Developer API, newest first.

Carrier dial outcome on calls

Call and CallListItem gain two nullable fields that say what the carrier reported for a call it dialled:

  • dial_outcome: dialing until the carrier reports, then its latest report, for example answered, no_answer, busy, voicemail, rejected, invalid_number or failed. It is an open vocabulary: preserve a value you do not recognise, and never treat it as success.
  • dial_sip_code: the SIP response code, when the carrier gave one (100 to 699).

Both are null for calls no carrier dialled: inbound, browser and test calls. A call that ended with end_reason: never_connected now says why. See Read a call.

What to do: Nothing for existing integrations. Preserve a dial_outcome value you do not recognise, and never treat it as success.

Single-brace variable warning

A variable name in single braces in the prompt or an opening message ({customer_name}) is filled in like {{customer_name}} when the call has that variable. Validation now answers a single_brace_variable warning for a single-brace name the agent does not declare and that is not a built-in. Warnings never make a draft invalid or block a publish. At most 20 such warnings are answered. See Build and publish an agent.

What to do: Nothing for existing integrations. Read the warnings of validateAgentDraft, and declare on the agent each variable that a single-brace name should fill.

languages removed from Voice

The Voice schema no longer has a languages field. It was always an empty array, because no language is recorded per voice. See Deprecations.

What to do: Remove any code that reads Voice.languages.