[asterisk-users] get the value from CDR

unplug maillisting at gmail.com
Thu Sep 28 03:04:06 MST 2006


How can I get the value of the field (say billsec) in CDR after the
call is terminated?  I have a dial plan below to get the billsec after
one of the party hangup the call.  However, the value of billsec is
always 0.
exten => s,2,Hangup
exten => h,1,NoOp(channel=${CHANNEL})
exten => h,2,Set(billsec=${CDR(billsec)})
exten => h,3,MacroExit


More information about the asterisk-users mailing list