Here is what asterisk said<br>Sorry, but 1 syntax errors and 0 semantic errors were detected. It doesn&#39;t make sense to compile.<br><br><br><br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 12:05 PM, Philipp Kempgen <span dir="ltr">&lt;<a href="mailto:philipp.kempgen@amooma.de">philipp.kempgen@amooma.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">VIP Carrier schrieb:<br>
<div class="im">&gt; How would you block inbound call&#39;s? for example person who is calling me is<br>
&gt; 212-555-1212, and I would like to do not receive the calls from this person<br>
&gt; and give them busy tone.<br>
&gt; What should I write in asterisk config files?<br>
<br>
</div>core show function CALLERID<br>
<br>
Verbose(1,### Inbound call from ${CALLERID(num)});<br>
if (&quot;${CALLERID(num)}&quot; = &quot;2125551212&quot;) {<br>
        Verbose(1,### Block this guy);<br>
        Busy(5);<br>
        Hangup();<br>
}<br>
Dial(...);<br>
<div class="im"><br>
&gt; and in to witch file should I<br>
&gt; write it???<br>
<br>
</div>extensions.ael? extensions.conf?<br>
<br>
<br>
    Philipp Kempgen<br>
--<br>
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  -&gt;  <a href="http://www.amooma.de" target="_blank">http://www.amooma.de</a><br>
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998<br>
Asterisk: <a href="http://the-asterisk-book.com" target="_blank">http://the-asterisk-book.com</a> - <a href="http://das-asterisk-buch.de" target="_blank">http://das-asterisk-buch.de</a><br>
Videos of the AMOOCON VoIP conference 2009 -&gt;  <a href="http://www.amoocon.de" target="_blank">http://www.amoocon.de</a><br>
<font color="#888888">--<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></blockquote></div><br>