<p>…ction to generate simple call logs</p>

<ul>
<li><p>Possibility to specify a time period following the RFC 2445 (explained in the TMREC module readme)<br>
at the end of a rule in the allow and deny files. The rule will be valid only during this period.<br>
Usefull for company or people that don't want calls during night or want to receive calls from someone<br>
only during a specific period of time. It was already possible with the TMREC module in a routing<br>
script but this was redundant with the permission module so it simplifies the conf.</p></li>
<li><p>New function log_attempt that can be use in the routing part. Usefull to log in a specific file the<br>
calls that have been prevented to do security inspection after. Was surely possible with a script in<br>
the routing part but it simplifies also the conf.</p></li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/382'>https://github.com/kamailio/kamailio/pull/382</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>permissions: possibility to specify time period in routing rules, function to generate simple call logs</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-0">modules/permissions/Makefile</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-1">modules/permissions/README</a>
    (34)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-2">modules/permissions/config/permissions.allow</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-3">modules/permissions/config/permissions.deny</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-4">modules/permissions/doc/permissions.xml</a>
    (13)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-5">modules/permissions/doc/permissions_admin.xml</a>
    (210)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-6">modules/permissions/parse_config.c</a>
    (117)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-7">modules/permissions/parse_config.h</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-8">modules/permissions/permissions.c</a>
    (110)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-9">modules/permissions/rule.c</a>
    (101)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/382/files#diff-10">modules/permissions/rule.h</a>
    (13)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/382.patch'>https://github.com/kamailio/kamailio/pull/382.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/382.diff'>https://github.com/kamailio/kamailio/pull/382.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/382">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZRlLXLMBCYHeGO3h10disgvUW76Nks5o_55bgaJpZM4GWoH3.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/382"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>