[App_rpt-users] LOG

Bryan Fields Bryan at bryanfields.net
Sun Mar 18 20:22:03 UTC 2018


On 3/18/18 4:05 PM, ldrolet at cgocable.ca wrote:
> It sounds like you need to set up Asterisk Call Detail Records (CDR).
> 
> If you Google "iax cdr", or "asterisk cdr setup", you will probably find
> plenty of results.
> 
> I imagine you will need to have each of your users assigned a username and
> context in iax.conf to allow tracking of their usage.

It's simple to set this up.

In modules.conf enable cdr_csv.so, and then setup a cdr_manager.conf:
[general]
enabled = yes

and a cdr.conf

[general]
enable=yes
unanswered = yes
[csv]
usegmtime=no    ; log date/time in GMT.  Default is "no"
loguniqueid=yes  ; log uniqueid.  Default is "no"
loguserfield=yes ; log user field.  Default is "no"

Sighup asterisk and you should be logging CDR to /var/log/asterisk/cdr-csv/

73's
-- 
Bryan Fields

727-409-1194 - Voice
http://bryanfields.net



More information about the App_rpt-users mailing list