----- Original Message ----- From: Douglas Garstang [mailto:[EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion [mailto:[EMAIL PROTECTED] Sent: Thu, 06 Dec 2007 17:57:18 -0400 Subject: Re: [asterisk-users] CDR Function in Hangup Channel
> Oh Crap. So there's no way to get the duration and billsec from the dial > plan then? > There is an option which can be enabled in the general section of cdr.conf, endbeforehexten, which will cause the values to be calcuated before entering the h extension. Here is what it says in cdr.conf.sample: ; 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 Joshua Colp Software Developer Digium, Inc. _______________________________________________ --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
