[Asterisk-Users] Anti Ex-Girlfriend feature for entire area codes?
Rob Fugina
rob.fugina at gmail.com
Tue Sep 21 10:13:39 MST 2004
On Tue, 21 Sep 2004 12:05:29 -0500 (CDT), Nate Carlson
<natecars at natecarlson.com> wrote:
> Hey all,
>
> Someone's posted one of my 800#'s on a poster in California for free
> concert tickets, so I'm getting calls from California AC's at all times of
> the day asking for tickets. I'm just using the 800# for friends and
> family, and don't know anyone in these area codes, so I'd like to just
> give these callers either congestion or a prerecorded message.
>
> Works fine if I do:
>
> exten => 8005551212/4085551212,1,Congestion
> exten => 8005551212/4085551212,2,Hangup()
>
> But if I try:
>
> exten => 8005551212/408XXXXXXX,1,Congestion
> exten => 8005551212/408XXXXXXX,2,Hangup()
>
> It doesn't catch it. Is there any way to do something similar and allow
> wildcards? Thanks!
A pattern should start with an underscore, right?
More information about the asterisk-users
mailing list