Module: sip-router
Branch: master
Commit: 21698992bf3e046e4bd127cb0f02a7be4390ecfc
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2169899…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue May 19 10:42:38 2009 +0300
benchmark: scalars converted to unsigned long long
- should fix issue with printing negative values
---
modules_k/benchmark/benchmark.c | 2 +-
modules_k/benchmark/benchmark.h | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/modules_k/benchmark/benchmark.c b/modules_k/benchmark/benchmark.c
index 1b4ede3..bca072a 100644
--- a/modules_k/benchmark/benchmark.c
+++ b/modules_k/benchmark/benchmark.c
@@ -335,7 +335,7 @@ int _bm_log_timer(unsigned int id)
{
LM_GEN1(bm_mycfg->loglevel, "benchmark (timer %s [%d]): %llu ["
" msgs/total/min/max/avg - LR:"
- " %i/%lld/%lld/%lld/%f | GB: %lld/%lld/%lld/%lld/%f]\n",
+ " %i/%llu/%llu/%llu/%f | GB: %llu/%llu/%llu/%llu/%f]\n",
bm_mycfg->tindex[id]->name,
id,
tdiff,
diff --git a/modules_k/benchmark/benchmark.h b/modules_k/benchmark/benchmark.h
index d58a151..cc4e68e 100644
--- a/modules_k/benchmark/benchmark.h
+++ b/modules_k/benchmark/benchmark.h
@@ -58,14 +58,14 @@ typedef struct benchmark_timer
unsigned int id;
int enabled;
bm_timeval_t *start; /* Current timer run */
- long long calls; /* Number of runs of this timer */
- long long sum; /* Accumulated runtime of this timer */
- long long last_sum; /* Accumulated runtime since last logging */
- long long last_max; /* Minimum in current period (between
+ unsigned long long calls; /* Number of runs of this timer */
+ unsigned long long sum; /* Accumulated runtime of this timer */
+ unsigned long long last_sum; /* Accumulated runtime since last logging */
+ unsigned long long last_max; /* Minimum in current period (between
granularity) */
- long long last_min; /* Maximum ... */
- long long global_max; /* Global minimum, since start */
- long long global_min; /* ... maximum ... */
+ unsigned long long last_min; /* Maximum ... */
+ unsigned long long global_max; /* Global minimum, since start */
+ unsigned long long global_min; /* ... maximum ... */
struct benchmark_timer *next;
} benchmark_timer_t;
Module: sip-router
Branch: master
Commit: 8416baf77f30258f34d2de0aa169ad5bb8841561
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8416baf…
Author: Nils Ohlmeier <nils(a)iptel.org>
Committer: Nils Ohlmeier <nils(a)iptel.org>
Date: Tue May 19 02:18:59 2009 +0200
core: increased verbosity of error log message
- added size information to an error log message of the config
framework
---
cfg/cfg.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cfg/cfg.c b/cfg/cfg.c
index c52323c..d6b803b 100644
--- a/cfg/cfg.c
+++ b/cfg/cfg.c
@@ -130,9 +130,9 @@ int cfg_declare(char *group_name, cfg_def_t *def, void *values, int def_size,
/* minor validation */
if (size != def_size) {
- LOG(L_ERR, "ERROR: register_cfg_def(): the specified size of the config "
- "structure does not equal with the calculated size, check whether "
- "the variable types are correctly defined!\n");
+ LOG(L_ERR, "ERROR: register_cfg_def(): the specified size (%i) of the config "
+ "structure does not equal with the calculated size (%i), check whether "
+ "the variable types are correctly defined!\n", def_size, size);
goto error;
}
Module: sip-router
Branch: master
Commit: 61ecd1118194f5cdbf718fb6072498cabd7bbcd2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=61ecd11…
Author: Nils Ohlmeier <nils(a)iptel.org>
Committer: Nils Ohlmeier <nils(a)iptel.org>
Date: Tue May 19 02:07:13 2009 +0200
make: excluded modules with radius dependency
- excluded and moved misc_radius and peering modules to the radius
module group to allow to build the basic set of modules without
dependency on radius library being installed.
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 160f1c4..ca97f78 100644
--- a/Makefile
+++ b/Makefile
@@ -155,7 +155,7 @@ module_group_mysql=acc_db auth_db avp_db db_ops uri_db domain lcr msilo mysql\
speeddial
# For radius
-module_group_radius=acc_radius auth_radius avp_radius
+module_group_radius=acc_radius auth_radius avp_radius misc_radius peering
# For presence
module_group_presence=dialog pa presence_b2b rls xcap
@@ -190,7 +190,7 @@ else
db_unixodbc memcached mi_xmlrpc \
nat_traversal perlvdb purple seas siptrace \
snmpstats uac_redirect xmpp \
- carrierroute
+ carrierroute misc_radius peering
# excluded because they do not compile (remove them only after they are
# fixed) -- andrei
exclude_modules+= avpops bdb dbtext iptrtpproxy pa rls
Hello,
when I call 'make modules' as described in the wiki on a current copy of
the GIT repository the build process tries to build the misc_radius and
peering modules from the modules directory. But both of them fail to
build because of the missing radiusclient-ng.h header on my system
(recent Gentoo Linux). Is this a bug in the build system, or is it now
with sip-router intended behavior that modules with external
dependencies are tried to build?
Thanks
Nils
Hello,
long awaited period of SIP Router integration phase is more and more
approaching the end. Apart of 4 modules that are not integrated yet from
Kamailio - seas, siptrace, uac_redirect and nat_traversal (work being
undertaken) -- the rest of 88 modules are ready for
http://sip-router.org core.
I have created a page to collect guidelines for the default Kamailio
configuration file used with sip-router. I invite all of you to test it,
not only this one, but your private configs as well.
http://sip-router.org/wiki/migration/kamailio-3.0-config
Feel free to add to the wiki page or post questions about it to
sr-users(a)lists.sip-router.org. This is a new list created for users of
sip-router project, you can subscribe to it at:
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
At this stage, sip router can be used with modules from both Kamailio
(OpenSER) and SER projects, mixed in same instance at the same time.
Therefore you can choose the best ones that fit your needs. For Kamailio
(OpenSER) users there is a page that tries to collect new features they
got from SER side (still a lot to add there, hope ser developers will
contribute what they find missing). Another page collects links for ser
and kamailio users to find what the other project brings:
http://sip-router.org/wiki/migration/new-features-for-k-usershttp://sip-router.org/wiki/features/inherited-features
It was not only integration work in the past months, sip router has
quite a bunch of brand new feature. The wiki page to collect the summary
is available at:
http://sip-router.org/wiki/features/new-in-devel
Jan just set online documentation portal, available for web browsing:
http://sip-router.org/docbook/sip-router/branch/master/
Common modules are located in directory 'modules' while kamailio and ser
specific modules can be found under module_k and modules_s. Project's
wiki portal got also good content and it is under heavy work -- note
that everyone can contribute to wiki:
http://sip-router.org/wiki
Couple of core and tm features are not yet integrated or not exactly as
they were in Kamailio. Please report the ones you are missing in your
config at:
http://sip-router.org/wiki/devel/kamailio-integration#tm_and_core_extensions
It is the place that should set the priority rank for integration. I
hope that in 1-2 months time frame to get into beta stage and prepare a
stable release.
Many thanks for those that allocated resources to make things evolve to
this stage and many thanks in advance for those that will start testing
and help improving the sip router project. Beware that is still very
early stage and not recommended for production.
Cheers,
Daniel
PS. Codename 3.0 refers to Kamailio (OpenSER) or SER using sip router
core, there is not a stable release yet.
--
Daniel-Constantin Mierla
http://www.asipto.com/