[Asterisk-Users] Anti Ex-Girlfriend feature for entire area codes?

Nate Carlson natecars at natecarlson.com
Tue Sep 21 10:05:29 MST 2004


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!

------------------------------------------------------------------------
| nate carlson | natecars at natecarlson.com | http://www.natecarlson.com |
|       depriving some poor village of its idiot since 1981            |
------------------------------------------------------------------------



More information about the asterisk-users mailing list