<h3>Description</h3>
<p>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.</p>
<p>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 <code>allow_trusted()</code> or <code>allow_source_address()</code> and similar. The only option to feed those functions with data is a database table.</p>
<h3>Expected behavior</h3>
<p>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.</p>
<h4>Actual observed behavior</h4>
<p>Data for trusted and address have to reside inside a database.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2037?email_source=notifications&email_token=ABO7UZKQBDLWE5QXEWJJSDTQFKYKFA5CNFSM4INCULJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGAI3KA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIOKAST7NHANC2K3YLQFKYKFANCNFSM4INCULJA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZJNJGSOIIAXLPFXFWTQFKYKFA5CNFSM4INCULJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGAI3KA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2037?email_source=notifications\u0026email_token=ABO7UZKQBDLWE5QXEWJJSDTQFKYKFA5CNFSM4INCULJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGAI3KA",
"url": "https://github.com/kamailio/kamailio/issues/2037?email_source=notifications\u0026email_token=ABO7UZKQBDLWE5QXEWJJSDTQFKYKFA5CNFSM4INCULJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGAI3KA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>