On 29/10/09 5:56 AM, Alexandru Oniciuc wrote:
> I used 1.4.21 and this(${CDR(duration)}) didn't work:
>
> exten => h,1,Verbose(>> (${CDR(dst)}) # Call from ${CDR(clid)} ended at
> ${STRFTIME(${EPOCH},,%d/%m/%Y %H:%M:%S)}. Duration(sec): ${CDR(duration)}.)
Make sure you have "endbeforehexten" set to yes in /etc/asterisk/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=yes
--
Cheers,
Matt Riddell
Director
_______________________________________________
http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
_______________________________________________
-- 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