Re: [asterisk-users] Blacklist callers from file

2016-08-31 Thread Frank Vanoni
On Sat, 2016-08-27 at 17:59 +0200, tux john wrote: > Hi. I would like to blacklist a few callers Example: callers with CallerID 0123456789, 9876543210 and 7410258963 are sent to tt-monkeys. Callers from area code 555 are also blocked. In "extensions.conf" file add #include "blacklist.conf"

Re: [asterisk-users] Blacklist callers from file

2016-08-30 Thread Tim S
Hi Kevin, Looks like your gmail did the same thing mine did, took the conversation off-list (unless you meant to do that). If as you mention you're running a mix of POTS and SIP, I'd recommend sticking with the transfer call method (set the hook/trigger in the features.conf file). That way if

Re: [asterisk-users] Blacklist callers from file

2016-08-29 Thread Tim S
s they > go to a no one is here go away message and splash they are gone. Your > method and hot keys sounds very cool. > > > > -Kevin > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Tim S &

[asterisk-users] Blacklist callers from file

2016-08-29 Thread Tim S
I'm a home user (not business), but I implemented a blacklist function too after a harassing call to my wife. Using the Asterisk DB functions, I have a caller ID look-up function before my IVR-tree starts, a simple if then. Lookup caller ID in blocked-caller DB, if found then I kick them to a

Re: [asterisk-users] Blacklist callers from file

2016-08-29 Thread John Kiniston
Here is a quick and dirty bash script to do it that I wrote you. #!/bin/bash if ( asterisk -rx "database deltree blacklist") then echo "Blacklist Cleared" else err "ERROR Failed to clear Blacklist, Exiting." exit 1; fi while IFS=,

Re: [asterisk-users] Blacklist callers from file

2016-08-28 Thread Steve Edwards
Please don't top-post. On 27/8/2016 10:48 μμ, Steve Edwards wrote: Other alternatives involve modifying your dial plan. If you are comfortable with that then you can consider alternatives like an AGI that reads your text file and sets a channel variable. On Sun, 28 Aug 2016, john wrote:

Re: [asterisk-users] Blacklist callers from file

2016-08-28 Thread john
Hi. Thanks a lot for the reply. Script seems good, but i am stuck on how to make it. On 27/8/2016 10:48 μμ, Steve Edwards wrote: On Sat, 27 Aug 2016, tux john wrote: Hi. I would like to blacklist a few callers and I have been using the *CLI> database put blacklist 1234 "annoying callers".

Re: [asterisk-users] Blacklist callers from file

2016-08-27 Thread Steve Edwards
On Sat, 27 Aug 2016, tux john wrote: Hi. I would like to blacklist a few callers and I have been using the *CLI> database put blacklist 1234 "annoying callers". Instead of putting the same command for every user is there any way to have a file? Ideally a file in /opt that I would update the

[asterisk-users] Blacklist callers from file

2016-08-27 Thread tux john
Hi. I would like to blacklist a few callers and I have been using the *CLI> database put blacklist 1234 "annoying callers". Instead of putting the same command for every user is there any way to have a file? Ideally a file in /opt that I would update the blacklisted numbers (add,remove). Is there