There’re some parameters in file astercc.conf for astercc daemons. We can change them to get a beter performance for asterisk billing. please note that u need to restart asterrc daemon to reload configration. refreshrate = 60 refreshrate is the seconds asterrc daemon reload data from database, when u change asterBilling setting a lot, like rate, clid … , u need this parameter, but once your system is stable, u can set it to -1, so that after asterrc load the data when it start, it would not read from database again and again. refreshlock = 30 The seconds we refresh data for astercclock to lock booth, or lock group, reseller. calculateallcdr = no when set to yes, asterrc will re-calculate all records with groupid =-1 or resellerid = -1 in mycdr table, this could be used when u want to calculate the CDRs with no billing . calculateoldcdr = no when set to yes, asterrc will re-calculate all records in mycdr table, this could be used when u want to calculate the history CDR. This could be used when your rate changed and you want to reset all credits. callbackbill = src ; src: bill src only ; dst: bill dst only ; both: both src and dst removeNonSysCDR = 0 ; if we need use asterrc to remove CDR with resellerid = -1 or groupid = -1 removeNoAnswerCDR = 0 ; if we need use asterrc to remove no answer CDR