Possibility to specify a time period following the RFC 2445 (explained in the TMREC module
readme)
at the end of a rule in the allow and deny files. The rule will be valid only during this
period.
Usefull for company or people that don't want calls during night or want to receive
calls from someone
only during a specific period of time. It was already possible with the TMREC module in a
routing
script but this was redundant with the permission module so it simplifies the conf.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/384
-- Commit Summary --
* permissions: possibility to specify time period in routing rules
* permissions: remove bad trailing space
-- File Changes --
M modules/permissions/Makefile (3)
M modules/permissions/README (34)
M modules/permissions/address.c (8)
M modules/permissions/address.h (10)
M modules/permissions/config/permissions.allow (16)
M modules/permissions/config/permissions.deny (16)
M modules/permissions/doc/permissions.xml (13)
M modules/permissions/doc/permissions_admin.xml (184)
M modules/permissions/hash.c (74)
M modules/permissions/hash.h (48)
M modules/permissions/mi.c (18)
M modules/permissions/mi.h (4)
M modules/permissions/parse_config.c (117)
M modules/permissions/parse_config.h (6)
M modules/permissions/permissions.c (26)
M modules/permissions/permissions.h (6)
M modules/permissions/rule.c (101)
M modules/permissions/rule.h (13)
M modules/permissions/trusted.c (44)
M modules/permissions/trusted.h (6)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/384.patch
https://github.com/kamailio/kamailio/pull/384.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/384