Good evening all. I am trying to condense my SDR machines and I figured I would give the multi_rx a go. Currently I am using op25 on 2 machines to send Fire Dispatch for 1 stream and Police Dispatch to a 2nd stream on broadcastify. Looking at some of the previous posts I have put together what I think should be a working json file. This is all 1 site using the same P25 system. Can an expert or 2 look it over for me?
anything between ^ ^ is me noting for you what the files are. Its not actually in the configuration. Also when starting since I called out the CC in the json I should be able to omit the trunk.tsv in the start up correct? I should be able to using something like ./multi_rx.py -c multitrunk.json -U -l http:0.0.0.0:8080 2> stderr.2 -X
anything between ^ ^ is me noting for you what the files are. Its not actually in the configuration. Also when starting since I called out the CC in the json I should be able to omit the trunk.tsv in the start up correct? I should be able to using something like ./multi_rx.py -c multitrunk.json -U -l http:0.0.0.0:8080 2> stderr.2 -X
Code:
{
"channels": [
{
"name": "DUCOMM_Fire",
"device": "sdr0",
"trunking_sysname": "STARCOM21",
"meta_stream_name": "stream_0",
"demod_type": "cqpsk",
"cqpsk_tracking": true,
"tracking_threshold": 120,
"tracking_feedback": 0.75,
"destination": "udp://127.0.0.1:23456",
"excess_bw": 0.2,
"filter_type": "rc",
"if_rate": 24000,
"plot": "",
"symbol_rate": 4800,
"enable_analog": "off",
"blacklist": "",
"whitelist": "trunkFIRE.whitelist"
},
{
"name": "DUCOMM_PD",
"device": "sdr1",
"trunking_sysname": "STARCOM21",
"meta_stream_name": "stream_1",
"demod_type": "cqpsk",
"cqpsk_tracking": true,
"tracking_threshold": 120,
"tracking_feedback": 0.75,
"destination": "udp://127.0.0.1:23466",
"excess_bw": 0.2,
"filter_type": "rc",
"if_rate": 24000,
"plot": "",
"symbol_rate": 4800,
"enable_analog": "off",
"blacklist": "",
"whitelist": "trunkPD.whitelist"
}
],
"devices": [
{
"args": "rtl=0", ^ It shouldn't matter what the name of the RTL device is as they are both monitoring the same system correct?^
"gains": "LNA:39",
"gain_mode": false,
"name": "sdr0",
"offset": 0,
"ppm": 0.0,
"rate": 1000000,
"usable_bw_pct": 0.85,
"tunable": true
},
{
"args": "rtl=1", ^ Not sure if I need to call out the serial of the RTL device is as they are both monitoring the same system^
"gains": "LNA:39",
"gain_mode": false,
"name": "sdr0",
"offset": 0,
"ppm": 0.0,
"rate": 1000000,
"usable_bw_pct": 0.85,
"tunable": true
}
],
"trunking": {
"module": "tk_p25.py",
"chans": [
{
"nac": "0x145",
"sysname": "STARCOM21",
"control_channel_list": "770.95625,773.84375,774.18125,774.43125",
"whitelist": "", ^ White lists are noted in the channel area. Do I need to provide a combined white list?^
"blacklist": "",
"tgid_tags_file": "tgidall.tags", ^ TG's of both Fire and PD Dispatch^
"rid_tags_file": "",
"tdma_cc": false,
"crypt_behavior": 2
}
]
},
"metadata": {
"module": "icemeta.py",
"streams": [
{
"stream_name": "stream_0",
"meta_format_idle": "Scanning...",
"meta_format_tgid": "[%TGID%]",
"meta_format_tag": "[%TGID%] %TAG%",
"icecastServerAddress": "audiox.broadcastify.com",
"icecastMountpoint": "XXXXXXXX",
"icecastMountExt": ".m3u",
"icecastPass": "XXXXX",
"delay": 0.0
},
{
"stream_name": "stream_1",
"meta_format_idle": "Scanning...",
"meta_format_tgid": "[%TGID%]",
"meta_format_tag": "[%TGID%] %TAG%",
"icecastServerAddress": "audiox.broadcastify.com",
"icecastMountpoint": "XXXXXXXXXX",
"icecastMountExt": ".m3u",
"icecastPass": "XXXXXX",
"delay": 0.0
}
]
},
"audio": { ^Since I am sending this to broadcastify can I remove the audio section completely? I don't use it in my icecast meta json now^
"module": "sockaudio.py",
"instances": [
{
"instance_name": "audio0",
"device_name": "default",
"udp_port": 23456,
"audio_gain": 1.0,
"number_channels": 1
},
{
"instance_name": "audio1",
"device_name": "default",
"udp_port": 23466,
"audio_gain": 1.0,
"number_channels": 1
}
]
},
"terminal": {
"module": "terminal.py",
"terminal_type": "curses",
"#terminal_type": "http:127.0.0.1:8080",
"curses_plot_interval": 0.1,
"http_plot_interval": 1.0,
"http_plot_directory": "../www/images",
"tuning_step_large": 1200,
"tuning_step_small": 100
}
}