[sr-dev] [kamailio/kamailio] Add file support to user blocklist for feeding caller numbers list (Issue #3132)

soroshsabz notifications at github.com
Fri Jun 3 12:40:22 CEST 2022


ITNOA

### Description

I think for non-db deployment of Kamailio it is very useful to add support static data (like another configurations) for caller numbers list in user blocklist module. because if we do not have this feature we cannot use this module in non-db deployment of Kamailio.

### Expected behavior

We have a configuration files (like dispatcher file) that contains below information in format of space separated list (like dispatcher file format)

```
+----+----------------+-------------+-----------+-----------+
| id | username       | domain      | prefix    | whitelist |
+----+----------------+-------------+-----------+-----------+
| 23 | 49721123456788 |             | 1234      |         0 |
| 22 | 49721123456788 |             | 123456788 |         1 |
| 21 | 49721123456789 |             | 12345     |         0 |
| 20 | 494675231      |             | 499034133 |         1 |
| 19 | 494675231      | test        | 499034132 |         0 |
| 18 | 494675453      | test.domain | 49901     |         0 |
| 17 | 494675454      |             | 49900     |         0 |
+----+----------------+-------------+-----------+-----------+
```

and user blocklist module read this file and load it, and apply this data for blocking call


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3132
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3132 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220603/0dce4381/attachment.htm>


More information about the sr-dev mailing list