<!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.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I was thinking in use realtime asterisk to decide
wether to call the agi or not. I mean, add the agi in the first position of the
dialplan or delete it for each user. So I can activate - desactivate it and call
the script only when necessary.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2> Victor.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>------------------------------<BR><BR>Message: 18<BR>Date: Fri, 20 May 2005
14:39:44 +0200<BR>From: Elmar Haneke <<A
href="mailto:elmar@haneke.de">elmar@haneke.de</A>><BR>Subject: Re:
[Asterisk-Users] call barring<BR>To: Asterisk Users Mailing List -
Non-Commercial Discussion<BR><<A
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>><BR>Message-ID:
<<A
href="mailto:428DDA90.50800@haneke.de">428DDA90.50800@haneke.de</A>><BR>Content-Type:
text/plain; charset=us-ascii; format=flowed<BR><BR><BR>> Does It sound like
correct? <BR><BR>The AGI should set an Variable to indicate if to block or
not.<BR><BR> > What do you think about execute a script for<BR>>
every call, query the database each time..? Do you think It'll <BR>>
overcharge the system?<BR><BR>Usually that should not be a problem since it is
run at call <BR>initiation only.<BR><BR>How many call-initiations do you have
per second?<BR><BR>If it is about one or more you should redesign your AGI:
Build it as <BR>an native executable use the Fast-Agi-Extension and ommit the
<BR>DB-Connection (recompile on changed block
list).<BR><BR>Elmar<BR><BR><BR>------------------------------<BR></DIV></BODY></HTML>