Skip to main content

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​

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:
StatusActions on the row
DraftEdit (pencil) and, for the Owner, Delete (bin)
RunningEdit, disabled, with the hint "Pause the campaign to edit it"
PausedEdit
CompletedArchive (Owner only; other roles see "-")
ArchivedNone

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.

Campaign Manager list with Fall Webinar Follow-up in Paused status, routing AI Assistant, and the status filter open

Create a campaign​

Who can do this: Owner and PBX Admin. Other roles do not see Create Campaign.

  1. Open Auto Dialer → Campaign Manager and click Create Campaign. The Create Campaign form opens on the Basic Info tab.
  2. Enter the Campaign Name.
  3. 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).
  4. 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.
  5. Open the Schedule tab and set the Timezone, Start Date, End Date and the Active Hours (see Campaign Scheduling).
  6. Optionally open the Answering Machine Detection tab and switch on Enable Detection (see Answering Machine Detection).
  7. Open the Advanced tab and check the rate limits, attempts, retries, timeouts and recording.
  8. 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.

Create Campaign form, Basic Info tab, with routing destination AI Assistant Aria - Front Desk Receptionist and one caller ID selected in the pool

Basic Info tab​

FieldLimits and defaultMeaning
Campaign NameRequired, up to 255 charactersShown in lists and the monitor
Routing DestinationAI 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 DestinationRequired unless the type is Hang UpThe assistant or load balancer
StrategyRound Robin (default), Random, Least Recently UsedHow the next caller ID is chosen from the pool
Caller ID Pool1 to 100 numbers (the counter shows n/100). Only active numbers of your organization are offeredThe 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​

StrategyHow the next caller ID is chosen
Round RobinEach number in turn
RandomA random number from the pool
Least Recently UsedThe 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).

Caller-ID numbers are protected

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​

FieldLimits and defaultMeaning
TimezoneRequired. Default: UTCThe clock the schedule and dates are read in
Start DateRequired. Default: today. Today or later when you createFirst day the campaign may dial
End DateRequired. Default: 30 days from today. On or after the start dateLast day the campaign may dial
Active HoursA weekly grid. New campaigns start with Monday to Friday, 09:00 to 17:00The 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​

FieldLimits and defaultMeaning
Enable DetectionOff by defaultStreams the call audio to the AMD worker, which listens for a voicemail beep
If Voicemail DetectedHang up (default when enabled) or Continue to destinationApplied when a beep is heard
If Human DetectedContinue to destination (default when enabled) or Hang upThe detector does not report "human" today, so this has no effect
If Detection UnclearContinue to destination (default when enabled) or Hang upApplied when no beep is heard within the detection window
Retry on VoicemailOff by defaultSchedules another attempt when a voicemail was detected
Read the AMD page before you set "If Detection Unclear" to Hang up

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​

FieldLimits and defaultMeaning
Auto-startDisabled by defaultLets 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: 60How long the callee's phone rings before the attempt is given up
Connect WhenCall Connected (default) or ImmediatelySent 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: 1Most 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: 1How fast new calls are started
Max Dial Attempts1 to 5. Default: 1Most attempts per number, including retries
Retry on busy / no-answerOff by defaultRedials 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 onWait before the first redial; each further retry waits twice as long, up to 24 hours
Record CallsOff by defaultAsks Cloudonix to record each call

See Rate Limiting for CAC, CPS and attempts.

Connect When and detection

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.

Advanced tab with CAC 3, CPS 1 call/sec, Max Dial Attempts 3 and Record Calls off

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:

  1. claims the number so it is dialed once, even if two requests race, and counts one attempt;
  2. uses the caller ID the dialer worker picked from the pool;
  3. chooses the outbound trunk from the first matching outbound whitelist rule. When no rule matches, Cloudonix chooses the trunk;
  4. asks Cloudonix to dial, with the dial timeout, time limit, recording flag and a 5-minute start deadline;
  5. 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​

ActionWhereAllowed fromWhat happens
StartDraft badge on the row, or Start on the detail pageDraft (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
PauseRunning badge, Pause on the detail page, or the monitorActiveNo 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
ResumePaused badge, Resume on the detail page, or the monitorPausedStatus 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.

  1. 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.
  2. 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.

Detail page of the Draft campaign Spring Renewal Reminders with the Start Campaign confirmation dialog open

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.

  1. 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.

  1. 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.

  1. 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.
  2. Click Edit on the row or on the detail page. The Edit Campaign form opens with the campaign's values.
  3. Change the fields on any tab.
  4. 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.

Campaign Manager list with Fall Webinar Follow-up in Paused (Resume) status, routing AI Assistant, and the Edit button in the Actions column

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.

  1. Click Archive on a Completed row, or Archive on any campaign's detail page.
  2. 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.

Archive Campaign confirmation dialog on a campaign detail page, asking Are you sure you want to archive this campaign? with Cancel and Confirm

Delete a campaign​

Who can do this: the Owner only, and only for Draft campaigns. Other roles do not see the delete button.

  1. Click the delete (bin) button on a Draft row.
  2. 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.

Delete Campaign confirmation dialog for the Draft campaign Spring Renewal Reminders

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.

CardMeaning
Total DestinationsNumbers on the assigned lists
CompletedCalls completed
FailedNumbers that failed after their attempts
VoicemailCalls where voicemail was detected
PendingNumbers not yet dialed or waiting for a retry
ProgressCompleted 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.

Detail page of Fall Webinar Follow-up: Paused badge, Resume button, the list Fall Webinar Leads with 20 records, the Unassign link, routing AI Assistant and the America/New_York schedule

Permissions​

ActionOwnerPBX AdminReporterPBX UserSupervisor
See the Auto Dialer pages and campaignsYesYesYes (read-only)NoNo
List campaigns, destinations and the monitorYesYesYesNoNo
Open the campaign detail page from the listYesYesNoNoNo
Create, edit, start, pause, resumeYesYesNoNoNo
ArchiveYesNoNoNoNo
Delete (Draft only)YesNoNoNoNo

Common errors​

Message (summary)What it meansWhat to do
The caller ID field is requiredNo number is in the caller-ID poolAdd at least one number to the pool
Caller ID must be in E.164 formatThe main caller ID sent through the API is not E.164Use + and the country code
Invalid Caller ID pool: some DIDs do not exist, do not belong to your organization, or are not activeA pool number is inactive or not yoursActivate the number or remove it
A destination is required unless the campaign hangs upNo destination pickedPick the assistant, load balancer, ring group or call queue
The start date must be a date after or equal to todayStart date in the past on createPick today or later
Pause the campaign before editing it.Edit sent while Running; nothing was changedPause, then edit
Cannot start campaign without a destination listNo list assigned, or the assigned list is not Ready or In UseAssign a Ready list
This action is unauthorizedThe 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​

FieldLimits and default
NameRequired, up to 255 characters
DescriptionUp to 1000 characters (API only; the form does not show it)
Routing destinationAI Assistant, AI Load Balancer, Ring Group, Call Queue or Hang Up. A destination ID is required except for Hang Up
Caller IDRequired, E.164. The form uses the first number of the pool
Caller-ID pool1 to 100 active numbers of your organization; weight 1 to 100 per number (API only, default 1)
Caller-ID strategyRound Robin (default), Random, Least Recently Used
TimezoneRequired, IANA name
Start and end dateRequired. Start today or later on create; end on or after start
Weekly schedulePer weekday: enabled, and time ranges HH:MM to HH:MM (end may be 24:00)
Dial timeout1 to 300 seconds. Form default: 60
Connect whenCall Connected or Immediately. Sent to Cloudonix as execute
Time limit30 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 attempts1 to 5. Form default: 1
Record callsOff by default
Wait for available agentsCall 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 actionsHANGUP or CONTINUE, or empty (treated as Hang up while any action is set). Empty on all three means no detection
Retry on voicemailOff by default
Retry on busy / no-answerretry_on_busy_no_answer, off by default. Cancelled and failed calls are never retried
First retry delayretry_delay_minutes, 1 to 1440, default 15; each further retry waits twice as long, capped at 24 hours
Auto-startOff by default

Statuses​

StatusShown asMeaning
draftDraftNew. Editable and deletable
activeRunning (Active on the detail page)Dials whenever the schedule allows. Not editable
pausedPausedNo new calls. Editable
completedCompletedEvery number finished. Set automatically only for auto-started campaigns
archivedArchivedKept 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​

ColumnNotes
id, organization_idKey and tenant scope
name, description
statusdraft, active, paused, completed, archived
auto_startBoolean
routing_destination_type, routing_destination_idai_assistant, ai_load_balancer, ring_group, call_queue or hangup, and the target id
caller_id, caller_id_strategy, caller_id_pool_enabledMain caller ID and pool settings
dial_timeout, time_limit, destination_connect, record_calls, wait_for_available_agentsCall settings
max_dial_attempts, concurrent_active_calls, calls_per_secondLimits
timezone, start_date, end_date, scheduleThe schedule. schedule is the weekly JSON that the dialer reads
days_active, start_time, end_timeOlder single-window fields derived from schedule; used by auto-start
action_voicemail, action_human, action_unknown, retry_on_voicemailVoicemail detection
total_destinations, completed_calls, failed_calls, pending_calls, voicemail_callsCounters
started_at, completed_atTimestamps

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.

MethodEndpointPurpose
GET/v1/auto-dialer-campaignsList (filters: status, exclude_status, search)
POST/v1/auto-dialer-campaignsCreate (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}/startStart
PATCH/v1/auto-dialer-campaigns/{campaign}/pausePause
PATCH/v1/auto-dialer-campaigns/{campaign}/resumeResume
PATCH/v1/auto-dialer-campaigns/{campaign}/archiveArchive (Owner)
POST/v1/auto-dialer-campaigns/{campaign}/reset-cacReset the concurrent-call counter
GET/v1/auto-dialer-campaigns/{campaign}/listEvery list assigned to the campaign, with can_unassign and unassign_refusal
POST/v1/auto-dialer-campaigns/{campaign}/listUpload 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}/destinationsNumbers of the campaign's lists
GET/v1/auto-dialer-campaigns/{campaign}/concurrencyLive CAC use
GET/v1/auto-dialer-campaigns/monitor/summaryMonitor overview
GET/v1/auto-dialer-campaigns/{campaign}/monitor/detailMonitor drill-down
GET/v1/auto-dialer-campaigns/available-caller-idsActive 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-statsPer-number usage (see Caller ID stats)
POST/v1/auto-dialer-campaigns/{campaign}/reset-caller-id-cycleRestart 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.