Friends,
I am testing to load as many modules as possible in one configuration file, just to check that modules load ok and that documentation is correct
for dependencies and so.
After loading a few modules that require a db_url modparam, some modules fail to read the modparam and switch to default "mysql://..."
db_url, even though I have a configuration.
This happened so far with domain.so and mohqueue.so.
If I create a tiny configuration for domain.so it will properly read the modparam, so there's nothing wrong with the module, but it seems either to be a timing problem in the module initiatilzation or something else in the core.
Anyone that have seen this before?
/O
Module: kamailio
Branch: master
Commit: 6daf77d666ff0fcb1bd8df4bb3c63dc0fdac9656
URL: https://github.com/kamailio/kamailio/commit/6daf77d666ff0fcb1bd8df4bb3c63dc…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2015-01-17T12:33:45+01:00
mohqueue Remove SVN IDs, add some \n at end of error messages
More cleanup of LM_DBG and LM_ERR needed, as well as code formatting
---
Modified: modules/mohqueue/mohq.c
Modified: modules/mohqueue/mohq.h
Modified: modules/mohqueue/mohq_common.h
Modified: modules/mohqueue/mohq_db.c
Modified: modules/mohqueue/mohq_db.h
Modified: modules/mohqueue/mohq_funcs.c
Modified: modules/mohqueue/mohq_funcs.h
Modified: modules/mohqueue/mohq_locks.c
Modified: modules/mohqueue/mohq_locks.h
---
Diff: https://github.com/kamailio/kamailio/commit/6daf77d666ff0fcb1bd8df4bb3c63dc…
Patch: https://github.com/kamailio/kamailio/commit/6daf77d666ff0fcb1bd8df4bb3c63dc…
Using version 0.12 of the json-c library generates these warnings:
/O
CC (gcc) [M json.so] json_funcs.o
json_funcs.c:64:44: warning: 'json_object_object_get' is deprecated [-Wdeprecated-declarations]
value = (char*)json_object_to_json_string(json_object_object_get(j, field_s.s));
^
/usr/local/include/json-c/json_object.h:290:56: note: 'json_object_object_get' has been explicitly marked deprecated here
THIS_FUNCTION_IS_DEPRECATED(extern struct json_object* json_object_object_get(struct json_object* obj,
^
/usr/local/include/json-c/json_object.h:17:43: note: expanded from macro 'THIS_FUNCTION_IS_DEPRECATED'
#define THIS_FUNCTION_IS_DEPRECATED(func) func __attribute__ ((deprecated))
^
Module: kamailio
Branch: master
Commit: 60dc57430ac3c81b50255b4a30f29b5882eafcf3
URL: https://github.com/kamailio/kamailio/commit/60dc57430ac3c81b50255b4a30f29b5…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2015-01-17T11:04:17+01:00
uid_gflags Remove svn id, history
---
Modified: modules/uid_gflags/uid_gflags.c
---
Diff: https://github.com/kamailio/kamailio/commit/60dc57430ac3c81b50255b4a30f29b5…
Patch: https://github.com/kamailio/kamailio/commit/60dc57430ac3c81b50255b4a30f29b5…
---
diff --git a/modules/uid_gflags/uid_gflags.c b/modules/uid_gflags/uid_gflags.c
index 21bf4a9..e639fd1 100644
--- a/modules/uid_gflags/uid_gflags.c
+++ b/modules/uid_gflags/uid_gflags.c
@@ -1,4 +1,4 @@
-/*$Id$
+/*
*
* gflags module: global flags; it keeps a bitmap of flags
* in shared memory and may be used to change behaviour
@@ -12,19 +12,14 @@
*
* Copyright (C) 2004 FhG FOKUS
*
- * This file is part of ser, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
*
- * ser is free software; you can redistribute it and/or modify
+ * Kamailio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version
*
- * For a license to use the ser software under conditions
- * other than those described here, or to purchase support for this
- * software, please contact iptel.org by e-mail at the following addresses:
- * info(a)iptel.org
- *
- * ser is distributed in the hope that it will be useful,
+ * Kamailio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
@@ -34,12 +29,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
- * History:
- * --------
- * 2004-09-09 initial module created (jiri)
- * 2006-12-04 added xmlrpc command global.reload for reloading of global_attrs
- * db table (vlada)
- *
* TODO
* - flag range checking
* - named flags (takes a protected name list)