[Asterisk-Users] Caller-ID Block
Tim Litwiller
tim at litwiller.net
Sat Apr 30 07:44:28 MST 2005
If it references anything that is not in the default asterisk - then it
came from asterisk at home. I just looked again - it uses the festival
text to speech engine to say the words - record those messages and then
use playback(filename) instead of AGI(festival-script.pl|words to say)
for example:
record a file that says "phone number" and save it in your asterisk
sounds directory called phone_number.wav
change
AGI(festival-script.pl|phone number)
playback(phone_number)
for the next one record "has been blacklisted at level" and save as
filename blacklisted_at_level.wav
AGI(festival-script.pl|has been blacklisted at level)
playback(blacklisted_at_level)
or if you don't want to use your voice find one of the web sites that
lets you test text to speech and download as a wav file and save those.
Daniel Salama wrote:
> Tim,
>
> This certainly looks interesting. I just have a question about the
> recipe: it makes reference to some AGI perl scripts. Is the source
> available? Or may be it's irrelevant.
>
> Thanks,
> Daniel
>
> On Apr 29, 2005, at 9:10 PM, Tim Litwiller wrote:
>
>> Daniel Salama wrote:
>>
>>> Question: how can I block someone from calling us?
>>> Sometimes we get crank calls into our office. We'd like to build a
>>> list of callers to be blocked. When they call, they should hear busy
>>> and then we hang up. We have about 100 DIDs routed to different
>>> contexts and I wouldn't want to have to manually edit all contexts.
>>> Is there a way to do something global to create something like a
>>> black list of caller IDs to block?
>>> Thanks,
>>> Daniel
>>
>>
>> I used bits and pieces that I got from this list and from the wiki
>> and made this up - I'm using it on aah - but it should be usable
>> with slight modification on any asterisk install.
>>
>> If you just want busy you'll have to edit the blacklisted1 macro
>> currently it plays the SIT sound and then the this number is no
>> longer in service message
>>
>> It usually gets me taken off their call lists pretty quickly :)
>>
>>
>> http://www.oinko.net/astrecipes/index.php?from=0&q=astrecipes/
>> how+to+blacklist+unwanted+callerid
>>
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
More information about the asterisk-users
mailing list