<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
I am trying to get the duration of a call passed to an agi to do the
billing for the the call using<br>
<br>
exten =&gt; h,1,Set(BILLSEC=${CDR(billsec)})<br>
exten =&gt;
h,2,DeadAgi(billCall.php|${CALLERIDNUM}|${DESTINATION}|${BILLSEC}|${RATE}|${DESTNAME})<br>
<br>
But I get a blank duration (${BILLSEC}) every time.<br>
<br>
Can anybody point me in the right direction please?<br>
<br>
Thank you<br>
<br>
Marnus van Niekerk<br>
</font>
<pre class="moz-signature" cols="72">-- 

"Opportunity is missed by most people because it is
dressed in overalls and looks like work."

Thomas Alva Edison - Inventor of 1093 patents,
including the light bulb, phonogram and motion pictures.
</pre>
</body>
</html>