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

Reply via email to