<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5583" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=132520910-15072008>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=132520910-15072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=132520910-15072008>how can I realize a
Call-Blocking application with FreeSWITCH?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=132520910-15072008></SPAN></FONT> </DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial size=2>The application
should look up the caller in a kind of blacklist or delegate the
lookup to another application.</FONT></SPAN></DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial size=2>Every incoming call
has to be blocked if the caller is on the blacklist.</FONT></SPAN></DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial size=2>Is it possible to
realize this as a application which is called from the
dialplan?</FONT></SPAN></DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial size=2>As the dialplan is
parsed only once for a call, it won't work if the application is called
from an action tag, I guess. The outcome of the application can't influence any
following action, right?</FONT></SPAN></DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial size=2>What about calling
the application in the condition tag? Would that count as an "abuse" as
mentioned in the wiki?</FONT></SPAN></DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial size=2>What method can you
recommend to block incoming calls depending on the
originator?</FONT></SPAN></DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=132520910-15072008><FONT face=Arial size=2>Regards,
</FONT></SPAN></DIV>
<DIV class=Section1>
<P style="MARGIN-BOTTOM: 12pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 45 Light'">--<BR>Alois <SPAN
class=SpellE>Komenda</SPAN><BR>Fraunhofer-Einrichtung für Systeme der
Kommunikationstechnik ESK<BR></SPAN><BR
style="mso-special-character: line-break"><BR
style="mso-special-character: line-break"></P></DIV>
<DIV> </DIV></BODY></HTML>