Upgrade 3CX to v18 and get it hosted free!

Asterisk cdr manager

Author image

Asterisk CDR records over the manager API

With a driver added to Asterisk in july 2004 (it is present in Asterisk 1.0.x), you can get CDR events over the manager API in Asterisk.

To enable CDR over the Manager API you must enable it in cdr_manager.conf:

;
; Asterisk Call Management CDR
;
[general]
enabled = yes

The event looks like this:

            Event: Cdr
            AccountCode: ...
            Source: ...
            Destination: ...
            DestinationContext: ...
            CallerID: ...
            Channel: ...
            DestinationChannel: ...
            LastApplication: ...
            LastData: ...
            StartTime: ...
            AnswerTime: ...
            EndTime: ...
            Duration: ...
            BillableSeconds: ...
            Disposition: ...
            AMAFlags: ...
            UniqueID: ...
            UserField: ...

See Asterisk billing for a description of the fields and their contents.

See also

Asterisk | Asterisk manager API

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.