[sr-dev] git:master:326abd17: htable: Add RPC response for storing htable to DB

Olle E. Johansson oej at edvina.net
Mon Jan 3 15:41:25 CET 2022


Module: kamailio
Branch: master
Commit: 326abd1737336ad733cb53f9b4ac506f178da0e2
URL: https://github.com/kamailio/kamailio/commit/326abd1737336ad733cb53f9b4ac506f178da0e2

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date: 2022-01-03T15:41:10+01:00

htable: Add RPC response for storing htable to DB

---

Modified: src/modules/htable/htable.c

---

Diff:  https://github.com/kamailio/kamailio/commit/326abd1737336ad733cb53f9b4ac506f178da0e2.diff
Patch: https://github.com/kamailio/kamailio/commit/326abd1737336ad733cb53f9b4ac506f178da0e2.patch

---

diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 3e9f52bf13..7e72ad0840 100644
--- a/src/modules/htable/htable.c
+++ b/src/modules/htable/htable.c
@@ -1963,6 +1963,7 @@ static void htable_rpc_store(rpc_t* rpc, void* c)
 		return;
 	}
 	ht_db_close_con();
+	rpc->rpl_printf(c, "Ok. Htable successfully stored to DB.");
 	return;
 }
 




More information about the sr-dev mailing list