On Mon, Mar 4, 2019, at 12:10 PM, Michael Munger wrote:
>  
> I’ve installed asterisk from the debian repo, but, despite changing 
> `astdatadir` in asterisk.conf, it insists on using 
> `/usr/share/asterisk` instead of `/var/lib/asterisk`, which creates 
> user permission problems since it’s running as the user `asterisk`. The 
> Record() application instantly fails due to permissions problems.
> 
> 
> Instead of giving the asterisk user read / write permissions for 
> /usr/share/asterisk, I was trying to change it to /var/lib/asterisk/, 
> but it continuously ignores my changes.
> 
> 
> Is this a Debian issue or am I changing the wrong thing in 
> asterisk.conf? (I normally compile from source, which uses 
> /var/lib/asterisk by default. First time using a repo package)

Did you change the configuration section in asterisk.conf to not be a template? 
The (!) has to be removed from the end of [directories] or else it won't take 
effect.

-- 
Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- 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