Blacklisting certain phone numbers

moliver75
Posts: 12
Member Since:
2008-06-12

Hello,

I am looking to do something specific and I can't seem to find it.

I know there is a way to blacklist in trixbox. I am running version 2.6.2.2 I just don't seem to have the mojo on this one.

I want to send certain calls to a voice mail without ringing my phones. All other calls I want to go ahead and go to my normal ringgroup.

Example.

Car Warranty Telemarketer using same number each time.
Calls me
Normally would ring my phone
But instead rings to an extension that says please leave a message.
Sister Calls me
Rings my phone as normal.

any ideas
thanks



b14ck
Posts: 773
Member Since:
2009-03-03
There are two ways, there's

There are two ways, there's a feature code for it, and also you can do it through the web interface. Login as admin and go to PBX->PBX Settings->Blacklist

--

Randall Degges
Lead Developer, RCI Telecommunications
projectb14ck - http://projectb14ck.org/ - Weblog



nbsberlin
Posts: 46
Member Since:
2007-02-07
This is from a previous post....

Even though it would be really nice to have this configurable from the admin (maybe something for the next release of freepbx) I did find another way of achieving the same results by overriding the app-blacklist-check macro (extensions_override_freepbx.conf) - takes them to an endless queue telling that no family member is available to take their call and that they should stay on the line. Usually they call once into the queue and never call again....

You will have to modify the last line since it is currently made to drop them in a queue: (ext-local,vmu34,1)

; includes forward to queue to trap telemarketers
[app-blacklist-check]
exten => s,1,LookupBlacklist()
exten => s,n,GotoIf($["${LOOKUPBLSTATUS}"="FOUND"]?blacklisted)
exten => s,n,Return()
exten => s,n(blacklisted),Answer
;define target in next line
exten => s,n,Goto(ext-queues,222,1)



Comment viewing options

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