@dialstack/sdk-dev / server/src / QueueTimeout
Type Alias: QueueTimeout
TypeScript
type QueueTimeout =
| {
type: "ring_user";
user: string;
}
| {
type: "voicemail";
voicemail: string;
}
| {
queue: string;
type: "queue";
};
Defined in: sdk/server/src/index.ts:2401
Where a waiting caller goes when the Queue does not connect them: the shape
of both timeout (the caller waited past timeout_seconds) and exit (the
caller pressed exit_key). voicemail covers both a user's personal box and
a shared box; queue overflows the caller into another Queue, which is
rejected at write time if it would close a routing loop.