…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.patchhttps://github.com/kamailio/kamailio/pull/382.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/382
Module: kamailio
Branch: master
Commit: 8886c7a0ebd7b08b366f20973729bf86bc67e2e4
URL: https://github.com/kamailio/kamailio/commit/8886c7a0ebd7b08b366f20973729bf8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-10-28T09:53:42+01:00
Merge pull request #383 from zxcpoiu/master
tls: fixed typo param ssl_freelist_max_len mismatch with doc
---
Modified: modules/tls/doc/params.xml
---
Diff: https://github.com/kamailio/kamailio/commit/8886c7a0ebd7b08b366f20973729bf8…
Patch: https://github.com/kamailio/kamailio/commit/8886c7a0ebd7b08b366f20973729bf8…
---
diff --git a/modules/tls/doc/params.xml b/modules/tls/doc/params.xml
index d50335d..dc40322 100644
--- a/modules/tls/doc/params.xml
+++ b/modules/tls/doc/params.xml
@@ -459,7 +459,7 @@ modparam("tls", "tls_disable_compression", 0) # enable
<para>
Release internal OpenSSL read or write buffers as soon as they are
no longer needed. Combined with
- <varname>ssl_free_list_max_len</varname> has the potential of saving
+ <varname>ssl_freelist_max_len</varname> has the potential of saving
a lot of memory ( ~ 32k per connection in the default configuration,
or 16k + <varname>ssl_max_send_fragment</varname>).
For &kamailio; versions > 3.0 it makes little sense to disable it (0)
@@ -490,7 +490,7 @@ modparam("tls", "ssl_release_buffers", 1)
<section id="tls.p.ssl_freelist_max_len">
- <title><varname>ssl_free_list_max_len</varname> (integer)</title>
+ <title><varname>ssl_freelist_max_len</varname> (integer)</title>
<para>
Sets the maximum number of free memory chunks, that OpenSSL will keep
per connection. Setting it to 0 would cause any unused memory chunk
Module: kamailio
Branch: master
Commit: e7feaa06723a3ea8e14ae7e808fd3f240b0dbb90
URL: https://github.com/kamailio/kamailio/commit/e7feaa06723a3ea8e14ae7e808fd3f2…
Author: zxcpoiu <zxcpoiu(a)gmail.com>
Committer: zxcpoiu <zxcpoiu(a)gmail.com>
Date: 2015-10-28T16:50:10+08:00
tls: fixed typo param ssl_freelist_max_len mismatch with doc
---
Modified: modules/tls/doc/params.xml
---
Diff: https://github.com/kamailio/kamailio/commit/e7feaa06723a3ea8e14ae7e808fd3f2…
Patch: https://github.com/kamailio/kamailio/commit/e7feaa06723a3ea8e14ae7e808fd3f2…
---
diff --git a/modules/tls/doc/params.xml b/modules/tls/doc/params.xml
index d50335d..dc40322 100644
--- a/modules/tls/doc/params.xml
+++ b/modules/tls/doc/params.xml
@@ -459,7 +459,7 @@ modparam("tls", "tls_disable_compression", 0) # enable
<para>
Release internal OpenSSL read or write buffers as soon as they are
no longer needed. Combined with
- <varname>ssl_free_list_max_len</varname> has the potential of saving
+ <varname>ssl_freelist_max_len</varname> has the potential of saving
a lot of memory ( ~ 32k per connection in the default configuration,
or 16k + <varname>ssl_max_send_fragment</varname>).
For &kamailio; versions > 3.0 it makes little sense to disable it (0)
@@ -490,7 +490,7 @@ modparam("tls", "ssl_release_buffers", 1)
<section id="tls.p.ssl_freelist_max_len">
- <title><varname>ssl_free_list_max_len</varname> (integer)</title>
+ <title><varname>ssl_freelist_max_len</varname> (integer)</title>
<para>
Sets the maximum number of free memory chunks, that OpenSSL will keep
per connection. Setting it to 0 would cause any unused memory chunk
Module: kamailio
Branch: master
Commit: 9189ed6168a617a5dbea2199c615f3ca7925dca4
URL: https://github.com/kamailio/kamailio/commit/9189ed6168a617a5dbea2199c615f3c…
Author: jaybeepee <jason.penton(a)gmail.com>
Committer: jaybeepee <jason.penton(a)gmail.com>
Date: 2015-10-28T10:31:40+02:00
modules/ims_usrloc_scscf: changed logging from ERR to DBG
---
Modified: modules/ims_usrloc_scscf/contact_dlg_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/9189ed6168a617a5dbea2199c615f3c…
Patch: https://github.com/kamailio/kamailio/commit/9189ed6168a617a5dbea2199c615f3c…
---
diff --git a/modules/ims_usrloc_scscf/contact_dlg_handlers.c b/modules/ims_usrloc_scscf/contact_dlg_handlers.c
index 7a68850..8b924b4 100644
--- a/modules/ims_usrloc_scscf/contact_dlg_handlers.c
+++ b/modules/ims_usrloc_scscf/contact_dlg_handlers.c
@@ -95,7 +95,7 @@ static void contact_dlg_handler(struct dlg_cell* dlg, int cb_types, struct dlg_c
//for now we will abort if there is no dlg_out.... TODO maybe we can only do the caller side....
if (dlg->dlg_entry_out.first == 0x00) {
- LM_ERR("no dlg out... ignoring!!! for type [%d]\n",cb_types);
+ LM_DBG("no dlg out... ignoring!!! for type [%d] - usually happens on failure response in dialog\n",cb_types);
return;
}
register_udomain("location", &_d);