Duplicate cdrs in Asterisk 18.13.0

Hi smarties,
I was running on Asterisk 11, just upgraded to 18 and getting duplicate cdr records.
Using Mysql database for cdrs.

Ast0*CLI> cdr show status

Call Detail Record (CDR) settings

Logging: Enabled
Mode: Simple
Log calls by default: Yes
Log unanswered calls: No
Log congestion: No

  • Registered Backends

    mysql
    Adaptive ODBC
    cdr_manager (suspended)
    cdr-custom
    radius
    cdr_sqlite3_custom
    csv
    res_config_sqlite

In the old Asterisk 11 i used to have only
Logging: Enabled
Mode: Simple
Log unanswered calls: No
Log congestion: No

Are there any settings for not writing into the cdr table for each leg

Thanks

In Asterisk 12 and above the CDR functionality was completely rewritten. As a result it can and will produce multiple CDRs depending on the scenario.

Thanks J,
touch call i just need to access REFER header and its only possible in the Asterisk 13=>
I wish i could find a way to access REFER header in Asterisk 11 so i dont have to go through my cdr stuff.