summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-11-08 01:50:35 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-11-08 01:50:35 +0000
commit2ea48ce114efcce674220ef6cbb1cd61f3e79494 (patch)
tree62853cef3b8aac29ca13908b27a59b620d39db48
parentbe7cdd4cd172aa2b8d9eb98d6bff008128d2c37b (diff)
issue #5583
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xChangeLog2
-rwxr-xr-xpbx.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b49c04098..6ca8f4e91 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2005-11-07 Kevin P. Fleming <kpfleming@digium.com>
+ * pbx.c (handle_show_hints): use proper state-to-string function for hint state (issue #5583)
+
* rtp.c: use unsigned format for debug packet output (issue #5595)
* asterisk.c (main): force a dnsmgr background refresh after all other modules are initialized (issue #5599)
diff --git a/pbx.c b/pbx.c
index 6040aeeee..29a1d893a 100755
--- a/pbx.c
+++ b/pbx.c
@@ -3154,7 +3154,7 @@ static int handle_show_hints(int fd, int argc, char *argv[])
watchers++;
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),
- devstate2str(hint->laststate), watchers);
+ ast_extension_state2str(hint->laststate), watchers);
num++;
hint = hint->next;
}