Blocking unknown numbers
I did a search ont he forum and found a posting on using the extensions_custom.conf to filter unknown numbers. I posted it below so everyone could see what I am talking about.
In this conf file, if a call isn't filtered, it is passed off to que 7201. Is there a way to changet this to go back to my ring group? We don't use a que so I would rather this go back to ringing my extensions. Is this possible?
Thank you.
P3X888
====================================
[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
Does anybody have any idea about this?
I would appreciate any help on this.
You can turn on the privacy manager.
I haven't tried this, but on a quick look it would seem that you would, in about line 13,
you would simply call the appropriate group rather than the que.
exten => s,n,Goto(ext-queues,7201,1)
exten => s,n,Goto(ext-group,7201,1)
Bill Ford, FtOCC
City of Vicksburg
Send them to a recording of the screaming monkeys. Thats what we do when an employee tries to dial a 900 or 976 number.
The code snippet looked like it was part of the privacy manager.
Do you want to route all calls with no caller ID to a certain extension, or do you want them to have to key in their number before the call is routed? Privacy manager will ask them to key in their number before passing the call.
http://nerdvittles.com/index.php?p=221
http://www.trixbox.org/forums/trixbox-forums/open-discussion/work...
Is this FreePBX ticket addressing the same issue?
http://freepbx.org/trac/ticket/2763

Member Since:
2006-11-22