[HELP]Incorect call format in CDR when having a conference

Hi all,

I am having a problem when trying to analyze automatically the master.csv resulted after a conference. Below you can see the CDRs:


In this example the local device 2401 makes a conference with 2 external numbers: 010818051851111 and 010815020342222. My problem is that they appear in the same position (No1 appears in the pos 1, and No2 appears in the pos 2) in both calls.

The format that I would need is presented below:

Is there a way to obtain this last format? How?

Thank you.