diff --git a/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c b/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c index b6505773f1..e79013befe 100644 --- a/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c +++ b/src/mod/event_handlers/mod_erlang_event/mod_erlang_event.c @@ -1737,7 +1737,7 @@ SWITCH_STANDARD_API(erlang_cmd) stream->write_function(stream, "directory\n"); } else if (ptr->section == SWITCH_XML_SECTION_DIALPLAN) { stream->write_function(stream, "dialplan\n"); - } else if (ptr->section == SWITCH_XML_SECTION_PHRASES) { + } else if (ptr->section == SWITCH_XML_SECTION_LANGUAGES) { stream->write_function(stream, "phrases\n"); } else if (ptr->section == SWITCH_XML_SECTION_CHATPLAN) { stream->write_function(stream, "chatplan\n");