Open Source Training Seminar FreePBX Paid Support

Ticket #518 (closed Feature Requests: wontfix)

Opened 2 years ago

Last modified 2 years ago

FreePBX BlackList Module

Reported by: mjh001 Assigned to:
Priority: minor Milestone: 2.2
Component: Web interface Version: Eventually
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description (Last modified by wozto1s)

It would great to see a Blacklist FreePBX Module 
released SOON, I have not been able to get the 
blacklisting to work at all and from what I have search 
it looks as if I am not alone, I am going to be moving 
to the asterisk soon but the current system I have been 
using has a blacklist under running windows (Call 
Attendent Pro) and I have many numbers in there and 
often add new ones Beaing able to manage a blacklist 
easly is the only hold up on this for me at this time.

Additionaly I would like to be able to define a behavor 
that will act on a blacklisted number and play SIT 
tones and a message and hangup. or play a difrent 
greating for a group of numbers. 

Change History

03/27/06 19:30:02 changed by mjh001

Logged In: YES 
user_id=1484580

Hopefuly this will help to get this moving along, I found 
this on another site but cant get it to work without killing 
 things...

AstRecipes  How to blacklist unwanted callerid
First add extension to allow blacklisting from the phone. 
You may renumber *96 to whatever you want to not conflict 
with other extensions on your system.

[app-system-blacklist]
; *96 <xxxxxxxxxx> 1 - black list phone number <xxxxxxxxxx> 
to level <y>
; *96 <xxxxxxxxxx>   - Delete system speed dial <xxxxxxxxxx>
exten => _*96XXXXXXXXXX.,1,Answer
exten => _*96XXXXXXXXXX.,2,DBput(blacklist/${EXTEN:3:10}
=${EXTEN:13})
exten => _*96XXXXXXXXXX.,3,Wait(1)
exten => _*96XXXXXXXXXX.,4,AGI(festival-script.pl|phone 
number)
exten => _*96XXXXXXXXXX.,5,SayDigits(${EXTEN:3:10})
exten => _*96XXXXXXXXXX.,6,AGI(festival-script.pl|has been 
blacklisted at level)
exten => _*96XXXXXXXXXX.,7,SayDigits(${EXTEN:13})
exten => _*96XXXXXXXXXX.,8,Hangup
exten => _*96XXXXXXXXXX,1,Answer
exten => _*96XXXXXXXXXX,2,DBdel(blacklist/${EXTEN:3:10})
exten => _*96XXXXXXXXXX,3,Wait(1)
exten => _*96XXXXXXXXXX,4,AGI(festival-script.pl|blacklisted 
phone number)
exten => _*96XXXXXXXXXX,5,SayDigits(digits/${EXTEN:3:10})
exten => _*96XXXXXXXXXX,6,AGI(festival-script.pl|has been 
cleared)
exten => _*96XXXXXXXXXX,7,Hangup
then add these lines and number accordingly before the 
answer command to your incoming extension


exten => s,?,Zapateller(answer|nocallerid)
exten => s,?,PrivacyManager
exten => s,?,LookupBlacklist
exten => s,?,LookupCIDName

regular part of the incoming extension and then

exten => s,102,Macro(blacklisted1)
exten => s,103,Macro(blacklisted1)
exten => s,105,Macro(blacklisted1)
exten => s,107,Macro(blacklisted1)
then you need to add the blacklisted1 macro


[macro-blacklisted1]
exten => s,1,Answer
exten => s,2,Wait(1)
;exten => s,3,Zapateller(answer|nocallerid)
exten => s,3,Playback(sit)
exten => s,4,Playback(ss-noservice)
exten => s,5,Hangup 
get the sit sound file from 
http://sourceforge.net/tracker/download.php?
group_id=123387&atid=696352&file_id=130850&aid=1182658

and put that in your sound folder

then reload asterisk to get the new configuration
now pickup a phone and key in *96 then the 10 digit number 
of your cell phone then a 1 to black list your cell phone
then call your system and see if you get the sit sound and 
then the ss-noservice sound and then hangup

if it works you are done

then pickup your phone and key in *96 and the 10 digit 
number you want to remove from the blacklist.


04/07/06 14:04:30 changed by anonymous

  • priority changed from 9 to 1.

04/11/06 11:24:08 changed by wozto1s

  • description changed.
  • milestone set to 2.2.

04/11/06 14:27:08 changed by anonymous

  • priority changed from 1 to 10.
  • milestone changed from 2.2 to 2.1.

04/11/06 14:54:54 changed by anonymous

This is need badly and has to heppen very soon

04/11/06 15:44:19 changed by anonymous

  • priority changed from 10 to 5.
  • version changed from next release to Eventually.
  • milestone changed from 2.1 to 2.2.

This is unlikely to be in 2.1.

May I suggest that if it's really that important to you, why don't you contact http://www.coalescentsystems.ca/index.php?page=Consulting who can write it for you.

04/15/06 19:15:47 changed by wozto1s

  • owner deleted.
  • status changed from assigned to new.

06/25/06 18:14:11 changed by ullbergm

I just uploaded a module that does simple blacklisting. It does what i need it to do right now but if there is a interest in a more advanced blacklisting module i will add on some features. http://freepbx.org/ticket/973

07/17/06 19:26:08 changed by gregmac

After a discussion on #freepbx-dev between myself, X-Rob, and Webrainstorm, we decided that a blacklist (inbound OR outbound) module by itself is mostly pointless.

  • The functionality is already in inbound routing to route calls based on CID
    • Setup a CID match for each call you want to 'blacklist'. Currently the best place to send it is a custom trunk that hangs up, puts them on hold forever, plays SIT tones, whatever.
    • Good candidate for a module to provide these destinations: created ticket #1034 for this request.
  • Functionality is already in outbound routing to route calls based on pattern
    • Setup a route to match the numbers you want to 'blacklist', (eg, "900XXXXXXX", "1900XXXXXXX"), make sure that route is first. Don't assign any trunks to the route, and a message "All circuits are busy now" will be played.
    • A modification to the outbound routes might be to select the message that's played when all lines are busy. By default (and for existing trunks), this could be set to 'all circuits busy', but for blacklist purposes, it may be good to set this to 'sorry, you are not allowed to call this number'. I'm not going to create a ticket for this, but someone else can if they so desire.

07/17/06 19:27:29 changed by gregmac

  • status changed from new to closed.
  • resolution changed from None to wontfix.

Refer to inbound routing and #1034

01/08/07 11:46:44 changed by

  • milestone deleted.

Milestone 2.2 deleted

01/08/07 13:04:55 changed by vgster

  • milestone set to 2.2.
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads