CDR for all events


I have a question.
Is it possible to use CDR to store information about all the events that have occured, not only the lastapp?
I have configured Asterisk to store the CDR information to postgresql, fine.
But, e.g making an outgoing call, and playing a file, currently I have only one entry
…lastapp = Playback; lastdata = demo-thanks…

Instead I would like to have two (or more) entries (for each application like answer, wait etc.):

…lastapp = Dial; lastdata = SIP/John…
…lastapp = Playback; lastdata = demo-thanks…

Does anyone know a way to achieve this?

Thanks for all suggestions. :smile: