[asterisk-users] How to block inbound call with Asterisk?

VIP Carrier vipcarrier at gmail.com
Tue Jul 14 12:27:01 CDT 2009


Here is what asterisk said
Sorry, but 1 syntax errors and 0 semantic errors were detected. It doesn't
make sense to compile.




On Tue, Jul 14, 2009 at 12:05 PM, Philipp Kempgen <philipp.kempgen at amooma.de
> wrote:

> VIP Carrier schrieb:
> > How would you block inbound call's? for example person who is calling me
> is
> > 212-555-1212, and I would like to do not receive the calls from this
> person
> > and give them busy tone.
> > What should I write in asterisk config files?
>
> core show function CALLERID
>
> Verbose(1,### Inbound call from ${CALLERID(num)});
> if ("${CALLERID(num)}" = "2125551212") {
>        Verbose(1,### Block this guy);
>        Busy(5);
>        Hangup();
> }
> Dial(...);
>
> > and in to witch file should I
> > write it???
>
> extensions.ael? extensions.conf?
>
>
>    Philipp Kempgen
> --
> AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
> Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
> Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
> Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
> --
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090714/30c4f62d/attachment.htm 


More information about the asterisk-users mailing list