Trunk Recorder -- issues blacklisting / preventing TGs from being recorded

Status
Not open for further replies.

mtindor

OH/WV DB Admin
Database Admin
Joined
Dec 5, 2006
Messages
10,405
Location
Carroll Co OH / EN90LN
Now this could just be me, not knowing what I'm doing. i'm monitoring a P25 CQPSK system (PHase I talkgroups only) on a robust PC using an Airspy.

1. I cannot stop encrypted talkgroups from being recorded

The log file says encrypted talkgroups are NOT being recorded. But it is totally lying. I can see / hear those encrypted talkgroups on RR right now.

2. Whether I use priority 99 or priority 100 in the talkgroups.csv file, it isn't preventing those talkgroups from being recorded

The log doesn't say that they are _not_ being recorded, and I can verify that they definitely _are_ being recorded even with a priority of 99 or 100 set.

Yeah, I know this isn't the support forums for Trunk Recorder, but it beats about any other method of support for TR that I can find. The guys (and gals?) on Gitter.Im seem to only be awake when I'm sleeping heh.

Is anyone using Trunk Recorder and successfully able to (a) prevent encrypted talkgroups from being recorded / uploaded and (b) use priority 99 or 100 to stop talkgroups in the talkgroups.csv file from being recorded / uploaded?

Actually, this is odd. The logfile shows many hits on 45008 (an ENC talkgorup, which also has priority set to 99, was 100, in talkgroups.csv): It looks like much of the time the encrypted talkgroup is NOT being recorded but that occasionally it DOES get recorded.

[2020-02-05 07:32:13.390380]: [StarkCo] TG: 45008 Freq: 774.131287 Not Recording: ENCRYPTED
[2020-02-05 07:32:37.174011]: [StarkCo] TG: 45008 Freq: 772.306213 Not Recording: ENCRYPTED
[2020-02-05 07:32:53.899630]: [StarkCo] TG: 45008 Freq: 774.131287 Not Recording: ENCRYPTED
[2020-02-05 07:33:08.131005]: [StarkCo] TG: 45008 Freq: 773.881287 Not Recording: ENCRYPTED
[2020-02-05 07:33:28.690636]: [StarkCo] TG: 45008 Freq: 774.131287 Not Recording: ENCRYPTED
[2020-02-05 07:33:42.328069]: [StarkCo] TG: 45008 Freq: 772.631226 Not Recording: ENCRYPTED
[2020-02-05 07:34:04.770528]: - Starting P25 Recorder Num [5] TG: 45008 Freq: 774.381226 TDMA: false Slot: 0
[2020-02-05 07:34:04.770735]: [StarkCo] TG: 45008 Freq: 774.381226 Starting Recorder on Src: airspy
[2020-02-05 07:34:16.007550]: [StarkCo] TG: 45008 Freq: 774.381226 Ending Recorded Call - Last Update: 4s Call Elapsed: 12
[2020-02-05 07:34:16.007764]: - Stopping P25 Recorder Num [5] TG: 45008 Freq: 774.381226 TDMA: false Slot: 0
[2020-02-05 07:34:16.007826]: Running upload script: ./bcfy/bcfy-upload.sh 13 /home/radio/trunk-player/audio_files/StarkCo/2020/2/545008-1580906044_774381250.wav &
[2020-02-05 07:34:24.471861]: [StarkCo] TG: 45008 Freq: 773.881287 Not Recording: ENCRYPTED
[2020-02-05 07:34:38.376890]: [StarkCo] TG: 45008 Freq: 773.456238 Not Recording: ENCRYPTED
[2020-02-05 07:34:50.087955]: [StarkCo] TG: 45008 Freq: 774.131287 Not Recording: ENCRYPTED
[2020-02-05 07:35:19.527105]: [StarkCo] TG: 45008 Freq: 774.381226 Not Recording: ENCRYPTED
[2020-02-05 07:36:02.895301]: [StarkCo] TG: 45008 Freq: 772.631226 Not Recording: ENCRYPTED
[2020-02-05 07:36:46.930308]: [StarkCo] TG: 45008 Freq: 774.131287 Not Recording: ENCRYPTED
[2020-02-05 07:37:14.797303]: [StarkCo] TG: 45008 Freq: 774.381226 Not Recording: ENCRYPTED
[2020-02-05 07:40:36.207820]: [StarkCo] TG: 45008 Freq: 774.131287 Not Recording: ENCRYPTED
[2020-02-05 07:41:24.779114]: [StarkCo] TG: 45008 Freq: 774.131287 Not Recording: ENCRYPTED
[2020-02-05 07:41:50.908120]: [StarkCo] TG: 45008 Freq: 774.381226 Not Recording: ENCRYPTED
[2020-02-05 07:41:57.005166]: TG: 45008 Freq: 774.381226 Elapsed: 7 State: monitoring
[2020-02-05 07:43:12.548336]: [StarkCo] TG: 45008 Freq: 774.381226 Not Recording: ENCRYPTED
[2020-02-05 07:44:27.727790]: [StarkCo] TG: 45008 Freq: 772.306213 Not Recording: ENCRYPTED
[2020-02-05 07:45:58.319545]: - Starting P25 Recorder Num [2] TG: 45008 Freq: 774.381226 TDMA: false Slot: 0
[2020-02-05 07:45:58.319762]: [StarkCo] TG: 45008 Freq: 774.381226 Starting Recorder on Src: airspy
[2020-02-05 07:46:11.017507]: [StarkCo] TG: 45008 Freq: 774.381226 Ending Recorded Call - Last Update: 4s Call Elapsed: 13
[2020-02-05 07:46:11.017695]: - Stopping P25 Recorder Num [2] TG: 45008 Freq: 774.381226 TDMA: false Slot: 0
[2020-02-05 07:46:11.017757]: Running upload script: ./bcfy/bcfy-upload.sh 13 /home/radio/trunk-player/audio_files/StarkCo/2020/2/545008-1580906758_774381250.wav &

Talkgroup 45117 -- listed with priority 99 or 100 in talkgroups.csv (which means it should not be recorded / should be totally ignored)

[2020-02-05 07:28:54.711118]: - Starting P25 Recorder Num [0] TG: 45117 Freq: 773.456238 TDMA: false Slot: 0
[2020-02-05 07:28:54.711426]: [StarkCo] TG: 45117 Freq: 773.456238 Starting Recorder on Src: airspy
[2020-02-05 07:29:06.009175]: [StarkCo] TG: 45117 Freq: 773.456238 Ending Recorded Call - Last Update: 4s Call Elapsed: 12
[2020-02-05 07:29:06.009340]: - Stopping P25 Recorder Num [0] TG: 45117 Freq: 773.456238 TDMA: false Slot: 0
[2020-02-05 07:29:06.009382]: Running upload script: ./bcfy/bcfy-upload.sh 13 /home/radio/trunk-player/audio_files/StarkCo/2020/2/545117-1580905734_773456250.wav &
[2020-02-05 07:39:47.282189]: - Starting P25 Recorder Num [3] TG: 45117 Freq: 774.131287 TDMA: false Slot: 0
[2020-02-05 07:39:47.282399]: [StarkCo] TG: 45117 Freq: 774.131287 Starting Recorder on Src: airspy
[2020-02-05 07:39:56.008741]: [StarkCo] TG: 45117 Freq: 774.131287 Ending Recorded Call - Last Update: 4s Call Elapsed: 9
[2020-02-05 07:39:56.008886]: - Stopping P25 Recorder Num [3] TG: 45117 Freq: 774.131287 TDMA: false Slot: 0
[2020-02-05 07:39:56.008927]: Running upload script: ./bcfy/bcfy-upload.sh 13 /home/radio/trunk-player/audio_files/StarkCo/2020/2/545117-1580906387_774131250.wav &

talkgroups.csv tidbits (also tried with priority 100 with same effect):

45117,,D,MASSPD DISP,Massillon Police Dispatch,Law Dispatch,Stark County 76 Law,99
45008,,DE,EMTDSP 1,EMT Ambulance Dispatch 1,EMS Dispatch,Stark County 76 FireEMSHospital,99

relevant config.json lines:

"recordUnknown": true,
"hideEncrypted": false,
"hideUnknownTalkgroups": false,
"talkgroupsFile": "MARCStalkgroups-99.csv",

Mike







Mike
 

mtindor

OH/WV DB Admin
Database Admin
Joined
Dec 5, 2006
Messages
10,405
Location
Carroll Co OH / EN90LN
Ok, I found my particular problem (with the help of @gofaster and @bctrainers over on Gitter.Im). The "priority" was not working. And in my case this was because my talkgroups.csv file looked like this:

59086,,D,COEMA87,Emergency Management Agency,Emergency Ops,Wood County 87,100
59850,,D,HOS8701,Wood County Hospital Bowling Green,Hospital,Wood County 87,100
20190,,D,WSUDISP,Police Dispatch,Law Dispatch,Wright State University 29,100
20199,,DE,WSUOPS,Police Ops,Law Tac,Wright State University 29,100
20205,,DE,WSUADM,Police Admin,Law Tac,Wright State University 29,100
20208,,D,WSUSRV1,Service 1,Public Works,Wright State University 29,100
20212,,D,WSUSRV2,Service 2,Public Works,Wright State University 29,100
51001,,D,SO88DSP,Sheriff Dispatch,Law Dispatch,Wyandot County 88,100

Notice the hex talkgroup ID column is blank -- eg; ,, (nothing in between the two commas)

TR did not like that -- did not parse it correctly.

I used the =dec2hex function in Excel to generate the hex numbers to put between ,, and now priority works great.

59086,E6CE,D,COEMA87,Emergency Management Agency,Emergency Ops,Wood County 87,100
59850,E9CA,D,HOS8701,Wood County Hospital Bowling Green,Hospital,Wood County 87,100
20190,4EDE,D,WSUDISP,Police Dispatch,Law Dispatch,Wright State University 29,100
20199,4EE7,DE,WSUOPS,Police Ops,Law Tac,Wright State University 29,100
20205,4EED,DE,WSUADM,Police Admin,Law Tac,Wright State University 29,100
20208,4EF0,D,WSUSRV1,Service 1,Public Works,Wright State University 29,100
20212,4EF4,D,WSUSRV2,Service 2,Public Works,Wright State University 29,100
51001,C739,D,SO88DSP,Sheriff Dispatch,Law Dispatch,Wyandot County 88,100

So for anyone creating a talkgroups.csv file to use with Trunk Recorder, I would highly recommend that you have 8 fully filled out columns per row -- Do not skip entering data by using ,, .

Mike
 

ScanYak

Member
Feed Provider
Joined
Apr 22, 2009
Messages
157
Location
Eastern Washington
I know this is somewhat of an old thread but a great discovery for me to stop encrypted files from uploading to Calls. I knew there had to be an answer. Who thought you had to have the hex in the csv file. Thanks, been looking for days!
 
Status
Not open for further replies.
Top