<!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>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2> I'm willing to implement call barring for
incoming and outgoing calls and I would like to discuss it with the
list first, since I think It can't be implemented in a 'natural way' and I
will need to use agi scripting - database. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Process would be:</FONT></DIV>
<DIV><FONT face=Arial size=2> 1. incoming calls</FONT></DIV>
<DIV><FONT face=Arial size=2> priority
1, call incoming.agi, select all the blocked cli's for the called user, if
caller is on the list -> congestion</FONT></DIV>
<DIV><FONT face=Arial size=2> 2. outgoing calls</FONT></DIV>
<DIV><FONT face=Arial size=2> priority
1, call outgoing.agi, select all the blocked numbers for the caller user, if
number dialled is on the list -> hang-up or play message.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does It sound like correct? What do you think about
execute a script for every call, query the database each time..? Do you think
It'll overcharge the system?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Thanks a lot and kind regards,</FONT></DIV>
<DIV><FONT face=Arial size=2> Victor.</FONT></DIV></BODY></HTML>