FreePBX / issue-tracker

The unified FreePBX issue tracker.
https://www.freepbx.org
GNU General Public License v3.0
12 stars 1 forks source link

[bug]: Wrong format for config file 'geolocation.conf' #481

Closed JoseGoncalves closed 1 month ago

JoseGoncalves commented 1 month ago

FreePBX Version

FreePBX 17

Issue Description

Asterisk's config file geolocation.conf supplied in the freepbx17 package has a wrong format that triggers some errors when starting Asterisk. It seems some comments are missing at the end of that file.

Operating Environment

Relevant log output

[2024-10-08 11:18:57] WARNING[556671] config.c: parse error: No category context for line 310 of /etc/asterisk/geolocation.conf
[2024-10-08 11:18:57] ERROR[556671] res_sorcery_config.c: Contents of config file 'geolocation.conf' are invalid and cannot be parsed
[2024-10-08 11:18:57] WARNING[556671] config.c: parse error: No category context for line 310 of /etc/asterisk/geolocation.conf
[2024-10-08 11:18:57] ERROR[556671] res_sorcery_config.c: Contents of config file 'geolocation.conf' are invalid and cannot be parsed
jcolp commented 1 month ago

This is a sample configuration file from Asterisk, it should be filed as an Asterisk issue instead.

JoseGoncalves commented 1 month ago

Filed as an Asterisk issue at https://github.com/asterisk/asterisk/issues/937.