This is a simple cronJob to send automatic a custom CDR email every 10 minutes that will include all missed calls of this period.

Create a php file named missed_calls.php

and store it here

Finally create an every minute cronjob named missed_calls.cron

and store it here