[asterisk-dev] [Code Review] 3610: main/pbx - documentation - enhance 'core show hints' and 'core show hint' help text

rnewton reviewboard at asterisk.org
Thu Jun 12 16:15:19 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3610/
-----------------------------------------------------------

(Updated June 12, 2014, 4:15 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 415998


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/20140612/d25826ca/attachment-0001.html>


More information about the asterisk-dev mailing list