Campaign Manager
A campaign holds everything about one outbound calling run: where answered calls go, which caller IDs to show, when to dial, how fast, how often to retry and what to do when a voicemail answers. The numbers themselves live in distribution lists that you assign to the campaign; a campaign can hold several lists. The campaign dials every number on its lists inside a weekly schedule, at a controlled rate, and connects answered calls to its routing destination.
Purpose
Use Campaign Manager to:
- create a campaign and edit it while it is Draft or Paused;
- choose the routing destination and the caller-ID pool;
- set the schedule, rate limits, attempts and voicemail detection;
- start, pause and resume it;
- archive it and delete a Draft campaign (Owner only);
- see its progress, settings and assigned lists, and follow it on the Real Time Monitor.
Prerequisites
- You are the Owner or a PBX Admin. A Reporter can look at the campaigns but cannot change them (see Permissions).
- An AI assistant, AI load balancer, ring group or call queue to receive answered calls, unless you only want to test with Hang Up.
- At least one active phone number of your organization to use as the caller ID.
- The dialer worker running (single replica), and the AMD worker for voicemail detection.
The Campaign Manager page
Open Auto Dialer → Campaign Manager. Each row shows the campaign name (with the caller ID, or the number of caller IDs in the pool and the strategy, underneath), the status badge, the Caller ID, the number of assigned Lists, the CAC limit, the Routing destination and the Created date.
- Search campaigns... filters by name. The refresh button reloads the list.
- Status filter: All (except Archived) is the default. You can also pick All Statuses, Draft, Running, Paused, Completed or Archived. Clear Filters resets both.
- The status badge is a button for the Owner and PBX Admins: on Draft it reads "Draft (Start)" and starts the campaign, on Running "Running (Pause)" pauses it, on Paused "Paused (Resume)" resumes it. Completed and Archived badges do nothing.
- Clicking a row or the name opens the campaign detail page.
- Row actions depend on the status:
| Status | Actions on the row |
|---|---|
| Draft | Edit (pencil) and, for the Owner, Delete (bin) |
| Running | Edit, disabled, with the hint "Pause the campaign to edit it" |
| Paused | Edit |
| Completed | Archive (Owner only; other roles see "-") |
| Archived | None |
A Reporter sees the page with a Read-Only badge, no Create Campaign button and no actions. Clicking a row does nothing for a Reporter.

Create a campaign
Who can do this: Owner and PBX Admin. Other roles do not see Create Campaign.
- Open Auto Dialer → Campaign Manager and click Create Campaign. The Create Campaign form opens on the Basic Info tab.
- Enter the Campaign Name.
- Under Routing Destination, choose AI Assistant, AI Load Balancer or Hang Up, then pick the assistant or load balancer under Select Destination (not needed for Hang Up).
- Under Caller ID Configuration, choose a Strategy, then click Add Caller IDs (or Add once the pool has numbers) and pick one or more numbers from the search list. Remove a number with its X.
- Open the Schedule tab and set the Timezone, Start Date, End Date and the Active Hours (see Campaign Scheduling).
- Optionally open the Answering Machine Detection tab and switch on Enable Detection (see Answering Machine Detection).
- Open the Advanced tab and check the rate limits, attempts, retries, timeouts and recording.
- Click Create Campaign at the bottom.
Result: the toast "Campaign created successfully" appears and the campaign's detail page opens. The campaign is stored as Draft; nothing is dialed yet. To dial, assign a Ready distribution list (the campaign stays Draft), then start it, or turn on Auto-start.
When a field is wrong, the form shows "Please fix the errors above before submitting." next to the buttons, or an error toast with the server's message (see Common errors). Cancel goes back without saving.

Basic Info tab
| Field | Limits and default | Meaning |
|---|---|---|
| Campaign Name | Required, up to 255 characters | Shown in lists and the monitor |
| Routing Destination | AI Assistant (default), AI Load Balancer or Hang Up. Fields at a glance also lists Ring Group and Call Queue | Where answered calls go. See Campaign Routing |
| Select Destination | Required unless the type is Hang Up | The assistant or load balancer |
| Strategy | Round Robin (default), Random, Least Recently Used | How the next caller ID is chosen from the pool |
| Caller ID Pool | 1 to 100 numbers (the counter shows n/100). Only active numbers of your organization are offered | The numbers callees see. The first number is also stored as the campaign's main caller ID |
The pool can only be changed while the campaign is Draft or Paused. On an active campaign the pool section shows Pool Locked and the strategy and pool are disabled.
Caller ID strategies
| Strategy | How the next caller ID is chosen |
|---|---|
| Round Robin | Each number in turn |
| Random | A random number from the pool |
| Least Recently Used | The number that was used longest ago |
Round Robin and Random take each number's weight into account: a number with weight 2 is used twice as often as one with weight 1. Weights can be set through the API only (1 to 100); the form gives every number weight 1.
When a number is retried, the dialer prefers a caller ID that has not yet been tried for that number in the last hour.
Caller ID stats
Each number in the pool keeps a count of the calls placed from it: total calls, completed calls, failed calls, a success rate (completed / total) and when it was last used. A call is counted once, when it ends: as completed if it was connected and ended normally, as failed otherwise (busy, no answer, failed, or a call attempt that will be retried). Calls that are still ringing or connected are not counted yet. Calls cut off in bulk because the campaign was paused or stopped are not counted. Removing a number from the pool deletes its counts. The stats are read through the API only: GET /v1/auto-dialer-campaigns/{campaign}/caller-id-stats (Owner, PBX Admin and Reporter).
A phone number in a campaign's caller-ID pool cannot be deleted. Remove the number from the pool first. See What a campaign blocks.
Schedule tab
| Field | Limits and default | Meaning |
|---|---|---|
| Timezone | Required. Default: UTC | The clock the schedule and dates are read in |
| Start Date | Required. Default: today. Today or later when you create | First day the campaign may dial |
| End Date | Required. Default: 30 days from today. On or after the start date | Last day the campaign may dial |
| Active Hours | A weekly grid. New campaigns start with Monday to Friday, 09:00 to 17:00 | The hours each weekday when dialing is allowed. Click time slots to toggle them |
See Campaign Scheduling for how the window is evaluated.
Answering Machine Detection tab
| Field | Limits and default | Meaning |
|---|---|---|
| Enable Detection | Off by default | Streams the call audio to the AMD worker, which listens for a voicemail beep |
| If Voicemail Detected | Hang up (default when enabled) or Continue to destination | Applied when a beep is heard |
| If Human Detected | Continue to destination (default when enabled) or Hang up | The detector does not report "human" today, so this has no effect |
| If Detection Unclear | Continue to destination (default when enabled) or Hang up | Applied when no beep is heard within the detection window |
| Retry on Voicemail | Off by default | Schedules another attempt when a voicemail was detected |
A call answered by a person ends as "unclear" when the detection window closes (about 30 seconds). With If Detection Unclear set to Hang up, those live conversations are hung up. Read Answering Machine Detection first.
Switching Enable Detection off clears the actions and Retry on Voicemail; on save, detection is turned off for the campaign.
Advanced tab
| Field | Limits and default | Meaning |
|---|---|---|
| Auto-start | Disabled by default | Lets the scheduler start a Draft campaign on schedule (see Auto-start) |
| Time Limit (sec) | 30 to 14400. Default: 600 (also when the field is left empty) | Maximum length of one call |
| Dial Timeout (sec) | 1 to 300. Default: 60 | How long the callee's phone rings before the attempt is given up |
| Connect When | Call Connected (default) or Immediately | Sent to Cloudonix as execute. Call Connected starts the call flow (routing, AMD) when the callee answers; Immediately starts it while the callee's phone is still ringing |
| Concurrent Active Calls (CAC) | 1 to 50. Default: 1 | Most calls in progress at once |
| Calls Per Second (CPS) | 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 25 or 30 calls/sec. Default: 1 | How fast new calls are started |
| Max Dial Attempts | 1 to 5. Default: 1 | Most attempts per number, including retries |
| Retry on busy / no-answer | Off by default | Redials a number whose call ended busy or unanswered, within Max Dial Attempts. Cancelled, failed and congested calls are never retried |
| First retry delay (minutes) | 1 to 1440. Default: 15. Shown when the retry switch is on | Wait before the first redial; each further retry waits twice as long, up to 24 hours |
| Record Calls | Off by default | Asks Cloudonix to record each call |
See Rate Limiting for CAC, CPS and attempts.
Cloudonix turns its own machine detection off when a call is not started with Call Connected. If you use Answering Machine Detection, keep Call Connected.

Assign distribution lists
Who can do this: Owner and PBX Admin.
A campaign needs a Ready list before it can start, and can hold several lists; their pending numbers are dialed together, the numbers added earliest first. See Assign a list to a campaign for the steps.
A list can be taken back (from Distribution Lists or the campaign's detail page) only until the campaign has started processing its entries; after that it stays with the campaign. See Take a list back from a campaign.
What happens when a call is placed
For each number, OPBX:
- claims the number so it is dialed once, even if two requests race, and counts one attempt;
- uses the caller ID the dialer worker picked from the pool;
- chooses the outbound trunk from the first matching outbound whitelist rule. When no rule matches, Cloudonix chooses the trunk;
- asks Cloudonix to dial, with the dial timeout, time limit, recording flag and a 5-minute start deadline;
- counts the call against the CAC limit until Cloudonix reports it ended.
If Cloudonix refuses the call, the number goes back to pending and is tried again after 1 minute, then 2 minutes; after 3 consecutive refusals it is marked Failed. Each refusal uses one of the number's attempts, so with Max Dial Attempts 1 the number is marked Failed after the first refusal (within a minute).
Start, pause, resume
| Action | Where | Allowed from | What happens |
|---|---|---|---|
| Start | Draft badge on the row, or Start on the detail page | Draft (the server also accepts Paused) | Needs an assigned list that is Ready or In Use. Status becomes Active (Running). The concurrent-call counter is reset |
| Pause | Running badge, Pause on the detail page, or the monitor | Active | No new calls. Calls still recorded as in progress are closed as cancelled and the concurrent-call counter is reset. OPBX does not hang up calls that are already connected |
| Resume | Paused badge, Resume on the detail page, or the monitor | Paused | Status becomes Active. The counter is reset |
An Active campaign only dials inside its schedule. Outside the window it stays Running but places no calls.
A campaign becomes Completed by itself, within a minute, once nothing is left to dial: every number is completed, failed or invalid, or pending with no attempts left, and no call is in progress. This applies however the campaign was started. A completed campaign can be archived.
Start a campaign
Who can do this: Owner and PBX Admin.
- Make sure a Ready list is assigned (see Assign a list to a campaign). A list can be assigned to a Draft or Paused campaign, or to an Active one only before its start date; to add a list to an Active campaign that has started, pause it first.
- Either click the Draft (Start) badge on the campaign's row, or open the campaign and click Start, then Confirm in the Start Campaign dialog ("Are you sure you want to start this campaign?").
Result: from the row, the toast "Campaign status updated" appears and the badge reads Running; from the detail page, the toast reads "Campaign started successfully" and the badge reads Active. Without a usable list the toast shows "Cannot start campaign without a destination list" and the campaign stays Draft.

For roles other than the Owner and PBX Admin the status badge is not clickable and the Start, Pause and Resume buttons are hidden, on the Real-Time Monitor too.
Pause a campaign
Who can do this: Owner and PBX Admin. Other roles do not see Pause here or on the Real-Time Monitor.
- Click the Running (Pause) badge on the row, or open the campaign and click Pause, then Confirm in the Pause Campaign dialog. You can also click Pause on the Real Time Monitor.
Result: the toast "Campaign status updated" (row) or "Campaign paused successfully" (detail page) appears and the badge reads Paused.
Resume a campaign
Who can do this: Owner and PBX Admin. Other roles do not see Resume here or on the Real-Time Monitor.
- Click the Paused (Resume) badge on the row, or open the campaign and click Resume, then Confirm in the Resume Campaign dialog. You can also click Resume on the Real-Time Monitor.
Result: the toast "Campaign status updated" (row) or "Campaign resumed successfully" (detail page) appears and the badge reads Running (Active on the detail page).
Edit a campaign
Who can do this: Owner and PBX Admin, on a Draft or Paused campaign. A Running (Active) campaign cannot be edited: pause it first.
- If the campaign is Running, pause it: click its Running (Pause) badge, or Pause on the detail page or the monitor. Edit stays disabled while it runs, with the hint "Pause the campaign to edit it". Opening the edit form of a Running campaign shows "Campaign is running" and disables Update Campaign.
- Click Edit on the row or on the detail page. The Edit Campaign form opens with the campaign's values.
- Change the fields on any tab.
- Click Update Campaign.
Result: the toast "Campaign updated successfully" appears and you return to the page you came from. Resume the campaign to dial again.

The start date may be in the past when you edit. An edit sent for an Active campaign (for example through the API) changes nothing: the server answers 409 "Pause the campaign before editing it."
Archive a campaign
Who can do this: the Owner only. Other roles do not see Archive.
- Click Archive on a Completed row, or Archive on any campaign's detail page.
- Confirm:
- from the row, the Archive Campaign dialog asks "Are you sure you want to archive "name"? This action cannot be undone." Click Archive;
- from the detail page, the Archive Campaign dialog asks "Are you sure you want to archive this campaign?" Click Confirm.
Result: the toast "Campaign archived successfully" appears. From the detail page you return to Campaign Manager, where the campaign is hidden by the default filter (choose Archived or All Statuses to see it).
Archiving an Active campaign pauses it first. Archived campaigns cannot be restored from the app.

Delete a campaign
Who can do this: the Owner only, and only for Draft campaigns. Other roles do not see the delete button.
- Click the delete (bin) button on a Draft row.
- In the Delete Campaign dialog ("Are you sure you want to delete "name"? This action cannot be undone. Associated lists will remain in the system."), click Delete.
Result: the toast "Campaign deleted successfully" appears and the row disappears. Use Archive for campaigns that have dialed.

The campaign detail page
Click a campaign's row or name (Owner and PBX Admin). A Reporter can open the detail page only by its address; the list rows are not clickable for them. See also the Real Time Monitor. The header has Back to Campaigns, the name, the status badge (Draft, Active, Paused, Completed or Archived), an Auto-start badge when enabled, and, for the Owner and PBX Admins, Edit, Start, Pause or Resume (whichever fits the status) and, for the Owner, Archive. The page refreshes every 10 seconds.
| Card | Meaning |
|---|---|
| Total Destinations | Numbers on the assigned lists |
| Completed | Calls completed |
| Failed | Numbers that failed after their attempts |
| Voicemail | Calls where voicemail was detected |
| Pending | Numbers not yet dialed or waiting for a retry |
| Progress | Completed and failed as a share of the total |
Below the cards: the full configuration (routing, caller ID strategy and pool, dial timeout, connect mode, attempts, retry on busy / no-answer, CAC), the assigned distribution lists (name, version, records, invalid; five per page), the schedule (timezone, date range, active days), time limit, recording and the voicemail detection actions, or "Not configured".
For an Owner or PBX Admin each assigned list has Unassign, which takes the list back from the campaign (the list and its numbers are kept and it returns to Ready). While the campaign is Active every list shows Locked (pause the campaign to unassign one), and once the campaign has started processing a list's entries, that list shows Locked for good; the hover text gives the reason. See Take a list back from a campaign.

Permissions
| Action | Owner | PBX Admin | Reporter | PBX User | Supervisor |
|---|---|---|---|---|---|
| See the Auto Dialer pages and campaigns | Yes | Yes | Yes (read-only) | No | No |
| List campaigns, destinations and the monitor | Yes | Yes | Yes | No | No |
| Open the campaign detail page from the list | Yes | Yes | No | No | No |
| Create, edit, start, pause, resume | Yes | Yes | No | No | No |
| Archive | Yes | No | No | No | No |
| Delete (Draft only) | Yes | No | No | No | No |
Common errors
| Message (summary) | What it means | What to do |
|---|---|---|
| The caller ID field is required | No number is in the caller-ID pool | Add at least one number to the pool |
| Caller ID must be in E.164 format | The main caller ID sent through the API is not E.164 | Use + and the country code |
| Invalid Caller ID pool: some DIDs do not exist, do not belong to your organization, or are not active | A pool number is inactive or not yours | Activate the number or remove it |
| A destination is required unless the campaign hangs up | No destination picked | Pick the assistant, load balancer, ring group or call queue |
| The start date must be a date after or equal to today | Start date in the past on create | Pick today or later |
| Pause the campaign before editing it. | Edit sent while Running; nothing was changed | Pause, then edit |
| Cannot start campaign without a destination list | No list assigned, or the assigned list is not Ready or In Use | Assign a Ready list |
| This action is unauthorized | The action is not allowed for your role or for the campaign's status (for example deleting a campaign that is not Draft through the API) | Ask the Owner, or archive instead of delete |
API-only tasks
Resetting the concurrent-call counter (reset-cac) and restarting the caller-ID round robin (reset-caller-id-cycle) have no button. Use the API endpoints below.
Fields at a glance
| Field | Limits and default |
|---|---|
| Name | Required, up to 255 characters |
| Description | Up to 1000 characters (API only; the form does not show it) |
| Routing destination | AI Assistant, AI Load Balancer, Ring Group, Call Queue or Hang Up. A destination ID is required except for Hang Up |
| Caller ID | Required, E.164. The form uses the first number of the pool |
| Caller-ID pool | 1 to 100 active numbers of your organization; weight 1 to 100 per number (API only, default 1) |
| Caller-ID strategy | Round Robin (default), Random, Least Recently Used |
| Timezone | Required, IANA name |
| Start and end date | Required. Start today or later on create; end on or after start |
| Weekly schedule | Per weekday: enabled, and time ranges HH:MM to HH:MM (end may be 24:00) |
| Dial timeout | 1 to 300 seconds. Form default: 60 |
| Connect when | Call Connected or Immediately. Sent to Cloudonix as execute |
| Time limit | 30 to 14400 seconds. Default: 600, also when the field is left empty or the API receives null |
| Concurrent active calls (CAC) | 1 to 50. Form default: 1 |
| Calls per second (CPS) | 1 to 30. Default: 1 |
| Max dial attempts | 1 to 5. Form default: 1 |
| Record calls | Off by default |
| Wait for available agents | Call Queue routing only, off by default. While no agent of the queue is available (all on calls, in wrap-up or logged out), the dialer places no new calls; dialing resumes on the next dialer cycle after an agent becomes available |
| Voicemail, human and unknown actions | HANGUP or CONTINUE, or empty (treated as Hang up while any action is set). Empty on all three means no detection |
| Retry on voicemail | Off by default |
| Retry on busy / no-answer | retry_on_busy_no_answer, off by default. Cancelled and failed calls are never retried |
| First retry delay | retry_delay_minutes, 1 to 1440, default 15; each further retry waits twice as long, capped at 24 hours |
| Auto-start | Off by default |
Statuses
| Status | Shown as | Meaning |
|---|---|---|
draft | Draft | New. Editable and deletable |
active | Running (Active on the detail page) | Dials whenever the schedule allows. Not editable |
paused | Paused | No new calls. Editable |
completed | Completed | Every number finished. Set automatically only for auto-started campaigns |
archived | Archived | Kept for history |
Assigning a Ready list does not start a campaign: it stays Draft until someone starts it, or until auto-start does.
What a campaign blocks
- A phone number in a campaign's caller-ID pool cannot be deleted. The delete is refused and the in-use dialog lists the campaign as a "caller ID pool" use.
- An AI assistant, AI load balancer, ring group or call queue that a campaign routes to cannot be deleted ("routing" in the in-use dialog), whatever the campaign's status.
Remove the reference from the campaign first. See Phone Numbers and Campaign Routing.
Key data fields
auto_dialer_campaigns
| Column | Notes |
|---|---|
id, organization_id | Key and tenant scope |
name, description | |
status | draft, active, paused, completed, archived |
auto_start | Boolean |
routing_destination_type, routing_destination_id | ai_assistant, ai_load_balancer, ring_group, call_queue or hangup, and the target id |
caller_id, caller_id_strategy, caller_id_pool_enabled | Main caller ID and pool settings |
dial_timeout, time_limit, destination_connect, record_calls, wait_for_available_agents | Call settings |
max_dial_attempts, concurrent_active_calls, calls_per_second | Limits |
timezone, start_date, end_date, schedule | The schedule. schedule is the weekly JSON that the dialer reads |
days_active, start_time, end_time | Older single-window fields derived from schedule; used by auto-start |
action_voicemail, action_human, action_unknown, retry_on_voicemail | Voicemail detection |
total_destinations, completed_calls, failed_calls, pending_calls, voicemail_calls | Counters |
started_at, completed_at | Timestamps |
auto_dialer_campaign_caller_ids
The caller-ID pool: campaign_id, did_number_id, weight.
auto_dialer_call_sessions
One row per call attempt: campaign, destination, session token, status, disposition, duration, AMD result and confidence, and the start, answer and end times.
Related API endpoints
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /v1/auto-dialer-campaigns | List (filters: status, exclude_status, search) |
| POST | /v1/auto-dialer-campaigns | Create (status Draft) |
| GET | /v1/auto-dialer-campaigns/{campaign} | One campaign, with its caller-ID pool |
| PUT | /v1/auto-dialer-campaigns/{campaign} | Update (refused while Active) |
| DELETE | /v1/auto-dialer-campaigns/{campaign} | Delete (Owner, Draft only) |
| PATCH | /v1/auto-dialer-campaigns/{campaign}/start | Start |
| PATCH | /v1/auto-dialer-campaigns/{campaign}/pause | Pause |
| PATCH | /v1/auto-dialer-campaigns/{campaign}/resume | Resume |
| PATCH | /v1/auto-dialer-campaigns/{campaign}/archive | Archive (Owner) |
| POST | /v1/auto-dialer-campaigns/{campaign}/reset-cac | Reset the concurrent-call counter |
| GET | /v1/auto-dialer-campaigns/{campaign}/list | Every list assigned to the campaign, with can_unassign and unassign_refusal |
| POST | /v1/auto-dialer-campaigns/{campaign}/list | Upload a CSV as another list of the campaign |
| DELETE | /v1/auto-dialer-campaigns/{campaign}/list/{list} | Unassign one list (403 while the campaign is active, 422 once its entries have started processing) |
| GET | /v1/auto-dialer-campaigns/{campaign}/destinations | Numbers of the campaign's lists |
| GET | /v1/auto-dialer-campaigns/{campaign}/concurrency | Live CAC use |
| GET | /v1/auto-dialer-campaigns/monitor/summary | Monitor overview |
| GET | /v1/auto-dialer-campaigns/{campaign}/monitor/detail | Monitor drill-down |
| GET | /v1/auto-dialer-campaigns/available-caller-ids | Active numbers that can join a pool. Optional exclude_campaign_id (integer) leaves out the numbers already in that campaign's pool |
| GET | /v1/auto-dialer-campaigns/{campaign}/caller-id-stats | Per-number usage (see Caller ID stats) |
| POST | /v1/auto-dialer-campaigns/{campaign}/reset-caller-id-cycle | Restart round robin (Paused only) |
Scoped API keys use the auto-dialer-campaigns resource. The MCP server offers tools such as list_campaigns, get_campaign, create_campaign, update_campaign and get_campaigns_monitor_summary. See API Keys and MCP Server.
See the OPBX REST API reference for full schemas.
Related modules
- Distribution Lists — the numbers to dial
- Campaign Scheduling
- Rate Limiting
- Answering Machine Detection
- Campaign Routing
- Real Time Monitor
- AI Assistants and AI Load Balancers — routing destinations
- Phone Numbers — caller IDs
- Outbound Whitelist — trunk selection for campaign calls
- Dialer Worker and AMD Worker