Why don't you use a simple script (I use a PHP one, but you can use almost any 
language)?

-----Original Message-----
From: Liviu Toma [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 22, 2008 11:35 AM
To: TAUG
Subject: [on-asterisk] Block list of numbers

Hello,

Is there a way to have Asterisk look up the caller ID of incoming calls in a 
text file and reject the call if it matches ?
Currently I have a long list of something like:
exten => s,n,GotoIf($["${CALLERID(number)}" =  "4165551234"]?1234,1) where 
extenson 1234 rejects the call, but obviously is not very practical.

Thanks,
Liviu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: 
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to