voipmonitor / sniffer

VoIPmonitor sniffer sources
226 stars 105 forks source link

CURL WAV convert end hook #84

Closed konstantin-sancom closed 2 years ago

konstantin-sancom commented 2 years ago

This patch allow to set up a WEB hook, which will be called every time WAV file is ready after convertation is done. Config parameters example:

# Base URL for curl hook
curl_hook_wav = http://127.0.0.1:8080/you-script-path
# Pass sensor_id as a server_id parameter in hook JSON data
curl_hook_sensor_id_as_server_id = no