Compliance · AI Phone Agent

Call Consent Log

Every inbound call handled by the DUNNAI AI phone agent captures an explicit consent event before the call proceeds. Records below include timestamp, caller number, Twilio Call SID, consent method, and agent script version.

Demo data — This page shows representative sample records. Live consent logs will be stored in MySQL and displayed here once the phone agent is in production.

47
Total Calls
44
Consent Granted
2
Consent Declined
1
Timeout / No Response
93.6%
Consent Rate
Consent Records
On File — Verbal Consent Script

Agent Opening Script — v1.2

The following script is delivered verbatim at the start of every inbound call. The call does not proceed past Step 2 without an affirmative consent response. Consent method (verbal "yes" or key press "1") and outcome are logged immediately.

Live Script — v1.2
AGENT
Hello, and thank you for calling. [pause 0.5s] Before we continue, I want to let you know that you have reached an AI-powered assistant operated by DUNNAI. This call may be recorded for quality and service improvement purposes.
AGENT
To continue, I need your consent. If you agree to speak with an AI assistant and to this call being recorded, please say "yes" or press 1 now. If you do not wish to continue, you may hang up or say "no" at any time.
CALLER
"Yes" — or presses 1
AGENT
Thank you. How can I help you today?
AGENT
If declined or timeout: No problem at all. You are welcome to call back at any time or reach us by email at ericwdunn@gmail.com. Have a great day. → Call ends. Consent = DECLINED or TIMEOUT logged.
Database · MySQL

consent_log Table Schema

Schema below will be created in the DUNNAI MySQL database. The phone agent writes one row per call at the moment consent is captured, before any further conversation proceeds.

CREATE TABLE consent_log (
  id               INT UNSIGNED    NOT NULL AUTO_INCREMENT,
  call_sid         VARCHAR(64)     NOT NULL,   -- Twilio Call SID (CA...)
  caller_number    VARCHAR(20)     NOT NULL,   -- E.164 format e.g. +19365550192
  called_number    VARCHAR(20)     NOT NULL,   -- Your toll-free number
  consent_status   ENUM('granted','declined','timeout') NOT NULL,
  consent_method   ENUM('verbal','keypress','none') NOT NULL,
  script_version   VARCHAR(10)     NOT NULL DEFAULT 'v1.2',
  recording_sid    VARCHAR(64)     NULL,        -- Twilio Recording SID (RE...)
  recording_url    VARCHAR(512)    NULL,        -- URL to consent recording segment
  caller_ip        VARCHAR(45)     NULL,        -- Twilio webhook origin IP
  created_at       DATETIME        NOT NULL DEFAULT CURRENT_TIMESTAMP,

  PRIMARY KEY (id),
  UNIQUE KEY  uq_call_sid (call_sid),
  KEY         idx_caller   (caller_number),
  KEY         idx_status   (consent_status),
  KEY         idx_created  (created_at)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;