callrec

command module
v0.0.0-...-d8500bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 14 Imported by: 0

README

callrec

Records BrandMeister calls on a talkgroup to files using the Simple External Application protocol.

Installation

go get github.com/BrandMeister/callrec
go install github.com/BrandMeister/callrec

Configuration

Copy config-example.json to config.json and edit it.

You can define callExecCommands. Received call data will be passed to callExecCommand1's stdin, and call data passed through all defined callExecCommands will be saved on the disk (callExecCommand1's stdout is piped to callExecCommand2's stdin and so on). This way you can pass AMBE data to an external application which decodes the stream.

The strings $SRCID, $DSTID, $SRCCALL and $DSTCALL in the callExecCommands get replaced by their value at the time of the call.

Note that every time a new call starts, a new process gets created. When the call ends, the processes started by callExecCommand get their stdin closed and need to stop.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL