SIP PBX icon

SIP PBX

Queue → Put Leg In Queue

AI-generated

Summary

Put a leg into a queue

Inputs

  • ref (required) — Queue reference identifier
  • options — Configuration options for the queue placement

Output shape

object representing the newly added queue entry

Returns the created queue entry details; on failure an error envelope is thrown

Examples

Example 1: Add a call leg to a queue with default options

Queue Ref: my-queue; no custom options set

Example 2: Place a leg into a queue with front placement and increased retries

Queue Ref: support; Leg ID: leg-123; Placement: front; Retry Attempts: 5; Retry Cooldown: 60

Example 3: Configure sequential queue strategy

Call Strategy: sequential; Sequential Attempt Timeout: 20; Sequential Gap: 5

Links

Discussion