[Asterisk-Users] RE: ex-girlfriend (ex-boyfriend)

18 views
Skip to first unread message

Ricardo Monteiro

unread,
Feb 10, 2006, 10:08:56 AM2/10/06
to asteris...@lists.digium.com

Hi,

            Is there any syntax we can apply in the extensions to use the anti-ex-girl(boy)friend technique to multiple callers without having to replicate the lines?

 

I mean, can I write the following two lines in only one line?

 

exten=> 12345/100,1,Hangup

exten=> 12345/200,1,Hangup

 

 

Ricardo

Michiel van Baak

unread,
Feb 10, 2006, 12:47:34 PM2/10/06
to asteris...@lists.digium.com

Hi,

I use the lookupblacklist for this
http://www.voip-info.org/wiki/view/Asterisk+cmd+LookupBlacklist

Works like a charm

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

Alexander Lopez

unread,
Feb 11, 2006, 12:03:11 AM2/11/06
to Asterisk Users Mailing List - Non-Commercial Discussion
> [mailto:asterisk-us...@lists.digium.com] On Behalf Of
> Michiel van Baak
> Sent: Friday, February 10, 2006 12:48 PM
> Subject: Re: [Asterisk-Users] RE: ex-girlfriend (ex-boyfriend)

>
> On 15:08, Fri 10 Feb 06, Ricardo Monteiro wrote:
> > Hi,
> >
> > Is there any syntax we can apply in the
> extensions to use
> > the anti-ex-girl(boy)friend technique to multiple callers without
> > having to replicate the lines?
> >
> > I mean, can I write the following two lines in only one line?
> > exten=> 12345/100,1,Hangup
> > exten=> 12345/200,1,Hangup
>
> Hi,
>
> I use the lookupblacklist for this
> http://www.voip-info.org/wiki/view/Asterisk+cmd+LookupBlacklist
>
> Works like a charm
>
You could also try exten => 12345/_X00,1,Hangup

Ira

unread,
Feb 11, 2006, 2:19:26 PM2/11/06
to Asterisk Users Mailing List - Non-Commercial Discussion
At 07:08 AM 02/10/2006, you wrote:
I mean, can I write the following two lines in only one line?
 
exten=> 12345/100,1,Hangup
exten=> 12345/200,1,Hangup

I would think this would work:

exten=> 12345/[1-2]00,1,Hangup


Ira

Ira

unread,
Feb 11, 2006, 3:21:08 PM2/11/06
to Asterisk Users Mailing List - Non-Commercial Discussion
At 07:08 AM 02/10/2006, you wrote:
>I mean, can I write the following two lines in only one line?
>
>exten=> 12345/100,1,Hangup
>exten=> 12345/200,1,Hangup

Oops, forgot the underscore!

I would think this would work:

exten=> _12345/[1-2]00,1,Hangup


Ira

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 02/10/2006

Reply all
Reply to author
Forward
0 new messages