[Freeswitch-users] mod_blacklist

terry at digital-outpost.com terry at digital-outpost.com
Fri Aug 1 08:31:15 MSD 2014


Jira filed.

On 2014-07-29 13:43, Michael Collins wrote:
> I see the exact same symptoms on latest stable. Please file a jira for 
> the devs.
> 
> -MC
> 
> On Mon, Jul 28, 2014 at 6:27 PM, Terry Barnum 
> <terry at digital-outpost.com> wrote:
> 
> I started playing around this weekend with blacklisting certain 
> telemarketers that seem to call like clockwork.
> 
> I got it working using 
> <https://confluence.freeswitch.org/display/FREESWITCH/mod_blacklist 
> [1]> as a starting point. For now I'm just using the console to add 
> numbers, not a dialplan extension.
> 
> If I have two numbers in the blocked list and delete one of them using 
> the console, then save the list, it still saves both numbers to the 
> blocked file. I have to manually edit blocked.list to remove the 
> number.
> 
> FreeSWITCH Version 1.4.6+git~20140603T193516Z~9479729340~64bit (git 
> 9479729 2014-06-03 19:35:16Z 64bit) on a 2.3GHz i7 MacMini.
> 
> From the console:
> 
> freeswitch at mini.local> blacklist add blocked 1234567890
> +OK
> 2014-07-28 18:09:26.556327 [INFO] mod_blacklist.c:228 Added 
> [1234567890] to list [blocked]
> 
> freeswitch at mini.local> blacklist check blocked 1234567890
> true
> 
> freeswitch at mini.local> blacklist del blocked 1234567890
> +OK
> 2014-07-28 18:09:50.776324 [INFO] mod_blacklist.c:250 Removed 
> [1234567890] from list [blocked]
> 
> freeswitch at mini.local> blacklist check blocked 1234567890
> false
> 
> freeswitch at mini.local> blacklist save blocked
> 2014-07-28 18:10:11.056373 [INFO] mod_blacklist.c:280 Saving blocked to 
> /usr/local/freeswitch/conf/blacklists/blocked.list
> 2014-07-28 18:10:11.056373 [DEBUG] mod_blacklist.c:288 adding 
> 15129160420 to the dump file
> +OK
> 2014-07-28 18:10:11.056373 [DEBUG] mod_blacklist.c:288 adding 
> 1234567890 to the dump file
> 
> The last line shows fs saving the deleted number to the blocked list. 
> Are the docs incorrect? Is there another way to do this?
> 
> Thanks,
> -Terry
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com [2]
> 
> 
>  [3]
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org [4]
> http://wiki.freeswitch.org [5]
> http://www.cluecon.com [6]
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users [7]
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 
> [8]
> http://www.freeswitch.org [4]
> 
> 
> 
> Links:
> ------
> [1] https://confluence.freeswitch.org/display/FREESWITCH/mod_blacklist
> [2] http://www.freeswitchsolutions.com
> [3] 
> [4] http://www.freeswitch.org
> [5] http://wiki.freeswitch.org
> [6] http://www.cluecon.com
> [7] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> [8] http://lists.freeswitch.org/mailman/options/freeswitch-users
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list