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) {
Hello,
fyi, today are 9 years since first source code commit of SIP Express
Router (SER) happened. It started with:
git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --reverse | head -3
512dcd9 Andrei Pelinescu-Onciul Mon Sep 3 21:27:11 2001 +0000 Initial
revision
888ca09 Andrei Pelinescu-Onciul Tue Sep 4 01:41:39 2001 +0000 parser
seems to work
e60a972 Andrei Pelinescu-Onciul Tue Sep 4 20:55:41 2001 +0000 First
working release
Today, 3286 days later, it counts 14 200 commits __only__ in development
branch.
I digested some statistics and made them available at:
http://bit.ly/9J4EKb
There are interesting facts about most productive time frames (i.e.,
hour, day, ...), evolution of default configuration files, command line
parameters, ... IPv6 support is there since 2002, but no convenient
public network to use it yet.
Enjoy and enhance the content as you have interesting aspects of history
to add...
... and, VERY important, do not forget to start testing 3.1.0, we are in
pre-release phase, there are a lot of new features I am sure you want on
your production system:
http://sip-router.org/wiki/features/new-in-devel
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Geoffroy Couprie (geof)
Attached to Project - sip-router
Summary - Certificate revocation lists support
Task Type - Feature Request
Category - tls
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Here is a patch to use certificate revocation lists in the TLS plugin. It applies cleanly to Kamailio 3.0.2 and 3.0.3 (I didn't test 3.1).
The certification revocation list is loaded from a file by the "crl" option, like the CA list. I didn't try to concatene multiple revocation lists like the CA lists, but it should work.
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=88
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.
A user has added themself to the list of users assigned to this task.
FS#88 - Certificate revocation lists support
User who did this - Geoffroy Couprie (geof)
http://sip-router.org/tracker/index.php?do=details&task_id=88
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.
Hello,
Here is a patch to use certificate revocation lists in the TLS plugin. It applies cleanly to Kamailio 3.0.2 and 3.0.3 (I didn't test 3.1). The paths in the patches are not right because I can't use Git here. Is there a Git repository of Kamailio accessible from http somewhere?
About the patch itself: the certification revocation list is loaded from a file by the "crl" option, like the CA list. I didn't try to concatene multiple revocation lists like the CA lists, but it should work.
I'll soon send another patch to support reloading the list without resarting the server. If i understood the code, I have to send the command through a FIFO, like kamctl? Can I take inspiration in the lcr_reload or dp_reload functions, or is there a better code somewhere?
Best regards,
Geoffroy
________________________________
Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? du groupe Atos Origin ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Dmitry Goncharov (Dmitry)
Attached to Project - sip-router
Summary - make install fails with a bash syntax error
Task Type - Bug Report
Category - tools/scripts
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - This is observed on gentoo with bash 4.1.7(1)-release.
Please, consider the enclosed 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
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.