[asterisk-users] blocking spammer by callerID "name"

Joseph syscon780 at gmail.com
Thu Jun 13 19:29:30 CDT 2013


When I play:
exten => s,n,Background(welcome)
and press extension "1" the system will not jump to this extension immediately, there is a few sec. pause.

I think because I have an extensions "1" and "11" in my system.
Is there a way to tell "Background" to execute the first match? 

I see there are two options: 's' and 'm' but none of them return immediately 

I put voicemail on exten '0' (nothing else starts with '0') but when the message is playing and I hit '0'
there is a two or three seconds pause before the Voicemail box rings. 
Is there a way to jump to extension immediately?

exten => 1,n,Background(T-to-leave-msg)
exten => 1,n,Background(press-0)
exten => 1,n,WaitExten(5)

[voicemail11]
exten => 0,1,Voicemail(11,b)
exten => 0,n,Hangup()

--
Joseph


On 06/13/13 14:32, Greg Woods wrote:
>On Thu, 2013-06-13 at 13:55 -0600, Joseph wrote:
>
>> Good idea, I like your approach with press "number" to leave a message", this will definitely cut the robo-calls voice-mail.
>
>I do this, but without any white or black lists, and it works great. The
>greeting says "press one for <my wife>, or two for <me>". That alone is
>enough to knock out virtually all the spammers (99% of them are
>robo-calls these days). Once 1 or 2 is pressed, the phones in the house
>will ring with a different ring code for each, and if there's no answer,
>the call goes to separate voice mail boxes for my wife and myself. Works
>great. That alone was worth the effort to install asterisk. Now, the
>cost of the telephony card, that's a different story. Never before have
>I had a PCI card that costs more than the rest of the machine combined.
>So I really wouldn't have done this if it weren't such a cool geek
>project :-)
>
>--Greg



More information about the asterisk-users mailing list