Want to stop cdr entry in database

I want to stop CDR entry in database can anybody please help me with code.

[global]
;hostname=10.0.8.18
;dbname=asterisk
;table=cdr
;password=easy@pb
;user=easy
;port=3306
;sock=/home/db/mysql/mysql.sock
;sock=/var/lib/mysql/mysql.sock
userfield=1
loguniqueid=yes

issue a module unload cdr_mysql.so from the console and set it to noload in your modules.conf

You can use Also NoCDR() and it wont create any CDR record for that call