Why a call failed, when Dial knows. Set only on a call whose terminationType
is "failed"; null on every other call, and on a failed call whose cause
Dial can't name. Today every reason comes from a Self-Hosted audio target:
self_hosted_key_rejected — Pipecat Cloud rejected your public key.
self_hosted_agent_not_found — no Pipecat Cloud agent has the configured agent name.
self_hosted_at_capacity — your Pipecat Cloud agent had no capacity for another session.
self_hosted_unreachable — Dial could not reach your target (your wsUrl
server didn't accept the connection, or Pipecat Cloud didn't answer).
More values may be added; the (string & {}) member keeps this type from
rejecting one you don't recognize yet — treat an unknown value like null.
Why a call failed, when Dial knows. Set only on a call whose
terminationTypeis"failed";nullon every other call, and on a failed call whose cause Dial can't name. Today every reason comes from a Self-Hosted audio target:self_hosted_key_rejected— Pipecat Cloud rejected your public key.self_hosted_agent_not_found— no Pipecat Cloud agent has the configured agent name.self_hosted_at_capacity— your Pipecat Cloud agent had no capacity for another session.self_hosted_unreachable— Dial could not reach your target (yourwsUrlserver didn't accept the connection, or Pipecat Cloud didn't answer).More values may be added; the
(string & {})member keeps this type from rejecting one you don't recognize yet — treat an unknown value likenull.