Cdr

Hi I want help regarding the cdr in asterisk.
I m using asterisk-java for making calls through AMI.

Manager code:-

OriginateAction originateAction;
ManagerResponse originateResponse;
originateAction = new OriginateAction();
originateAction.setCallerId("Azhar");
originateAction.setChannel("SIP/215642214"@provider1");
originateAction.setContext("BulkCalling");
originateAction.setExten("1003");
originateAction.setAsync(true);
originateAction.setPriority(new Integer(1));
originateAction.setTimeout(new Integer(3000000));
originateResponse=managerConnection2.sendAction(originateAction,3000000);

Extensions
[BulkCalling]
exten => 1003,1,Answer()
exten => 1003,n,Playback(${music})
exten => 1003,n,Hangup()

${music} will be the music file location

In this case AMI would make a call to the callee and then if he answered the phone then the music file will b played.

All this is working fineā€¦

I have issue related to CDR
In this case CDR are maintained for the call that are answered only.
There are no entry for the calls that are not unanswered or failed due to any of other reasons.
How should i get the CDR for all calls through AMI.

Enable the log of the unasnwered calls in the cdr configuration file.