Module: sip-router
Branch: master
Commit: df7f3bc62783672eff39748450e8845187efb74a
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=df7f3bc…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Thu Mar 31 16:18:45 2011 +0300
modules/lcr: improved documentation of defunct_gw() function.
---
modules/lcr/README | 9 +++++----
modules/lcr/doc/lcr_admin.xml | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/modules/lcr/README b/modules/lcr/README
index 49b7c97..061bb60 100644
--- a/modules/lcr/README
+++ b/modules/lcr/README
@@ -841,10 +841,11 @@ if (!next_gw()) {
4.3. defunct_gw(period)
- Defuncts gateway denoted by lcr_id_avp and defunct_gw_avp for a period
- of seconds given as argument. Argument must be a positive integer
- constant or a pseudo variable with positive integer value. Value of
- defunct column in database is not updated.
+ Defuncts gateway denoted by lcr_id_avp and defunct_gw_avp (which were
+ set by previuos next_gw() call) for a period of seconds given as
+ argument. Argument must be a positive integer constant or a pseudo
+ variable with positive integer value. Value of defunct column in
+ database is not updated.
Returns 1 on success and -1 in case of error (see syslog).
diff --git a/modules/lcr/doc/lcr_admin.xml b/modules/lcr/doc/lcr_admin.xml
index 5840bbd..57f0ea8 100644
--- a/modules/lcr/doc/lcr_admin.xml
+++ b/modules/lcr/doc/lcr_admin.xml
@@ -1077,6 +1077,7 @@ if (!next_gw()) {
</title>
<para>
Defuncts gateway denoted by lcr_id_avp and defunct_gw_avp
+ (which were set by previuos next_gw() call)
for a period of seconds given as argument. Argument
must be a positive integer constant or a pseudo variable
with positive integer value. Value of defunct column in
Module: sip-router
Branch: master
Commit: 942dedaf0b54b8aa2767b5bbf2bc327aa4f4cc06
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=942deda…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Mar 31 14:08:37 2011 +0200
Makefile.radius: option to use freeradius-client library
- using FREERADIUS=1 turns on usage of freeradius-client library instead
of radiusclient-ng
- kamailio radius modules have support for freeradius-client, library
which is included in opensuse instead of radiusclient-ng
---
Makefile.radius | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/Makefile.radius b/Makefile.radius
index bedea2b..0abc2a7 100644
--- a/Makefile.radius
+++ b/Makefile.radius
@@ -6,9 +6,11 @@
#
# (To be included from Makefiles of radius related modules)
#
-# The purpose of this makefile is to perform radiusclient library
-# detection and setup library and include paths in DEFS and LIBS
-# variables. In addition RADIUSCLIENT_NG_4 will be defined when
+# The purpose of this makefile is to perform RADIUS client library
+# selection (radiusclient-ng or freeradius-client) and setup
+# library and include paths in DEFS and LIBS variables.
+#
+# In addition RADIUSCLIENT_NG_4 will be defined when
# libradiusclient-ng version 4 is detected. That means the module
# should include radiusclient.h, otherwise radiusclient-ng.h
# should be included. Variable RADIUSCLIENT_LIB contains the
@@ -21,6 +23,15 @@
#
INCLUDES+=-I$(LOCALBASE)/include
+ifeq ($(FREERADIUS),1)
+
+# - freeradius-client library
+DEFS+= -DUSE_FREERADIUS
+RADIUSCLIENT_LIB=freeradius-client
+
+else
+
+# - radiusclient-ng v5 or v4 library
ifneq ($(radiusclient_ng), 4)
# radiusclient-ng 5+
@@ -34,4 +45,6 @@ RADIUSCLIENT_LIB=radiusclient
endif
+endif
+
LIBS=-L$(LOCALBASE)/lib -l$(RADIUSCLIENT_LIB)
Hello,
there is now a service on opensuse build server to create kamailio
v3.1.2 (git branch 3.1.2) RPMs i586/x86_63 for Centos 5.5, RedHat 5,
Fedora 14 and OpenSuse 11.4, you can check this project at:
https://build.opensuse.org/package/show?package=kamailio&project=home%3Akam…
Download links are:
http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_…http://download.opensuse.org/repositories/home:/kamailio:/telephony/RedHat_…http://download.opensuse.org/repositories/home:/kamailio:/telephony/Fedora_…http://download.opensuse.org/repositories/home:/kamailio:/telephony/openSUS…
The x86_64 build for opensuse is still not completed, some parameter to
gcc compiler is not working, should be fixed soon.
Note that not all modules are packaged since not all dependencies were
met in these distros.
The RPM spec was started from what is in source tree as
kamailio.spec.CentOS, radically updated for cross compilation.
Personally I am not using these distros, therefore it will be
appreciated if people using any of them are willing to give an
installation test and report if all goes ok.
Moreover, I will be very thankful if anyone (can be many) wants to jump
in and take over the maintenance of this kamailio build service. It
would be good to enable the build for other versions of these distros,
probably for many it will just work, if not it will require some
adjustments on dependencies. Once these builds prove to be ok and
useful, we can move them in the global telephony repository of the
opensuse build service.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com