[sr-dev] [kamailio] permissions: possibility to specify time period in routing rules, fun… (#382)

Tetram100 notifications at github.com
Tue Oct 27 17:31:23 CET 2015


…ction to generate simple call logs

* 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.

* New function log_attempt that can be use in the routing part. Usefull to log in a specific file the
calls that have been prevented to do security inspection after. Was surely possible with a script in
the routing part but it simplifies also the conf.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/382

-- Commit Summary --

  * permissions: possibility to specify time period in routing rules, function to generate simple call logs

-- File Changes --

    M modules/permissions/Makefile (3)
    M modules/permissions/README (34)
    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 (210)
    M modules/permissions/parse_config.c (117)
    M modules/permissions/parse_config.h (7)
    M modules/permissions/permissions.c (110)
    M modules/permissions/rule.c (101)
    M modules/permissions/rule.h (13)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/382.patch
https://github.com/kamailio/kamailio/pull/382.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/382
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151027/7e0287f6/attachment.html>


More information about the sr-dev mailing list