VIP Carrier
2009-Jul-14 15:39 UTC
[asterisk-users] How to block inbound call with Asterisk?
Guys, 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? and in to witch file should I write it??? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090714/59760544/attachment.htm
Danny Nicholas
2009-Jul-14 16:01 UTC
[asterisk-users] How to block inbound call with Asterisk?
It is a simple "ex-girlfriend" thing to do, assuming callerid is working correctly. - exten => s,1,answer - exten => s,n/2125551212,Goto(torture|s|1) - exten => s,n,Dial. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of VIP Carrier Sent: Tuesday, July 14, 2009 10:39 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] How to block inbound call with Asterisk? Guys, 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? and in to witch file should I write it??? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090714/53a26f52/attachment.htm
Philipp Kempgen
2009-Jul-14 16:05 UTC
[asterisk-users] How to block inbound call with Asterisk?
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 --