Răsfoiți Sursa

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 13 ani în urmă
părinte
comite
c414cc4df4
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      modules/dialplan/dialplan.c

+ 1 - 1
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}
 };