control voipmonitor engine from web gui
VoIP SIP and SKINNY quality analyzer and packet / audio recording tool
Brought to you by:
festr
It would be a good idea to be able to control the voipmonitor engine from the Web GUI.
With control I mean start-stop, reload, and setup capturing of SIP. RTP and translations to WAV etc.
Such a feature should include control of the command line options for the voipmonitor engine, so things like -d, -SGR, etc.
Also the possibility to capture rtp from specific callers or callees only would be an enormous benefit.
At least here in the Netherlands, voip operators are not allowed to capture and store telephone conversations,
but we may be requested by law to monitor specific extensions/phone numbers.
Maybe this lines in php can help you..
<?php
//to kill it
$output = shell_exec('pkill voipmonitor');
echo "<pre>$output</pre>";
?>
//to start it...
if (isset ($_POST['start']))
{
$output=shell_exec('voipmonitor --config-file /etc/voipmonitor.conf --pid-file /var/run/voipmonitor.pid');
}