[sr-dev] git:master: diaplan - Fixing typo in name of rpc command

Olle E. Johansson oej at edvina.net
Sun Nov 11 08:52:58 CET 2012


Module: sip-router
Branch: master
Commit: c414cc4df415be391a5dcaaa5be9e309dfa3cd85
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c414cc4df415be391a5dcaaa5be9e309dfa3cd85

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date:   Sun Nov 11 08:51:29 2012 +0100

diaplan - Fixing typo in name of rpc command

Sercmd lists the dialplan.dump command, that doesn't exist. Changing
name to dialplan.translate so that the module and the documentation
agrees on the name.

---

 modules/dialplan/dialplan.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/dialplan/dialplan.c b/modules/dialplan/dialplan.c
index ec8c0e5..7c1d045 100644
--- a/modules/dialplan/dialplan.c
+++ b/modules/dialplan/dialplan.c
@@ -672,7 +672,7 @@ static void dialplan_rpc_translate(rpc_t* rpc, void* ctx)
 rpc_export_t dialplan_rpc_list[] = {
 	{"dialplan.reload", dialplan_rpc_reload,
 		dialplan_rpc_reload_doc, 0},
-	{"dialplan.dump",   dialplan_rpc_translate,
+	{"dialplan.translate",   dialplan_rpc_translate,
 		dialplan_rpc_translate_doc, 0},
 	{0, 0, 0, 0}
 };




More information about the sr-dev mailing list