URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=14525ef…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Mar 26 23:45:50 2013 +0100
core: auto-define cfg directive MOD_modname for each loaded module
- example: if acc module is loaded, MOD_acc is defined in cfg
- suggestion by Olle E. Johansson
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e1dc02d…
Author: Olle E. Johansson <oej(a)edvina.net>
Date: Tue Mar 26 22:16:03 2013 +0100
snmpstats Add tcpasync and tcpmaxconns
This is to test if I can reach core configuration settings for TCP. Tests prove that it's
possible. Will go ahead and add other settings as well.
One question is if we should allow changing these variables in SNMP, like we do
over the RPC interface or selects. Let's think about that.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=63a7289…
Author: Olle E. Johansson <oej(a)edvina.net>
Date: Tue Mar 26 21:29:48 2013 +0100
snmpstats Add IDs to sections in documentation
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=96596e2…
Author: Carlos Ruiz Díaz <carlos.ruizdiaz(a)gmail.com>
Date: Tue Mar 26 00:58:28 2013 -0300
cnxcc: added new module for credit control
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d269473…
Author: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Mar 24 21:52:41 2013 +0100
snmpstats activate new parts of the KAMAILIO-MIB
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=90c51c7…
Author: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Mar 24 21:49:02 2013 +0100
snmpstats Add information about version and tcp connections
Output from SNMPwalk with the new additions:
KAMAILIO-MIB::kamailioNetTcpConnEstablished.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnFailed.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnReset.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnSuccess.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnOpened.0 = Gauge32: 0
KAMAILIO-MIB::kamailioNetTcpConnPassiveOpen.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpConnReject.0 = Counter32: 0
KAMAILIO-MIB::kamailioNetTcpEnabled.0 = INTEGER: true(1)
KAMAILIO-MIB::kamailioSrvMaxMemory.0 = Gauge32: 33554432
KAMAILIO-MIB::kamailioSrvFreeMemory.0 = Gauge32: 31709088
KAMAILIO-MIB::kamailioSrvCnfFullVersion.0 = STRING: kamailio 4.5.0 (i386/linux) 50af49
KAMAILIO-MIB::kamailioSrvCnfVerName.0 = STRING: kamailio
KAMAILIO-MIB::kamailioSrvCnfVerVersion.0 = STRING: 4.5.0
KAMAILIO-MIB::kamailioSrvCnfVerArch.0 = STRING: i386
KAMAILIO-MIB::kamailioSrvCnfVerOs.0 = STRING: linux
KAMAILIO-MIB::kamailioSrvCnfVerId.0 = STRING: 50af49
KAMAILIO-MIB::kamailioSrvCnfVerCompTime.0 = STRING: 12:12:27 Mar 24 2023
KAMAILIO-MIB::kamailioSrvCnfVerCompiler.0 = STRING: gcc 4.1.2
KAMAILIO-MIB::kamailioSrvCnfVerFlags.0 = STRING: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d80ea02…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Mar 24 13:53:50 2013 +0100
usrloc: new option for db_mode - DB_READONLY (4)
- location records are loaded only at startup
- no write back to database, not even at shutdown
- useful when registrations are replicated to another node that does the
db storage at runtime
- started from a patch by Marcus Hunger
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ef8fae0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Mar 24 13:24:58 2013 +0100
enum: define the max size for numbers
- set it to 22 (previously hardcoded value was 17)
- easier to adjust and check for overlenght
- patch by Marcus Hunger
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=61c706e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Mar 24 13:07:39 2013 +0100
db_mysql: new module parameter - insert_delayed
- if set to 1, then all INSERT API queries will be converted in INSERT
DELAYED (only DB API insert, not for raw queries)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9cbe03b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Mar 24 12:50:50 2013 +0100
Makefile: exclude debian sym link when generating tarball
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7339d84…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Mar 24 12:38:45 2013 +0100
msrp: fix compile warning of argument type in dbg message
- reported by Olle E. Johansson
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bb76415…
Author: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Mar 24 11:45:43 2013 +0100
snmpstats Clear upp method-supported logic a bit and add "dialog-ng" for call statefullness
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3580d7f…
Author: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Mar 24 11:38:27 2013 +0100
snmpstats Add SNMP support for shared memory
This is just the first proof-of-concept addition, will add more of the
core variables for memory and TCP connections
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1826a5f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Mar 23 10:44:31 2013 +0100
rr: use sips to build RR headers of R-URI has sips
- reported by Hugh James, FS#277
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4baf038…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Mar 20 13:23:49 2013 -0400
p_usrloc: commenting out unused db_timer_udomain() to get rid of compiler warnings
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6760960…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Mar 20 13:16:27 2013 -0400
kamailio/utils/sercmd: remove unused but set variable
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b7a41ef…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Mar 20 13:15:08 2013 -0400
kamailio/utils/sercmd: remove unused but set variable
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ff94115…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Mar 20 13:13:27 2013 -0400
kamailio/utils/sercmd: remove unused but set variable
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=387adac…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Mar 20 13:02:16 2013 -0400
auth_diameter: remove unused but set variable
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=941c48a…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Mar 20 13:00:27 2013 -0400
auth_diameter: remove unused but set variable
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=94e7ae7…
Author: Carsten Bock <carsten(a)ng-voice.com>
Date: Wed Mar 20 17:31:34 2013 +0100
Updated example config for S-CSCF
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0d8cec6…
Author: Anca Vamanu <anca.vamanu(a)1and1.ro>
Date: Wed Mar 20 15:39:12 2013 +0200
modules/drouting Improvement for do_routing in failure route
Improvement for sort_order 2 : if the failure groups have repeating
gateways the module will take care internally not to try again a gateway
that was already tried.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6bb98dd…
Author: Lucian Balaceanu <lucian.balaceanu(a)1and1.ro>
Date: Wed Mar 20 14:27:30 2013 +0200
modules/carrierroute Improvement for cr_route in failure route
Small improvement in cr_route() function - when it is called from
failure_route it will take care not choose a previously choosen gateway.
Added cr_reload sercmd.
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a0b01f7…
Author: Henning Westerholt <hw(a)kamailio.org>
Date: Tue Mar 19 15:32:25 2013 +0100
rtpproxy: fix spelling error in docs, reported from Victor V. Kustov, coyote at bks dot tv
Hi!
Something I would like to see in Kamailio is something used heavily in Apache HTTPD, a config parser statement like #IFDEF for modules. WIth this a part of the config only applies if a module is loaded, like
#!IFMODULE SNMPSTATS.SO
modparam()
#!ENDIF
Another way to implement it would be to have modules publish a #!DEFINE, like
#!IFDEF MOD_SNMPSTATS.SO
Now, I don't know how Kamailio parses the configuration files. Is this at all possible? Either the module itself or the config file parser could inject these variables - but at module init it may be too late.
Any ideas, someone who understands the config file parsing?
/O
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#278 - usrloc module stops updating some records in db_mode 2
User who did this - Jordan (jordan)
----------
Is there any additional information I can provide to help this issue?
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=278#comment796
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: master
Commit: 63a72893c84aad1edd7b139dbe36e3c337d4e9ae
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=63a7289…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Tue Mar 26 21:29:48 2013 +0100
snmpstats Add IDs to sections in documentation
---
modules/snmpstats/README | 16 ++++++++--------
modules/snmpstats/doc/snmpstats_admin.xml | 20 ++++++++++----------
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/modules/snmpstats/README b/modules/snmpstats/README
index 75e2bd3..a8dd9ca 100644
--- a/modules/snmpstats/README
+++ b/modules/snmpstats/README
@@ -254,10 +254,10 @@ Chapter 1. Admin Guide
* usrloc - all scalars and tables relating to users and contacts are
dependent on the usrloc module. If the module is not loaded, the
respective tables will be empty.
- * dialog - all scalars relating to the number of dialogs are
- dependent on the presence of the dialog module. Furthermore, if the
- module is not loaded, then the kamailioDialogLimitMinorEvent, and
- kamailioDialogLimitMajorEvent alarm will be disabled.
+ * dialog or dialog-ng - all scalars relating to the number of dialogs
+ are dependent on the presence of a dialog module. Furthermore, if
+ the module is not loaded, then the kamailioDialogLimitMinorEvent,
+ and kamailioDialogLimitMajorEvent alarm will be disabled.
The contents of the kamailioSIPMethodSupportedTable change depending on
which modules are loaded.
@@ -429,7 +429,7 @@ modparam("snmpstats", "export_registrar", 1)
There are several things that need to be done to get the SNMPStats
module compiled and up and running.
-6.1. Compiling the SNMPStats Module
+6.1. Compiling the SNMPStats Module
In order for the SNMPStats module to compile, you will need at least
version 5.3 of the NetSNMP source code. The source can be found at:
@@ -451,7 +451,7 @@ modparam("snmpstats", "export_registrar", 1)
recommended you install NetSNMP from source to avoid bringing in
excessive dependencies to the SNMPStats module.
-6.2. Configuring NetSNMP to allow connections from the SNMPStats module.
+6.2. Configuring NetSNMP to allow connections from the SNMPStats module.
The SNMPStats module will communicate with the NetSNMP Master Agent.
This communication happens over a protocol known as AgentX. This means
@@ -483,7 +483,7 @@ modparam("snmpstats", "export_registrar", 1)
This tells NetSNMP to act as a master agent, listening on the localhost
UDP interface at port 705.
-6.3. Configuring the SNMPStats module for communication with a Master Agent
+6.3. Configuring the SNMPStats module for communication with a Master Agent
The previous section explained how to set up a NetSNMP master agent to
accept AgentX connections. We now need to tell the SNMPStats module how
@@ -503,7 +503,7 @@ modparam("snmpstats", "export_registrar", 1)
be present on the same machine as Kamailio. localhost could be replaced
with any other machine.
-6.4. Testing for a proper Configuration
+6.4. Testing for a proper Configuration
As a quick test to make sure that the SNMPStats module sub-agent can
succesfully connect to the NetSNMP Master agent, start snmpd with the
diff --git a/modules/snmpstats/doc/snmpstats_admin.xml b/modules/snmpstats/doc/snmpstats_admin.xml
index 490d3cc..241e0a4 100644
--- a/modules/snmpstats/doc/snmpstats_admin.xml
+++ b/modules/snmpstats/doc/snmpstats_admin.xml
@@ -203,8 +203,8 @@
<listitem>
<para>
- <emphasis>dialog</emphasis> - all scalars relating to the number of dialogs are
- dependent on the presence of the dialog module. Furthermore, if the module is
+ <emphasis>dialog or dialog-ng</emphasis> - all scalars relating to the number of dialogs are
+ dependent on the presence of a dialog module. Furthermore, if the module is
not loaded, then the kamailioDialogLimitMinorEvent, and kamailioDialogLimitMajorEvent
alarm will be disabled.
</para>
@@ -243,7 +243,7 @@
</section>
<section>
<title>Parameters</title>
- <section>
+ <section id ="snmpstats.p.sipentitytape">
<title><varname>sipEntityType</varname> (String) </title>
<para>
@@ -275,7 +275,7 @@ modparam("snmpstats", "sipEntityType", "proxyServer")
</para>
</section>
- <section>
+ <section id ="snmpstats.p.MsqQueueMinorTreshold">
<title><varname>MsgQueueMinorThreshold</varname> (Integer)</title>
<para>
@@ -300,7 +300,7 @@ modparam("snmpstats", "MsgQueueMinorThreshold", 2000)
</para>
</section>
- <section>
+ <section id ="snmpstats.p.MsqQueueMajorTreshold">
<title><varname>MsgQueueMajorThreshold</varname> (Integer)</title>
<para>
@@ -325,7 +325,7 @@ modparam("snmpstats", "MsgQueueMajorThreshold", 5000)
</para>
</section>
- <section>
+ <section id ="snmpstats.p.dlg_minor_treshold">
<title><varname>dlg_minor_threshold</varname> (Integer)</title>
<para>
@@ -349,7 +349,7 @@ modparam("snmpstats", "MsgQueueMajorThreshold", 5000)
</para>
</section>
- <section>
+ <section id ="snmpstats.p.dlg_major_treshold">
<title><varname>dlg_major_threshold</varname> (Integer)</title>
<para>
@@ -373,7 +373,7 @@ modparam("snmpstats", "MsgQueueMajorThreshold", 5000)
</para>
</section>
- <section>
+ <section id ="snmpstats.p.snmpgetPath">
<title><varname>snmpgetPath</varname> (String)</title>
<para>
@@ -399,7 +399,7 @@ modparam("snmpstats", "snmpgetPath", "/my/custom/path/")
</example>
</section>
- <section>
+ <section id ="snmpstats.p.snmpCommunity">
<title><varname>snmpCommunity</varname> (String)</title>
<para>
@@ -425,7 +425,7 @@ modparam("snmpstats", "snmpCommunity", "customCommunityString")
</example>
</section>
- <section>
+ <section id ="snmpstats.p.export_registrar">
<title><varname>export_registrar</varname> (int)</title>
<para>