Blocking Unknown Caller ID - How to set up

morgolis
Posts: 17
Member Since:
2006-08-15

Hello everyone,

Gotta say, i'm digging Trixbox. In a matter of a few hours i have installed, configured and got working my install using 2 outside VoIP providers with DID's. I'm impressed.

However, before i actually swap out my current POTS line from Ma-bell, i want to make sure this works as i would like. My biggest thing are these stupid Tele-marketers who block their caller id's. I've read Nerdvittles and googled around trying to find any "How-to" articles around *for* trixbox 1.1.1 but the closest i have gotten is from Nerdvittles, however, their walk through is for an older version of A&H. (Even used the search function on Trixbox.)

While i'm not a Linux Nuub (been using linux variants for several years) I am a complete Nuub at using Asterisk and PBX's. Would someone please be kind enough to respond with a simple walk through on setting up a unknown caller ID block where either they unblock their number or go away.

Many thanks in advance.



w5waf
Posts: 711
Member Since:
2006-06-09
Re: Blocking Unknown Caller ID - How to set up

Go to the inbound routes setup page. About 2/3 down, there's a block called "Privacy Manager" turn it on. It will require anyone who calls without a CID to enter their phone number. Granted, there's nothing to prevent them from entering a fake phone number, but I doubt the automated stuff the TM's use will recognize that. It will probably just crap out and you won't be bothered with the TM calls.

--

Bill Ford - FtOCC
City of Vicksburg
www.vicksburg.org



iSEPIC
Posts: 73
Member Since:
2006-08-10
Re: Blocking Unknown Caller ID - How to set up

I have the following in extensions_custom.conf
I gave up on the "say your name" and just put the "I dont accept blocked calls - just remove the ; and add ; to the sections to try out. I got this from several online sites, and if you search for a few lines here you can see the complete articles

and have all inbound routes pointed to custom-incoming,s,1
and I have an queue, with the number 7201
and I have a voicemail box with exteion 201

[custom-incoming]
exten => s,1,Answer
exten => s,n,AGI(calleridname.agi)
exten => s,n,GotoIf($["${CALLERIDNUM}" = ""]?custom-screen,s,1)
exten => s,n,GotoIf($["${CALLERIDNUM}" = "0000000000"]?custom-screen,s,1)
exten => s,n,GotoIf($["${CALLERIDNAME}" = "restricted"]?custom-screen,s,1)
exten => s,n,GotoIf($["${CALLERIDNAME}" = "anonymous"]?custom-screen,s,1)
exten => s,n,GotoIf($["${CALLERIDNUM}" = "Private"]?custom-screen,s,1)
exten => s,n,GotoIf($["${CALLERIDNAME}" = "Private"]?custom-screen,s,1)
exten => s,n,GotoIf($["${CALLERIDNUM}" = "Unknown Number"]?custom-screen,s,1)
exten => s,n,GotoIf($["${CALLERIDNAME}" = "Unknown Number"]?custom-screen,s,1)
exten => s,n,GotoIf($["${CALLERIDNUM}" = ""]?custom-screen,s,1)
exten => s,n,Goto(ext-queues,7201,1)
exten => s,n,Hangup

[custom-screen]
;exten => s,1,Wait(1)
;exten => s,n,Playback(privacy-screening-unidentified-calls)
;exten => s,n,Playback(priv-recordintro)
;exten => s,n,SetVar(SCREEN_FILE=/tmp/${CALLERIDNUM}-${EPOCH})
;exten => s,n,Record(${SCREEN_FILE}:ulaw|2|4)
;exten => s,n,Playback(priv-introsaved)
;exten => s,n,Dial(SIP/7201,20,mtM(screen^${SCREEN_FILE}))
;exten => s,n,Goto(17);VM
;exten => s,17,Voicemail(u201@default)
;exten => s,18,Playback(goodbye)
;exten => s,19,Hangup
;exten => s,107,Goto(17)
;exten => h,1,System(/bin/rm ${ARG1}.ulaw)
exten => s,1,Wait(1)
exten => s,n,Zapateller
exten => s,n,Playback(privacy-unident&privacy-if-sales-call-contact-in-writing&please-hang-up-and-try-again)
exten => s,n,Congestion(5)
exten => s,n,Hangup
exten => s,n,Hangup



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.