Started creating a new module auth_jwt, which supports JSON Web Token for auth. Need to access the database to validate some claims in the token. Wonder if I should just make a function call to auth_db or copy the code from auth_db? Which approach is a better approach? Thanks.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/50
As other cases, just starting Kamailio and trying to stop it. Config with a lot of modules and no messages. Git head.
(gdb) bt full
#0 0x00000001139744be in dtrie_delete (root=0x10fabdec0, node=0x40000000000, delete_payload=0, branches=10) at dtrie.c:82
i = 0
#1 0x00000001139744d1 in dtrie_delete (root=0x10fabdec0, node=0x10fabdec0, delete_payload=0, branches=10) at dtrie.c:82
i = 0
#2 0x0000000113974b10 in dtrie_destroy (root=0x11396e788, delete_payload=0, branches=10) at dtrie.c:104
No locals.
#3 0x000000011395c3ef in mod_destroy () at userblacklist.c:742
No locals.
#4 0x000000010d20a089 in destroy_modules () at sr_module.c:788
t = (struct sr_module *) 0x10d671600
foo = (struct sr_module *) 0x10d6712b0
#5 0x000000010d0613cb in cleanup (show_status=1) at main.c:512
memlog = 0
#6 0x000000010d068d2b in shutdown_children (sig=15, show_status=1) at main.c:654
No locals.
#7 0x000000010d064394 in handle_sigs () at main.c:684
chld = 0
chld_status = 0
memlog = 0
#8 0x000000010d068db7 in sig_usr (signo=2) at main.c:781
memlog = 0
#9 <signal handler called>
No symbol table info available.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/42
Module: kamailio
Branch: master
Commit: dad18e39dcd1718735243032952051f76598df44
URL: https://github.com/kamailio/kamailio/commit/dad18e39dcd1718735243032952051f…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2015-01-28T21:35:23+01:00
cfg_db Remove SVN ID, history
---
Modified: modules/cfg_db/cfg_db.c
---
Diff: https://github.com/kamailio/kamailio/commit/dad18e39dcd1718735243032952051f…
Patch: https://github.com/kamailio/kamailio/commit/dad18e39dcd1718735243032952051f…
---
diff --git a/modules/cfg_db/cfg_db.c b/modules/cfg_db/cfg_db.c
index a571ef3..a1d13a1 100644
--- a/modules/cfg_db/cfg_db.c
+++ b/modules/cfg_db/cfg_db.c
@@ -1,21 +1,14 @@
/*
- * $Id$
- *
* Copyright (C) 2007 iptelorg GmbH
*
- * 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.
@@ -24,9 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
- * History
- * -------
- * 2008-01-05 Initial version (tma)
*/
#include "../../sr_module.h"