Hi,
i would like to propose the small changes to the kazoo module in branch lazedo/kazoo to go into master.
it's mostly code cleanup & dependency removal.
also added the documentation on that branch and would appreciate any feedback.
there is also a patch to the db_text module. the comment on that commit tells the reason for that patch.
Thanks
Module: sip-router
Branch: master
Commit: eda5ea9fb78e2b442407ab4f31662b9e30d38c01
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=eda5ea9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Sep 13 16:46:07 2014 +0200
auth_db: load_credentials defaults now to empty list (null value)
- it was 'rpid', but is not a common use case these days
- you can get it back via config with:
modparam("auth_db", "load_credentials", "rpid")
---
modules/auth_db/authdb_mod.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/modules/auth_db/authdb_mod.c b/modules/auth_db/authdb_mod.c
index 30a20b9..c21d36b 100644
--- a/modules/auth_db/authdb_mod.c
+++ b/modules/auth_db/authdb_mod.c
@@ -80,8 +80,6 @@ int parse_aaa_pvs(char *definition, pv_elem_t **pv_def, int *cnt);
#define PASS_COL "ha1"
#define PASS_COL_2 "ha1b"
-#define DEFAULT_CRED_LIST "rpid"
-
/*
* Module parameter variables
*/
@@ -100,7 +98,7 @@ db1_con_t* auth_db_handle = 0; /* database connection handle */
db_func_t auth_dbf;
auth_api_s_t auth_api;
-char *credentials_list = DEFAULT_CRED_LIST;
+char *credentials_list = 0;
pv_elem_t *credentials = 0; /* Parsed list of credentials to load */
int credentials_n = 0; /* Number of credentials in the list */
@@ -353,12 +351,12 @@ int parse_aaa_pvs(char *definition, pv_elem_t **pv_def, int *cnt)
char *sep;
p = definition;
- *pv_def = 0;
- *cnt = 0;
-
if (p==0 || *p==0)
return 0;
+ *pv_def = 0;
+ *cnt = 0;
+
/* get element by element */
while ( (end=strchr(p,';'))!=0 || (end=p+strlen(p))!=p ) {
/* new pv_elem_t */
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#467 - coredump when invoking 'kamcmd ul.add ...' with path parameter set to 's:0' and debug level >= 3
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Fixed
Additional comments about closing: Patch in master branch.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=467
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.