[sr-dev] [kamailio/kamailio] Configure permissions module without database (#2037)

Sebastian Damm notifications at github.com
Mon Aug 19 16:58:42 CEST 2019


### Description

In our setup, we try to eliminate setup configuration in database and replace it with files. The advantage is, that we can maintain those files via puppet or ansible, and since we always rewrite the whole file, we don't have to take care about deleting obsolete entries. We can run different Kamailio versions without having problems with the version table when using the same database. And finally, we can stop all those local mysqld processes on a lot of machines.

Modules like the dispatcher module were easy to change. But the permissions module is not prepared to run without database, if you want to use `allow_trusted()` or `allow_source_address()` and similar. The only option to feed those functions with data is a database table.

### Expected behavior

We would like to place files for trusted and address into the Kamailio directory and have Kamailio read from those files during startup or after reload commands.

#### Actual observed behavior

Data for trusted and address have to reside inside a database.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2037
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190819/1269bcad/attachment.html>


More information about the sr-dev mailing list