industries
Pyvorin for CDR Analysis
Call detail record parsing, aggregation, and billing.
Published May 30, 2026
CDR Parsing
Parse call detail records from switches and normalise fields.
def parse_cdr(line):
parts = line.split(",")
return {
"caller": parts[0],
"callee": parts[1],
"duration": int(parts[2]),
"timestamp": parts[3]
}
Aggregation
Roll up CDRs by hour, cell tower, and subscriber for billing.
Fraud Scoring
Detect SIM-box, wangiri, and subscription fraud from CDR patterns.