KamoCRM

Per-phone-server outbound policy and OutboundCallPolicy (SP93 T3)

Featurekamo-shared-library
Shipped
October 4, 2026 at 7:07 PM UTC
Author
Kamo
Commit
449dafc

SP93 Task 3 (spec §5.2, D1, D4-D6): - AiVoiceInstanceSettings gains **************** BLOCK_INTERNATIONAL, BLOCK_PREMIUM_RATE, BLOCK_HIGH_RISK_AREA_CODES (boolean, NOT NULL DEFAULT false) and BLOCKED_PREFIXES (VARCHAR(500) NOT NULL DEFAULT ''), plus blockedPrefixList(). - New pure OutboundCallPolicy: the Settings record, the FCC 'One Ring' high-risk NANP area codes, the premium-rate codes 900/976, isValidPrefix (1-15 digits, never 911, 933 or a prefix of either), dialPatterns (the Asterisk patterns for [kamo-toll-fraud-blocked], in a fixed order, each once, invalid stored prefixes dropped) and blocks (does a rendered pattern match the AI's PBX dial digits), so the PBX and an AI's pre-flight check never disagree. The five columns must exist (SP93 Task 2's DDL apply) before this reaches main.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing