<p dir="ltr">Doug...</p>
<p dir="ltr">I haven't tried that archiveaudio=0 thing.</p>
<p dir="ltr">Is that just on the bb code? I see no mention if such a thing elsewhere.<br><br><br></p>
<p dir="ltr">    </p>
<div class="gmail_quote">On Feb 17, 2015 9:04 PM, "Doug Crompton" <<a href="mailto:doug@crompton.com">doug@crompton.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr"><font color="#000000" face="Tahoma,sans-serif">Adam,<br><br> All the other ideas have merit but there is a built-in way to do this using the archivedir command. The command is inserted in the node definition part of the node you want to log in rpt.conf.<br><br>archivedir=/var/log/asterisk/audio<br>archiveaudio=0          ; Disable saving .wav files<br><br>The second command is one we added to the BBB distribution because archivedir will save all status information including wav audio files of all transactions on the node stanza where you define it. Setting archiveaudio to 0 diables the saving of the audio files. Something you would definitely want to do if you are running the BBB.  On a Pc you could just just have a cron job that deletes the wav files each day if you don't want them.<br><br>It creates daily text files named like this -<br><br> /var/log/asterisk/audio/xxxxx/20150217.txt<br><br>xxxxx is the node number, so you can have logs for each node in separate directories. The file contents typically looks like this -<br><br>20150217000020,TXUNKEY,40879<br>20150217000020,TXUNKEY,41244<br>20150217000020,TXUNKEY,40561<br>20150217000022,RXKEY,28544<br>20150217000022,TXKEY,41167<br>20150217000022,TXKEY,28796<br>20150217000022,TXKEY,28366<br><br>There is a lot of data on a busy node!  It is the complete date and time to the second, the action taken, and the node number that action was taken on.<br><br>I have created a perl program that sorts this all out and uses the Asterisk database to create real names. It also follows the date change and selects the new days file.<br><br>02/17/2015 20:24:29 RXKEY 40961   WA3DSP  146.565 Simplex 88.5  Cape May, NJ<br>02/17/2015 20:24:52 RXKEY 29971   WA3EZT  446.2 simplex             Jenkintown, PA 19046<br>02/17/2015 20:26:37 RXKEY 28796   KC4RPP  443.100                      Naples, FL<br>02/17/2015 20:27:11 RXKEY 40961   WA3DSP  146.565 Simplex 88.5  Cape May, NJ<br>02/17/2015 20:28:17 RXKEY 29971   WA3EZT  446.2 simplex             Jenkintown, PA 19046<br>02/17/2015 20:29:19 RXKEY 28796   KC4RPP  443.100                      Naples, FL<br><br>In this case I only look at rxkey's but you could look at any status command you desire. This is a great way to see exactly who is keyed up on a node.<br><br>So the information is there you just have to process it. The archivedir command gives you a very complete log of everything your node did including audio recordings if you want them.<br><br></font><b><font style="font-size:16pt" size="4">73 Doug</font><font style="font-size:16pt" size="4"><br></font><font style="font-size:16pt" size="4">WA3DSP</font><font style="font-size:16pt" size="4"><br></font><font style="font-size:16pt" size="4"><a href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamradio</a></font></b><font style="font-size:16pt" size="4"><br></font><br><br><div>> From: <a href="mailto:ajp26@buffalo.edu" target="_blank">ajp26@buffalo.edu</a><br>> To: <a href="mailto:app_rpt-users@ohnosec.org" target="_blank">app_rpt-users@ohnosec.org</a><br>> Date: Tue, 17 Feb 2015 20:15:06 +0000<br>> Subject: [App_rpt-users] app_rpt logging<br>> <br>> Afternoon all,<br>> <br>>         Is there a way to enable broad logging of connect, disconnect, keying, that's seen by app_rpt? Even cranked up to debug, the information about who's connected, say via echolink, is not available. I'd have to dump console output to a file, and I'm hoping I'm just missing some setting to get by this. Thoughts?<br>> <br>> Adam, KC2YQF<br>> _______________________________________________<br>> App_rpt-users mailing list<br>> <a href="mailto:App_rpt-users@ohnosec.org" target="_blank">App_rpt-users@ohnosec.org</a><br>> <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br>> <br>> To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. <br>> <br></div>                                     </div></div>
<br>_______________________________________________<br>
App_rpt-users mailing list<br>
<a href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br>
<a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br>
<br>
To unsubscribe from this list please visit <a href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a> and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br>
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. <br></blockquote></div>