[asterisk-dev] [Code Review] 3610: main/pbx - documentation - enhance 'core show hints' and 'core show hint' help text
rnewton
reviewboard at asterisk.org
Wed Jun 11 14:57:56 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3610/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-23764
https://issues.asterisk.org/jira/browse/ASTERISK-23764
Repository: Asterisk
Description
-------
ASTERISK-23764 is already closed, but item 3 in the list didn't get done on another issue, so I'm doing it now.
Previous output was:
centosclean*CLI> core show help core show hint
Usage: core show hint <exten>
List registered hint
centosclean*CLI> core show help core show hints
Usage: core show hints
List registered hints
The new output for the branches (main diff):
centosclean*CLI> core show help core show hint
Usage: core show hint <exten>
List registered hint.
Hint details are shown in four columns. In order from left to right, they are:
1. Hint extension URI.
2. Mapped device state identifiers.
3. Current extension state. The aggregate of mapped device states.
4. Watchers - number of subscriptions and other entities watching this hint.
centosclean*CLI> core show help core show hints
Usage: core show hints
List registered hints.
Hint details are shown in four columns. In order from left to right, they are:
1. Hint extension URI.
2. Mapped device state identifiers.
3. Current extension state. The aggregate of mapped device states.
4. Watchers - number of subscriptions and other entities watching this hint.
The new output for trunk (attached diff) takes into account https://reviewboard.asterisk.org/r/3604/ and https://reviewboard.asterisk.org/r/3611/
newtonr-laptop*CLI> core show help core show hint
Usage: core show hint <exten>
List registered hint.
Hint details are shown in five columns. In order from left to right, they are:
1. Hint extension URI.
2. List of mapped device or presence state identifiers.
3. Current extension state. The aggregate of mapped device states.
4. Current presence state for the mapped presence state provider.
5. Watchers - number of subscriptions and other entities watching this hint.
newtonr-laptop*CLI>
newtonr-laptop*CLI> core show help core show hints
Usage: core show hints
List registered hints.
Hint details are shown in five columns. In order from left to right, they are:
1. Hint extension URI.
2. List of mapped device or presence state identifiers.
3. Current extension state. The aggregate of mapped device states.
4. Current presence state for the mapped presence state provider.
5. Watchers - number of subscriptions and other entities watching this hint.
The diff covers the help for 'core show hint' and 'core show hints' in 1.8,11,12. The attached patch covers the same for Trunk.
Diffs
-----
/branches/1.8/main/pbx.c 415710
Diff: https://reviewboard.asterisk.org/r/3610/diff/
Testing
-------
Tested output in 1.8 and Trunk.
File Attachments
----------------
patch for trunk
https://reviewboard.asterisk.org/media/uploaded/files/2014/06/11/0eb22a12-e297-4ec3-8191-fd1774a50f33__coreshowhints_trunk.patch
Thanks,
rnewton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140611/eac632da/attachment.html>
More information about the asterisk-dev
mailing list