[arm-allstar] Monitoring ptt's/key-up
Roger Coudé
ve2dbe at yahoo.ca
Fri Apr 13 20:12:40 EST 2018
I use the events stanza in rpt.conf
Example:[eventsNNNN]
/usr/local/etc/ve2csc_key.pl NNNN 1 = s|t|RPT_RXKEYED
/usr/local/etc/ve2csc_key.pl NNNN 0 = s|f|RPT_RXKEYED
/usr/local/etc/ve2csc_key.pl NNNN 3 = s|t|RPT_TXKEYED
/usr/local/etc/ve2csc_key.pl NNNN 2 = s|f|RPT_TXKEYED
Then the program /usr/local/etc/ve2csc_key.pl:
!/usr/bin/perl
$statpost_program="/usr/bin/wget -q";
$statpost_url="http://yourwebsite/nodes/statlog.aspx";
if($ARGV[0]>0) {
$post = sprintf "node=%d&time=%d&key=%d", $ARGV[0], time,$ARGV[1];
`$statpost_program $statpost_url"?"\"$post\"`;
}
Create an aspx program (same thing can be done in php if you have a linux server):
That page with node=0 is used in a hidden frame of a monitor program.
That method does not need router port redirection
Roger
De : David via arm-allstar <arm-allstar at hamvoip.org>
À : ARM Allstar <arm-allstar at hamvoip.org>
Cc : David <david at customperformanceracing.net>
Envoyé le : vendredi 13 avril 2018 19h31
Objet : [arm-allstar] Monitoring ptt's/key-up
Would like to monitor all ptt's/key-up, on connected nodes to a hub, realtime. If possible, can someone point me in the right direction?
Thanks David KG5RDF
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the arm-allstar
mailing list