aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-13 23:35:57 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-10-13 23:35:57 +0000
commit995308f563a72bd6b0d6e6e027cad41926a787a4 (patch)
treecd781039429dc41dacbcc8c996f6ad766d0d2b6e /pbx.c
parent4cf0a307a6fad0da1814d537c8019c1f58d43c5e (diff)
use English states in 'show hints' CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6777 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbx.c b/pbx.c
index 3466a9844..51b337018 100755
--- a/pbx.c
+++ b/pbx.c
@@ -3145,14 +3145,14 @@ static int handle_show_hints(int fd, int argc, char *argv[])
watchers = 0;
for (watcher = hint->callbacks; watcher; watcher = watcher->next)
watchers++;
- ast_cli(fd, " %-20.20s: %-20.20s State %2d Watchers %2d\n",
+ ast_cli(fd, " %-20.20s: %-20.20s State:%-15.15s Watchers %2d\n",
ast_get_extension_name(hint->exten), ast_get_extension_app(hint->exten),
- hint->laststate, watchers);
+ devstate2str(hint->laststate), watchers);
num++;
hint = hint->next;
}
ast_cli(fd, "----------------\n");
- ast_cli(fd, "- %d hints registred\n", num);
+ ast_cli(fd, "- %d hints registered\n", num);
ast_mutex_unlock(&hintlock);
return RESULT_SUCCESS;
}