On Thu, 2007-12-06 at 12:54 -0800, Douglas Garstang wrote:
> 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});
> };
> Douglas-- Check out cdr.conf-- ; Normally, CDR's are not closed out until after all extensions are finished ; executing. By enabling this option, the CDR will be ended before executing ; the "h" extension so that CDR values such as "end" and "billsec" may be ; retrieved inside of of this extension. ;endbeforehexten=no Try setting endbeforehexten=yes and see if you get what you need murf > > ----- 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 homepage. > _______________________________________________ > --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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ --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
