dallas
Active Member
- Joined
- Oct 21, 2007
- Messages
- 844
- Reaction score
- 247
My RaspPBX seems to be getting a lot of spoofed Caller IDs. Most have either too many digits or not enough to be valid.
So I would like to look at the CID length and drop those that are fraudulent. Numbers with more than 10 digits starting with "1" I can drop (with a route CDI of "_1.") but it's a bit harder to filter out 10 digit numbers starting with 2-9. Maybe this will work..." _[23456789]NNNNNNNNN] for 10 digit numbers but how do I filter shorter numbers?
Has anyone tried something like this, and how do I get these filters to the top of the
So I would like to look at the CID length and drop those that are fraudulent. Numbers with more than 10 digits starting with "1" I can drop (with a route CDI of "_1.") but it's a bit harder to filter out 10 digit numbers starting with 2-9. Maybe this will work..." _[23456789]NNNNNNNNN] for 10 digit numbers but how do I filter shorter numbers?
Has anyone tried something like this, and how do I get these filters to the top of the