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 <[EMAIL PROTECTED]>
To: [email protected]
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_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users