[arm-allstar] BBB and Private Node
Doug Crompton
doug at crompton.com
Fri Aug 1 01:15:01 EST 2014
That is correct. The cron entry is -
03 03 * * * cd /etc/asterisk/local; ./astdb.php
and the astdb.php file snipet -
// Save the data
$db = "/var/log/asterisk/astdb.txt";
if (! $fh = fopen($db, 'w')) {
die("Cannot open $db.");
}
It is stored there because it is a temp file system. It does not write to the SD card. lsnodes reads the file from there.
I recommend that you randomly change the time on the cron entry so the database doesn't get hammered by everyone at the same time!
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: malgood at gmail.com
To: w6reb at hammradio.us; arm-allstar at hamvoip.org
Date: Fri, 1 Aug 2014 11:39:34 +0800
Subject: Re: [arm-allstar] BBB and Private Node
Hi
Check the file located in /var/log/asterisk
I think that this is the actual file that is updated and used.
Mal
VK6MT
From:
arm-allstar-bounces at hamvoip.org [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of w6reb
Sent: Friday, 1 August 2014 11:27
AM
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] BBB and
Private Node
I’ve been watching the etc/asterisk/local/astdb.txt for
about a week now. I haven’t seen it Update once. Cron seems OK. Permissions
seems right. But what’s more puzzling is the fact I can’t even force an Update.
I’ve got two BBB doing the same thing. Obviously it operator error some place.
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20140801/72914966/attachment.html>
More information about the arm-allstar
mailing list