SPAM
Abstract
Spam is a list of all known nuisance numbers detected by katia.
If a number matches ou spam database, the call should be rejected.
Call blocking reason
SFL
data example
spam.txt is a CSV file containing one or two columns.
one column
da88f6e3f24af9f7dfc11c3e58bbad0176e1034cd331e6c681b0ad78f6db247e
two columns
da88fae3f24af9f7dfc11c3e58bbad0176e1034cd331e6c681b0ad78f6db247e,SPAM
Our spam database is hashed for security reasons and compliance with data protection regulation
Fields description
# | name | description | mandatory |
---|---|---|---|
1 | HASH | HASH of the A_NUMBER | YES |
2 | TAG | category of the A_NUMBER (legacy) | NO |
A_NUMBER to HASH transformation
The A_NUMBER should be transformed into a HASH representation before a verification with the spam database.
example
KEY_PRIVATE | 123456 |
A_NUMBER | 0041214445566 |
HASH Function | sha256(1234560041214445566) |
HASH result | da88f6e3f24af9f7dfc11c3e58bbad0176e1034cd331e6c681b0ad78f6db247e |
verification
Test data
78837a779a1bd5b52330c7421b9ce4f85a062228c7256f3b90202fb56024ec5e8,SPAM
da88fae3f24af9f7dfc11c3e58bbad0176e1034cd331e6c681b0ad78f6db247e,SPAM
5e368a40e803942397367d0c0e9a16d9584250c1ef7a5dcb0a0c04287e04ddc7,SPAM
7fc575fd5a7ab61e3469250804f5af064e61f508886fa3e7178e7725302cbd5e,RISK
731ef10ea0f7e85f3d7ba09f9f0f05169bd44515fbd72e79e7f95b9a52bb6ade,SPAM
A_NUMBER | HASH | MATCH | ACTION |
---|---|---|---|
0041214445566 | da88f6e3f24af9f7dfc11c3e58bbad0176e1034cd331e6c681b0ad78f6db247e | YES | REJECT CALL |
003366655544 | 30c42bf790f7e4a86a1d0e45f8ad1a3b748de2ef44549ca3ab9c0dbd380844d7 | NO | NEXT CHECK |
Done !
Congratulations! You have a working call filtering solution and an access to the best databases