Is it possible to add any variable in cdr?

Is it possible to add any variable in cdr table for counting the dtmf ?

Per the wiki[1]:

In addition, you can set your own extra variables by using Set(CDR(name)=value).

CDRs don’t care what you put in custom variables there.

[1] https://wiki.asterisk.org/wiki/display/AST/CDR+Variables

1 Like

thanks for advise sir,i have one more question i.e can we store dtmf in user field in cdr table during call by using AMI?

I have no experience with that and can not comment on it.

Sir, i have just tried it and it is working with dial plan but i want to do it with php AMI, So guide me only that how can i do this ?