robotastic / trunk-recorder

Records calls from a Trunked Radio System (P25 & SmartNet)
GNU General Public License v3.0
869 stars 195 forks source link

No Digital Recorders Available. #788

Closed smokedsalmonbagel closed 1 year ago

smokedsalmonbagel commented 1 year ago

I am getting the message No Digital Recorders Available. even though I have several configured. Am I missing a configuration parameter?

trunk-recorder      | [2023-03-13 15:07:25.356546] (info)   [Test]   7C      TG:      26205  Freq: 855.812500 MHz    TG not in Talkgroup File
trunk-recorder      | [2023-03-13 15:07:25.356667] (error)   [Test]  7C      TG:      26205  Freq: 855.812500 MHz    [ rtl=02 ] No Digital Recorders Available.

Here are my sources:

    "sources": [

        {
            "center":856000000,
            "rate": 1200000,
            "error": 0,
            "gain": 25,
            "driver": "osmosdr",
            "device": "rtl=02",
            "digitalRecoders": 2
        },
        {
            "center":857987500,
            "rate": 2400000,
            "error": 0,
            "gain": 25,
            "driver": "osmosdr",
            "device": "rtl=03",
            "digitalRecoders": 2
        },
        {
            "center":859700000,
            "rate": 960000,
            "error": 0,
            "gain": 25,
            "driver": "osmosdr",
            "device": "rtl=04",
            "digitalRecoders": 2
        },
        {
            "center":852300000,
            "rate": 960000,
            "error": 0,
            "gain": 25,
            "driver": "osmosdr",
            "device": "rtl=05",
            "digitalRecoders": 2
        },
        {
            "center":155500000,
            "rate": 1920000,
            "error": 0,
            "gain": 25,
            "driver": "osmosdr",
            "device": "rtl=01"
        }
    ],

Here is the relevant system:

{
            "control_channels": [859762500,856487500,857487500,858487500],
            "type": "p25",
            "controlWarnRate": 0,
            "shortName": "Test",
            "modulation": "qpsk",
            "minTransmissionDuration":2,
            "uploadScript":"/app/encode-upload.sh",
            "talkgroupsFile": "talkgroups.csv",
            "unitTagsFile": "unit_tags.csv",
            "audioArchive" : false,
            "compressWav" : false,
            "decodeMDC" : true,
            "decodeFSync" : true,
            "decodeStar" : true,
            "decodeTPS" : true
        }
taclane commented 1 year ago

"digitalRecorders": 2

Double-check the spelling on config keys. I'm pretty sure I've made this mistake myself...

smokedsalmonbagel commented 1 year ago

Wow - thanks for spotting this.