Module: sip-router
Branch: 3.1
Commit: a62ce2a6b8d90f7d45e62da92f665d4e1ea141b2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a62ce2a…
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.
(cherry picked from commit df7f3bc62783672eff39748450e8845187efb74a)
---
modules/lcr/README | 9 +++++----
modules/lcr/…
[View More]doc/lcr_admin.xml | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/modules/lcr/README b/modules/lcr/README
index 617c0e0..0df413e 100644
--- a/modules/lcr/README
+++ b/modules/lcr/README
@@ -817,10 +817,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 12f2d09..050871f 100644
--- a/modules/lcr/doc/lcr_admin.xml
+++ b/modules/lcr/doc/lcr_admin.xml
@@ -1049,6 +1049,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
[View Less]
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 …
[View More]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
[View Less]
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 …
[View More]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)
[View Less]