Blocking Spammer By CallerID “name”
I have a subroutine to block spammer by CALLERID(number)
exten => 4,1,GotoIf(${BLACKLIST()}?blacklisted,s,1)
exten => 4,n,Set(goaway=${CALLERID(number):0:2})
exten => 4,n,GotoIf($["${goaway}" = "V4" ]?blacklisted,s,1)
exten => 4,n,GotoIf($["${goaway}" = "V3" ]?blacklisted,s,1)
but I just got another spammer (automated calls) who rotates his callerID number that starts with valid area code so blocking by prefix is not practical but it seems to me he uses the same (or few same) caller name like:
“Brit. Columbia “” <16047726633>”
“KHAN SHARON “” <16042984429>”
“Brit. Columbia “” <16042231781>“
So I was thinking the same subroutine can be used to block by CALLERID(name), isn’t it:
exten => 4,n,Set(goaway2=${CALLERID(name):0:11})
exten => 4,n,GotoIf($["${goaway2}" = "Brit. Colum" ]?blacklisted,s,1)
exten => 4,n,GotoIf($["${goaway2}" = "KHAN SHARON" ]?blacklisted,s,1)
The spammer is soliciting lowering credit card interest charges etc. anybody know who it is :-/