chmod 0644 /etc/asterisk/*.conf
@jfinstrom it’s the content of the file which is causing problems, not its visibility to the application…
parse_ini_file is unable the handle the “(home-callcentric);” entries present in that file.
Parenthesis have a special meaning to parse_ini_file, see http://us.php.net/parse_ini_file, more specifically this:
Characters ?{}|&~!()^" must not be used anywhere in the key and have a special meaning in the value.
The file has been accessed and parsed when the application crashes, it’s what parse_ini_file returns the code that follows can’t handle…
Other people are putting that callcentric configuration in /etc/asterisk/sip_custom_post.conf which is not parsed by FreePBX so that’s what the OP should try next…
(actually from what I understood this is the file to use for stuff like this…)
Have a nice day!
Nick
Fixed in sipsettings v13.0.14.5
What Andrew did is essentially replace parse_ini_file (which was unable to handle the peculiar syntax required for callcentric) with custom code…
see https://github.com/FreePBX/sipsettings/commit/18edb4e1f2e1c8173908add8defda0b1035c3958
Have a nice day!
Nick