[arm-allstar] LOG

Doug Crompton wa3dsp at gmail.com
Mon Sep 10 17:51:43 EDT 2018


Luc,

 I am not familiar with cdr logging but I can tell you that CDR.conf and
cdr.conf are not the same file! Case matters in Linux. If it is looking
for  cdr.conf which I think it is, then it is not going to find CDR.conf.
Also Allstar is using Asterisk 1.4 so you need to be aware that commands
and variations of commands added in latter Asterisk versions will not work.

I am curious why you are so interested in logging? Is this some requirement
in Canada? I log Allstar status info to a file on  a USB stick using the
Allstar statement  archivedir  with archiveaudio=0   So audio files are not
logged but if you want you can also log them. archivedir saves all status
information for the node you archive. It is a lot of data on a busy hub but
you can use scripts to pull out what you want. Here are my statements in
the node stanza I want to archive -

archivedir=/media/MS1
archiveaudio=0          ; Disable saving .wav files

My USB stick is named MS1. When Allstar is started it creates a node number
directory under this. So if this was node 40000 it would create the
directory /media/MS1/40000   and then start logging there with date stamped
files for each day like this -

  112 -rw-r--r-- 1 root root    109974 Sep 10 13:53 20180910.txt

This is today's file on one of my hubs. This is all automatic. I have
written scripts to pull stuff I want to see from the file.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Mon, Sep 10, 2018 at 7:53 AM "Luc Drolet VE2LUQ via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Hello to you,
>
> I do not have my LOG on my USB key?
>
> I created a CDR.conf file in /etc/asterisk
> who has his info:  « edit"
>
> ;-----------------
> [general]
> enable = yes
> loggingsafeshutdown = yes
>
> [CSV]
> usegmtime = yes
> loguniqueid = yes
> logusrfield = yes
> ;————————
>
> after i go to /etc/asterisk/modules.conf , « edit"
> and I delete the "NO" in :    load = cdr_csv.so
>
> finally I went in ssh mode with Putty- in the 9 menu start bash shell
> interface
> I put this command so that the info is on the USB key
> mkdir /media/NODE1415LOG/cdr-csv
> my usb key is aptly named "NODE1415LOG"
> without space between words now
>
> I can see on my key the subfile CDR-CSV but it is empty
> the file "MASTER" is missing
>
> can you tell me how to create this file so that my IAXRPT and ZOIPER user
> log is in this file on my USB key?
> because all my users have a different username
> and I want to know who uses his access
>
> Thank you for your help
>
> Luc
> VE2LUQ
>
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org


More information about the arm-allstar mailing list