with a muti tenant environment, supode each cdr set will be cleared based on retention period defined on this tenant
UNfortully, mantenance module wiping all data using retention no matther why tenant record come… so if are a tenant with 60 days and all others with 365 days, mantenance will delete all data with 60 days from all tenant. Its a big issue
how reproduce it:
Create e tenants: one set 10 days period, other set 1 or 2 days period to cdr retention. Then do some calls on one tenant and another…after 1 ou 2 days, run mantenance script and see all records older than 1 or 2 days are deleted from both tenants.