[sr-dev] [kamailio/kamailio] import_file - wildcard support (#2125)

sergey-safarov notifications at github.com
Mon Nov 11 19:35:23 CET 2019


Yes, order important.
Sure, need use alphabetical ordering.

If we talk about drop-in functionality. Then need separate `drop-in` types
1. created by admins - permanent drop-in, example enabled/disabled `modules`;
1. runtime drop-in - temporal drop-in, example `listeners` configured using cloud providers tools.

Say may be defined configuration key `include_dropin {wildcard}`
Then kamailio looks dropins in folders `/etc/kamailio/kamailio.cfg.d` and `/run/kamailio/kamailio.cfg.d`.
List of dropin folders maybe configurable on predefined.
**Example**
```
### Loading modules drop-in ###
include_dropin *-modules.cfg

### Loading interface listeners ###
include_dropin *-listeners.cfg
```
In example above on file system may exist files
```
/etc/kamailio/kamailio.cfg.d/10-jasson-modules.cfg
/etc/kamailio/kamailio.cfg.d/20-db_postgres-modules.cfg
/run/kamailio/kamailio.cfg.d/10-amazon-listeners.cfg
``` 

-- 
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/2125#issuecomment-552561006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191111/b6054763/attachment.html>


More information about the sr-dev mailing list