THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#233 - proxy_authenticate - missing error codes
User who did this - Daniel-Constantin Mierla (miconda)
----------
Go ahead and commit any part missing from documentation.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=233#comment649
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 been changed. The changes are listed below. For full information about what has changed, visit the URL and click the History tab.
FS#176 - server crash while running "tm.t_uac_wait" via sercmd
User who did this: Daniel-Constantin Mierla (miconda)
Severity: High -> Low
Assigned To: Andrei Pelinescu-Onciul, Vicente Hernando -> Andrei Pelinescu-Onciul
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=176
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#176 - server crash while running "tm.t_uac_wait" via sercmd
User who did this - Daniel-Constantin Mierla (miconda)
----------
Lowering severity as it could not be reproduced
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=176#comment648
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: 0e758a5e2b7ca005278fce878aad332f3b20770b
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0e758a5…
Author: Timo Teräs <timo.teras(a)iki.fi>
Committer: Timo Teräs <timo.teras(a)iki.fi>
Date: Tue May 22 13:55:05 2012 +0300
srdb1/schema: sort files used to generate versions
This ensures that the versions does not change if just file
ordering in file system changes. At least on some systems the
$(wildcard) function return unsorted results.
---
lib/srdb1/schema/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/srdb1/schema/Makefile b/lib/srdb1/schema/Makefile
index 5fbeecd..003a48f 100644
--- a/lib/srdb1/schema/Makefile
+++ b/lib/srdb1/schema/Makefile
@@ -111,7 +111,7 @@ dbtext:
done
TMPFILE=`mktemp -t kamailio-test.XXXXXXXXXX`
# small hack to create the version table entries, this is here easier as with XSL
- for FILE in $(wildcard $(SCHEME)/dbtext/kamailio/*) ; do \
+ for FILE in $(sort $(wildcard $(SCHEME)/dbtext/kamailio/*)) ; do \
if [ -f "$$FILE" ]; then \
if [ "$$FILE" != "$(SCHEME)/dbtext/kamailio/version" ]; then \
tail -n 1 "$$FILE" >> "$(SCHEME)/dbtext/kamailio/version" ; \
@@ -136,7 +136,7 @@ db_berkeley:
done
TMPFILE=`mktemp -t kamailio-test.XXXXXXXXXX`
# small hack to create the version table entries, this is here easier as with XSL
- for FILE in $(wildcard $(SCHEME)/db_berkeley/kamailio/*) ; do \
+ for FILE in $(sort $(wildcard $(SCHEME)/db_berkeley/kamailio/*)) ; do \
if [ -f "$$FILE" ]; then \
if [ "$$FILE" != "$(SCHEME)/db_berkeley/kamailio/version" ]; then \
tail -n 2 "$$FILE" >> "$(SCHEME)/db_berkeley/kamailio/version" ; \
Module: sip-router
Branch: master
Commit: 701a41357a35da7722fcbeb36face772991543d9
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=701a413…
Author: Timo Teräs <timo.teras(a)iki.fi>
Committer: Timo Teräs <timo.teras(a)iki.fi>
Date: Tue May 22 13:27:53 2012 +0300
modules_k/db_sqlite: make decltype matching case-insensitive
Search for keywords case insensitively instead of using strstr().
SQlite stores decltype as-is, and does the affinity type testing
case insensitively too.
---
modules_k/db_sqlite/dbase.c | 61 +++++++++++++++++++++++++++++-------------
1 files changed, 42 insertions(+), 19 deletions(-)
diff --git a/modules_k/db_sqlite/dbase.c b/modules_k/db_sqlite/dbase.c
index 67db13b..0b32e07 100644
--- a/modules_k/db_sqlite/dbase.c
+++ b/modules_k/db_sqlite/dbase.c
@@ -237,31 +237,54 @@ static int db_sqlite_submit_query(const db1_con_t* _h, const str* _s)
return 0;
}
+#define H3(a,b,c) ((a<<16) + (b<<8) + c)
+#define H4(a,b,c,d) ((a<<24) + (b<<16) + (c<<8) + d)
+
static int decltype_to_dbtype(const char *decltype)
{
/* SQlite3 has dynamic typing. It does not store the actual
* exact type, instead it uses 'affinity' depending on the
- * value. We have to go through the declaration types to see
- * what to return. */
- if (strstr(decltype, "INT") != NULL ||
- strncasecmp(decltype, "SERIAL", 6) == 0)
- return DB1_INT;
- if (strstr(decltype, "CHAR") != NULL)
- return DB1_STRING;
- if (strstr(decltype, "TEXT") != NULL)
- return DB1_STR;
- if (strstr(decltype, "REAL") != NULL ||
- strstr(decltype, "FLOA") != NULL ||
- strstr(decltype, "DOUB") != NULL)
- return DB1_DOUBLE;
- if (strstr(decltype, "BLOB") != NULL)
- return DB1_BLOB;
- if (strncasecmp(decltype, "TIME", 4) == 0 ||
- strncasecmp(decltype, "DATE", 4) == 0)
- return DB1_DATETIME;
+ * value. We have to go through the declaration type to see
+ * what to return.
+ * The loose string matching (4 letter substring match) is what
+ * SQlite does internally, but our return values differ as we want
+ * the more exact srdb type instead of the affinity. */
+
+ uint32_t h = 0;
+
+ for (; *decltype; decltype++) {
+ h <<= 8;
+ h += toupper(*decltype);
+
+ switch (h & 0x00ffffff) {
+ case H3('I','N','T'):
+ return DB1_INT;
+ }
+
+ switch (h) {
+ case H4('S','E','R','I'): /* SERIAL */
+ return DB1_INT;
+ case H4('B','I','G','I'): /* BIGINT */
+ return DB1_BIGINT;
+ case H4('C','H','A','R'):
+ case H4('C','L','O','B'):
+ return DB1_STRING;
+ case H4('T','E','X','T'):
+ return DB1_STR;
+ case H4('R','E','A','L'):
+ case H4('F','L','O','A'): /* FLOAT */
+ case H4('D','O','U','B'): /* DOUBLE */
+ return DB1_DOUBLE;
+ case H4('B','L','O','B'):
+ return DB1_BLOB;
+ case H4('T','I','M','E'):
+ case H4('D','A','T','E'):
+ return DB1_DATETIME;
+ }
+ }
LM_ERR("sqlite decltype '%s' not recognized, defaulting to int",
- decltype);
+ decltype);
return DB1_INT;
}
Hi,
we've got some free tickets for LinuxTag 2012, we want to share.
If you like to receive one, just send me a short reply.
They are given away on a first come, first served basis.
Meet us at Hall 7.2b, Booth 278!
So long,
Carsten
P.S.: I'll give a presentation about Kamailio, IMS and Rich
Communications on Wednesday, May 23rd, 12:45 - 13:30 (Room Berlin I).
--
Carsten Bock
CEO (Geschäftsführer)
ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany
http://www.ng-voice.com
mailto:carsten@ng-voice.com
Mobile +49 179 2021244
Office +49 40 34927219
Fax +49 40 34927220
Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/
--
Meet ng-voice at LinuxTag 2012 in Berlin - May 23rd - 26th, 2012. Save the
date!
Hello,
the attached patch adds support for configuring redis servers using unix
domain sockets instead of IP address and port.
I updated the doc too.
Now redis server can be configured like this:
modparam("ndb_redis", "server", "name=srvY;unix=/tmp/redis.sock;db=3");
If both unix and addr parameters are provided, then unix one has
precedence, and only unix domain socket is configured.
Regards,
Vicente.