Need help handling "anonymous" callerid

pmosher441

New Member
Joined
Jan 17, 2012
Messages
18
Reaction score
0
Today at 3am I received an unwelcome call from "anonymous" callerid. I had thought I had PIAF set up to send calls with anonymous, blocked and unavailable callerids to voicemail, this one wasn't caught.

Here's what I had set up -- inbound routes with "CID Priority Route" checked for any CID for each of "Anonymous," "Blocked" and "Unavailable," routed to voicemail.

Now this particular annoying call came in on the Gtalk channel, which means it certainly isn't a legit call, since I've given my Gtalk number to nobody -- used only for outgoing calls. The call log shows "source anonymous" and "CLID "anonymous" <anonymous>".

Any ideas as to why this wasn't intercepted by the priority inbound route? I tried to define a new such route using lower case "a" on the CID, thinking maybe that's why it didn't match, but the system wouldn't let me, said it was a duplicate of the one with the upper case letter.

Meanwhile, I've put Privacy Manager = yes on each special inbound route and hoping for the best. I don;t know how to test whether any of this is working.

Thanks for any help -- Pauline

I'm using FreePBX 2.8.1.4 with PIAF Purple (where do I find PIAF version number?)
 
Anybody? I've searched these forums and found nothing to help yet.

Thanks -- Pauline
 
Thanks for the IVR/time condition suggestion. I think I'll try that. I wasn't trying to fully block anonymous calls, just catch them and send them to voicemail. The IVR might work better.

Pauline
 
Here is some code I use:

exten => _X.,1,Noop()
exten => _X.,n,GotoIf($["${CALLERID(number)}"="Unknown"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="unknown"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="Private"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="UNAVAILABLE"]?acr,1); Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="NAVAILABLE"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="0000000000"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="Anonymous"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="anonymous"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="Restricted"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($[${LEN(${CALLERID(number)})}!=10]?acr,1)


exten => acr,1,Verbose(2,CID:[${CALLERID(number)}] [Playing ACR Message] REJECTING CALLER ${IVR-Exten} ${OWNER:0:15} ${CALLERIDNUM})
exten => acr,n,Playback(custom/acr,noanswer)
exten => acr,n,Hangup()

Add this to extensions_custom.conf => [from-pstn-custom]
 
Here is some code I use:

exten => _X.,1,Noop()
exten => _X.,n,GotoIf($["${CALLERID(number)}"="Unknown"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="unknown"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="Private"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="UNAVAILABLE"]?acr,1); Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="NAVAILABLE"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="0000000000"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="Anonymous"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="anonymous"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($["${CALLERID(number)}"="Restricted"]?acr,1) ; Reject These
exten => _X.,n,GotoIf($[${LEN(${CALLERID(number)})}!=10]?acr,1)


exten => acr,1,Verbose(2,CID:[${CALLERID(number)}] [Playing ACR Message] REJECTING CALLER ${IVR-Exten} ${OWNER:0:15} ${CALLERIDNUM})
exten => acr,n,Playback(custom/acr,noanswer)
exten => acr,n,Hangup()

Add this to extensions_custom.conf => [from-pstn-custom]

acr voice file is telco message saying we don't accept blocked calls. If you need that file let me know I can send it
 

Members online

Forum statistics

Threads
26,687
Messages
174,409
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top