Archivedir

From AllStarLink Wiki
Revision as of 17:09, 16 December 2022 by KB8JNM (talk | contribs) (Created page with "archivedir is a simple log and recorder. Placed in rpt.conf archivedir= /etc/asterisk/log/ The chosen directory must have ownership / rights for asterisk. It will create...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

archivedir is a simple log and recorder.

Placed in rpt.conf

archivedir= /etc/asterisk/log/

The chosen directory must have ownership / rights for asterisk.

It will create 2 things. A daily log file that the contents looks similar to this...


20221216112549,TXUNKEY,MAIN

20221216112800,RXKEY,29285

20221216112800,TXKEY,MAIN

20221216112800,RXUNKEY,29285

20221216112800,TXUNKEY,MAIN

20221216112801,LINKDISC,29285

The log file is named by date like this:

20221216.txt


And a series of audio recordings, one each for a active COR on the node and named with file date and time.

20221216115590.WAV (note that .wav and .WAV are not the same exact format)

Unfortunately, the log is not very in depth. But can show connects and disconnects and transmissions. Often you will need to listen to the audio to tell exactly what happened when trying to trace some things down. But you have a time stamp to make that easier.

You must take care if running this long periods of time as the audio files will consume a lot of HDD space.

This can be useful in debugging, policing or other creative things.