Module: sip-router
Branch: master
Commit: 629cba2015ecf837a972070a55c5f02bdefed107
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=629cba2…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Sep 7 17:43:26 2010 +0200
tls: relative file path support & license changes
- support relative path for private_key, ca_list and certificate.
If the filename starts with '.' or '..' the path will be
considered to be relative to the working directory (otherwise if
it does not start with '/' it will be relative to the main ser.cfg
file directory). The relative path is supported both for modparam
and for value loaded from the tls.cfg file.
- BSDed and removed FSF (c) from tls_domain.[ch] (the only code
remaining somewhat similar with the tls experimental module is
1 typedef).
---
modules/tls/tls_cfg.c | 16 ++++++-
modules/tls/tls_config.c | 5 ++-
modules/tls/tls_domain.c | 102 +++++++++++++++++++++++++++++++---------------
modules/tls/tls_domain.h | 39 ++++++-----------
4 files changed, 100 insertions(+), 62 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=629…
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#87 - make install fails with a bash syntax error
User who did this - Daniel-Constantin Mierla (miconda)
----------
What is the change? Just moving the 'do' on a new line?
There are many such 'for' statements, did you get error only here? What is the error message?
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=87#comment117
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#87 - make install fails with a bash syntax error
User who did this - Dmitry Goncharov (Dmitry)
----------
The first patch is bit defective. It wont work if C_INSTALL_CFGS is not empty.
Please, consider this patch.
----------
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=87#comment116
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: 2d9a8454fe6f5874973fceb1751d2ec1fad2bb07
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2d9a845…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Sep 6 22:34:36 2010 +0200
kamailio.cfg: alias_db lookup enabled by define
- replaced the alias_db related comments with defines
- lookup in db-aliases can be enabled now by #!define WITH_ALIASDB
---
etc/kamailio.cfg | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 5bff832..c74a7d4 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -47,6 +47,10 @@
# - set the value of pstn.gw_ip
# - check route[PSTN] for regexp routing condition
#
+# *** To enable database aliases lookup execute:
+# - enable mysql
+# - define WITH_ALIASDB
+#
# *** To enhance accounting execute:
# - enable mysql
# - define WITH_ACCDB
@@ -160,9 +164,11 @@ loadmodule "auth_db.so"
loadmodule "permissions.so"
#!endif
#!endif
-/* uncomment next line for aliases support
- NOTE: a DB (like db_mysql) module must be also loaded */
-#loadmodule "alias_db.so"
+
+#!ifdef WITH_ALIASDB
+loadmodule "alias_db.so"
+#!endif
+
/* uncomment next line for multi-domain support
NOTE: a DB (like db_mysql) module must be also loaded
NOTE: be sure and enable multi-domain support in all used modules
@@ -262,10 +268,9 @@ modparam("permissions", "db_mode", 1)
#!endif
# ----- alias_db params -----
-/* uncomment the following lines if you want to enable the DB based
- aliases */
-#modparam("alias_db", "db_url", DBURL)
-
+#!ifdef WITH_ALIASDB
+modparam("alias_db", "db_url", DBURL)
+#!endif
# ----- domain params -----
/* uncomment the following lines to enable multi-domain detection
@@ -460,8 +465,11 @@ route[REGISTRAR] {
# USER location service
route[LOCATION] {
- # apply DB based aliases (uncomment to enable)
- ##alias_db_lookup("dbaliases");
+
+#!ifdef WITH_ALIASDB
+ # search in DB-based aliases
+ alias_db_lookup("dbaliases");
+#!endif
if (!lookup("location")) {
switch ($rc) {