Module: kamailio Branch: master Commit: 43a12b88aa7ae018d92815628debe4c924e2b58f URL: https://github.com/kamailio/kamailio/commit/43a12b88aa7ae018d92815628debe4c9...
Author: Lucian Balaceanu lucian.balaceanu@1and1.ro Committer: Lucian Balaceanu lucian.balaceanu@1and1.ro Date: 2017-09-11T10:18:17+03:00
p_usrloc: value checks for db_ops_ruid, db_update_as_insert
---
Modified: src/modules/p_usrloc/config.c
---
Diff: https://github.com/kamailio/kamailio/commit/43a12b88aa7ae018d92815628debe4c9... Patch: https://github.com/kamailio/kamailio/commit/43a12b88aa7ae018d92815628debe4c9...
---
diff --git a/src/modules/p_usrloc/config.c b/src/modules/p_usrloc/config.c index fd04ca63e5..b1b1417fd4 100644 --- a/src/modules/p_usrloc/config.c +++ b/src/modules/p_usrloc/config.c @@ -46,9 +46,9 @@ cfg_def_t p_usrloc_cfg_def[] = { " Specifies the error value on which a database shall be turned off. "}, {"failover_level", CFG_VAR_INT | CFG_ATOMIC, 0, 0, 0, 0, "Specifies the manner a failover is done (1 = turn off, 2 = find a spare) "}, - {"db_ops_ruid", CFG_VAR_INT | CFG_ATOMIC, 0, 0, 0, 0, + {"db_ops_ruid", CFG_VAR_INT | CFG_ATOMIC, 0, 1, 0, 0, "Set this if you want to update / delete from DB using ruid value "}, - {"db_update_as_insert", CFG_VAR_INT | CFG_ATOMIC, 0, 0, 0, 0, + {"db_update_as_insert", CFG_VAR_INT | CFG_ATOMIC, 0, 1, 0, 0, "Set this parameter if you want to do INSERT DB operations instead of UPDATE DB operations. "}, {0, 0, 0, 0, 0, 0} };