How to register a CDR after a AMI Originate call

I need to send to asterisks an Originate command in order to make a call an play a message, just like bellow, the call is made with no problem but a CDR is not inserted, however if I make calls using a softphone the CDR is inserted.
The problem happens only with calls initiated by Originate Action on AMI. What can I do to solve this problem

I’m using the Asterisk 1.6.2.5.

The command I’m using.

Action: Originate
Channel: SIP/xxxxxxxxx@voip
Callerid: 3312
Application: Playback
data: hello-world

Thanks
Flavio

Hi use the Local channel

Ian

Thank you Ian, it works.

Flavio