REST has to be enabled under settings to log.
The API only has access to logged calls and does not access the CDR
If you would like it to do CDR stuff you may open a commercial feature request.
https://wiki.freepbx.org/display/SUP/How+to+open+a+feature+request