Custom CDR Issue

Hi all
I am new to asterisk and trying to build a dial out application…in my application i am doing originate only and CDR is stored by asterisk using cdr_adaptive…
when call is answered call default field and custom field is set properly but now problem is
when call not answered Set(CDR(field)=val) not work…please tell the way how i can achieve this?

extension.conf
exten => 101,1,PlayBack(sound)
exten=> 101,2,Set(CDR(filed)=val) ///work prefectely when answered

Have you looked at the unanswered option in cdr.conf?

cdr.conf:; Define whether or not to log unanswered calls that don’t involve an outgoing
cdr.conf:unanswered = no

1 Like

yess …i have set it yes. and CDR inserted in table but my custom field is not set with values, its blank. and dst column also blank…i am using asterisk 13 and cdr_adaptive with oracle database.
if i use Set(CDR(filed)=value) on failed extension i get Set(“OUTGOINGSPOOLINGFAILED”)…

yess …i have set it yes. and CDR inserted in table but my custom field is not set with values, its blank. and dst column also blank…i am using asterisk 13 and cdr_adaptive with oracle database.
if i use Set(CDR(filed)=value) on failed extension i get Set(“OUTGOINGSPOOLINGFAILED”)…