[asterisk-users] astdbdir in asterisk.conf has no effect
Jeff Pyle
jeff at ugnd.org
Thu Oct 29 13:00:48 CDT 2020
Hello,
On Asterisk 13.19 I'm trying to set astdbdir in /etc/asterisk.conf, but
it's not having any effect. For example:
# grep astdbdir /etc/asterisk/asterisk.conf
astdbdir => /tmp/asterisk
/tmp/asterisk exists and is owned by asterisk:asterisk, as the asterisk
processing is running as asterisk:asterisk with the config file forced:
# ps aux | grep asterisk
asterisk 3389 13.1 3.5 4295146504 214004 ? S<sl 13:56 0:24
/usr/sbin/asterisk -mqC /etc/asterisk/asterisk.conf
Yet it's still running in the old place:
# lsof -n | grep astdb.sqlite | awk '{print $11}' | sort | uniq
/var/lib/asterisk/astdb.sqlite3
I see default.h defines the path with the astdb:
#define DEFAULT_DB "/var/lib/asterisk/astdb"
so I tried astdbdir => /tmp/asterisk/astdb, but no change. It's still
running in /var/lib/asterisk.
I feel like I'm missing something. Any suggestions?
- Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20201029/42b11ebf/attachment.html>
More information about the asterisk-users
mailing list