issue #5583
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 01:50:35 +0000 (01:50 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 8 Nov 2005 01:50:35 +0000 (01:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7010 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
pbx.c

index b49c040..6ca8f4e 100755 (executable)
--- 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 6040aee..29a1d89 100755 (executable)
--- 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;
        }