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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to