<font color="#000066"><font size="2"><font face="tahoma,sans-serif">Ow...<br><br>I have =no commented, so I guess =yes is default??<br></font></font></font><div style="margin-left: 40px;"><font color="#000066"><font size="2"><font face="tahoma,sans-serif">; Normally, CDR&#39;s are not closed out until after all extensions are finished<br>
; executing.  By enabling this option, the CDR will be ended before executing<br>; the &quot;h&quot; extension so that CDR values such as &quot;end&quot; and &quot;billsec&quot; may be<br>; retrieved inside of of this extension.<br>
;endbeforehexten=no<br><br></font></font></font></div><font color="#000066"><font size="2"><font face="tahoma,sans-serif">So if I uncomment that, I will be able to use billsec in h exten... right?<br><br>Thanks Danny!<br>
</font></font></font><br><div class="gmail_quote">On 18 August 2010 22:19, Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Tiago Geada<br>
<b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users] CDR
variables</span></font></p>

</div><div class="im">

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; color: navy;">&gt;</span></font><font size="2" color="#000066" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; color: rgb(0, 0, 102);">Hello list!<br>

<br>
</span></font><font size="2" color="navy" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; color: navy;">&gt;</span></font><font size="2" color="#000066" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; color: rgb(0, 0, 102);">I
am trying to get hold of ${CDR(duration)} and ${CDR(billsec)} variables in h<br>
<br>
</span></font><font size="2" color="navy" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; color: navy;">&gt;</span></font><font size="2" color="#000066" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; color: rgb(0, 0, 102);">It
seems that these variables always return 0. I am using  Asterisk version
1.6.2.11. Can&#39;t I get these values other than using CDR reccords ??</span></font><font size="2" color="navy" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; color: navy;"></span></font></p>

<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

</div><p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">In cdr.conf, is endbeforehexten=yes ?</span></font></p>

</div>

</div>


<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>