Просмотр исходного кода

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 лет назад
Родитель
Сommit
c414cc4df4
1 измененных файлов с 1 добавлено и 1 удалено
  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}
 };