[asterisk-users] CDR Function in Hangup Channel

Douglas Garstang dougmig33 at yahoo.com
Thu Dec 6 14:54:14 CST 2007


Ok, this is a little crazy...

billsec and duration are 0, but disposition is ANSWERED.
Huh?

h => {
        NoOp(*** LEG B HANGUP ${CDR(duration)} ${CDR(billsec)} ${CDR(disposition)});
        &AddCallLeg(${LEGB_SOURCE},${LEGB_DEST},1,2,${HANGUPCAUSE});
};


----- Original Message ----
From: Douglas Garstang <dougmig33 at yahoo.com>
To: asterisk-users at lists.digium.com
Sent: Thursday, December 6, 2007 12:04:29 PM
Subject: CDR Function in Hangup Channel


So... I'm trying to access CDR(duration) and CDR(billsec) inside h...

I keep getting 0. Can I access the CDR function inside a hangup extensions?

Asterisk 1.4.13

Thanks, Doug.




      Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071206/c2ce9dac/attachment.htm 


More information about the asterisk-users mailing list