Initial commit — Performance West telecom compliance platform
Includes: API (Express/TypeScript), Astro site, Python workers, document generators, FCC compliance tools, Canada CRTC formation, Ansible infrastructure, and deployment scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
f8cd37ac8c
1823 changed files with 145167 additions and 0 deletions
24
scripts/workers/cdr_presets/sansay.py
Normal file
24
scripts/workers/cdr_presets/sansay.py
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
"""Sansay SBC — SSM (Sansay System Manager) Playwright scrape preset."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from ._scrape_base import ScrapePreset
|
||||
|
||||
|
||||
class SansayPreset(ScrapePreset):
|
||||
PRESET_SLUG = "sansay"
|
||||
LABEL = "Sansay SBC (SSM)"
|
||||
CDR_FORMAT = "generic_csv"
|
||||
DEFAULT_CRON = "0 3 * * *"
|
||||
|
||||
FORMAT_CONFIG = {
|
||||
"start_time": "cdr_start",
|
||||
"caller_number": "calling_number",
|
||||
"called_number": "called_number",
|
||||
"duration_sec": "duration",
|
||||
"billed_amount": "call_charge",
|
||||
"call_id": "call_id",
|
||||
"trunk_group": "ingress_tg",
|
||||
"disposition": "termination_cause",
|
||||
"ts_format": "%Y-%m-%d %H:%M:%S",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue