[sr-dev] git:master:101ddb5e: dispatcher: Add RPC success message when removing destination from set

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


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

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

dispatcher: Add RPC success message when removing destination from set

---

Modified: src/modules/dispatcher/dispatcher.c

---

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

---

diff --git a/src/modules/dispatcher/dispatcher.c b/src/modules/dispatcher/dispatcher.c
index 551e1e0ffd..fbf65d33fe 100644
--- a/src/modules/dispatcher/dispatcher.c
+++ b/src/modules/dispatcher/dispatcher.c
@@ -1897,7 +1897,7 @@ static void dispatcher_rpc_remove(rpc_t *rpc, void *ctx)
 		rpc->fault(ctx, 500, "Removing dispatcher dst failed");
 		return;
 	}
-
+	rpc->rpl_printf(ctx, "Ok. Dispatcher destination removed.");
 	return;
 }
 




More information about the sr-dev mailing list