Browse code

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.

Olle E. Johansson authored on 11/11/2012 07:51:29
Showing 1 changed files
... ...
@@ -672,7 +672,7 @@ static void dialplan_rpc_translate(rpc_t* rpc, void* ctx)
672 672
 rpc_export_t dialplan_rpc_list[] = {
673 673
 	{"dialplan.reload", dialplan_rpc_reload,
674 674
 		dialplan_rpc_reload_doc, 0},
675
-	{"dialplan.dump",   dialplan_rpc_translate,
675
+	{"dialplan.translate",   dialplan_rpc_translate,
676 676
 		dialplan_rpc_translate_doc, 0},
677 677
 	{0, 0, 0, 0}
678 678
 };