robotastic / trunk-recorder

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

Save recorder and source number in Call_Data_t #935

Closed taclane closed 2 months ago

taclane commented 3 months ago

To aid in the analysis of freq_error, signal, and noise values in 5.0, it would be beneficial to track which SDR a call was recorded on. This zero-indexed value will need to be compared against the source order in the config.json, but it will allow users interested in monitoring such information to correlate these metrics against unique devices.

This PR captures a call's source and recorder number in the Call_Data_t struct, and provides it to the call .json or any plugin seeking to use it.

robotastic commented 2 months ago

This is a good add! I curious to see what kind of analysis people do with it