Table: logs | File: app/db/models/sip.pyTable name is logs (historical naming). This has caused confusion with call_logs.
| Column | Type | Description |
|---|
phone_number | String | Provisioned number |
provider | String | "twilio" or "vonage" |
inbound_trunk_id | String | LiveKit trunk ID |
outbound_trunk_id | String | LiveKit trunk ID |
dispatch_rule_id | String | LiveKit dispatch rule |
workspace_id | UUID | Workspace scope |
Coming Soon — The Campaign Scheduler is in development and available on the Dev instance for testing.
Campaign (ppcc_campaign) — File: ppcc/web/apps/ppcc/models/realm.py| Column | Type | Description |
|---|
name | String(50) | Campaign display name |
slug | SlugField | Unique URL-friendly identifier |
active | Boolean | Whether campaign is running |
paused | Boolean | Temporarily pause dialing |
agent_id | String | Vaani agent ID |
workspace | String | Vaani workspace ID |
email | String | Campaign owner email |
locale_name | String(4) | Region (e.g., USCA) |
call_ratio | Float | Calls per available agent |
dialer_interval | Integer | Seconds between dialer ticks |
max_active_calls | Integer | Max concurrent calls |
max_number_calls | Integer | Max attempts per prospect |
min_time_between_calls | Integer | Min minutes between retries |
earliest_prospect_time | Time | Earliest call time (prospect TZ) |
latest_prospect_time | Time | Latest call time (prospect TZ) |
ignore_states | String | States to exclude |
filter_holidays | Boolean | Skip holiday-restricted states |
dupe_days | Integer | Dedup window in days |
expire_days | Integer | Prospect expiry in days |
wrap_up_time | Integer | Agent wrap-up seconds |
ProspectList (ppcc_prospectlist) — File: ppcc/web/apps/ppcc/models/prospect.py| Column | Type | Description |
|---|
campaign | FK → Campaign | Parent campaign |
name | String | List name |
priority | Integer | List dialing priority |
slug | String | URL-friendly identifier |
Prospect (ppcc_prospect) — File: ppcc/web/apps/ppcc/models/prospect.py| Column | Type | Description |
|---|
uuid | UUID | Prospect identifier |
prospect_list | FK → ProspectList | Parent list |
primary_phone | String | Phone number |
first_name, last_name | String | Contact name |
disposition | FK → Disposition | Call outcome |
datetime_resolved | DateTime | When prospect was resolved |
num_calls | Integer | Total call attempts |
Disposition (ppcc_disposition) — File: ppcc/web/apps/ppcc/models/disposition.py| Column | Type | Description |
|---|
campaign | FK → Campaign | Parent campaign |
title | String | Display name |
qualified | Boolean | Counts as success |
contacted | Boolean | Prospect was reached |
call_back | Boolean | Schedule callback |
do_not_call | Boolean | Add to DNC |