<!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.1491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everybody,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>We are trying to develop a new blacklist 
application using Perl and AGI, in order to cut the users that call more than a 
number of minutes. We want that this&nbsp;blacklist application will be 
transparent&nbsp;for the real application, so the application don't have to do 
anything else.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In the extension.conf we are using the next 
configuration:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>exten 
=&gt;_number,1,AGI,blacklist_in.agi</FONT></DIV>
<DIV><FONT face=Arial size=2>exten =&gt;_number,2,Answer</FONT></DIV>
<DIV><FONT face=Arial size=2>exten 
=&gt;_number,3,AGI,application.agi</FONT></DIV>
<DIV><FONT face=Arial size=2>exten 
=&gt;_number,4,AGI,blacklist_out.agi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The problem that we have now, is that blacklist_out 
will have to know the time when the call began. There are any way to pass to the 
blacklist_out when the call has began. For example blacklist_in can generate 
when the call has began, but can't pass it to blacklist_out.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Have a nice day!</FONT></DIV></BODY></HTML>