[sr-dev] git:master:e5dac2fb: dmq: Add RPC success response on removing a node

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


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

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

dmq: Add RPC success response on removing a node

---

Modified: src/modules/dmq/dmq.c

---

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

---

diff --git a/src/modules/dmq/dmq.c b/src/modules/dmq/dmq.c
index 817fc3f3bb..843b7e3e4d 100644
--- a/src/modules/dmq/dmq.c
+++ b/src/modules/dmq/dmq.c
@@ -442,6 +442,7 @@ void rpc_dmq_remove(rpc_t* rpc, void* ctx)
 		rpc->fault(ctx, 500, "Failure");
 		return;
 	}
+	rpc->rpl_printf(ctx, "Ok. DMQ node removed.");
 }
 
 static const char* rpc_dmq_remove_doc[3] = {




More information about the sr-dev mailing list