<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Ok, this is a little crazy...<br><br>billsec and duration are 0, but disposition is ANSWERED.<br>Huh?<br><br>h => {<br> NoOp(*** LEG B HANGUP ${CDR(duration)} ${CDR(billsec)} ${CDR(disposition)});<br> &AddCallLeg(${LEGB_SOURCE},${LEGB_DEST},1,2,${HANGUPCAUSE});<br>};<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Douglas Garstang <dougmig33@yahoo.com><br>To: asterisk-users@lists.digium.com<br>Sent: Thursday, December 6, 2007 12:04:29 PM<br>Subject: CDR Function in Hangup Channel<br><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>So... I'm trying to access CDR(duration) and CDR(billsec) inside h...<br><br>I keep getting 0. Can I access the CDR function inside a hangup extensions?<br><br>Asterisk 1.4.13<br><br>Thanks, Doug.<br></div></div><br>
<hr size="1">Looking for last minute shopping deals? <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a></div><br></div></div><br>
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</body></html>