[asterisk-dev] [Code Review] Add The Status Of A Module To The Output Of "CLI> module show"
Sean Bright
reviewboard at asterisk.org
Sat Feb 16 14:09:22 CST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2331/#review7886
-----------------------------------------------------------
Ship it!
Looks good - a few notes below. This breaks ABI compatibility so maybe a note in UPGRADE is necessary too.
/trunk/main/cli.c
<https://reviewboard.asterisk.org/r/2331/#comment14964>
"Not Running" is 11 characters.
/trunk/main/loader.c
<https://reviewboard.asterisk.org/r/2331/#comment14963>
Wrap this line.
- Sean
On Feb. 15, 2013, 11 a.m., elguero wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2331/
> -----------------------------------------------------------
>
> (Updated Feb. 15, 2013, 11 a.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> When a module's configuration is not loadable, we still load the module itself but it is not in a running state. When trying to troubleshoot, let's say, why chan_motif was ignoring inbound XMPP traffic, there is no way to indicate that a loaded module is not currently running.
>
> This patch:
> * Adds a column that will show the status of the module
>
> Module Description Use Count Status
> res_xmpp.so Asterisk XMPP Interface 0 Running
>
> Module Description Use Count Status
> chan_motif.so Motif Jingle Channel Driver 0 Not Running
>
>
> This addresses bug ASTERISK-21108.
> https://issues.asterisk.org/jira/browse/ASTERISK-21108
>
>
> Diffs
> -----
>
> /trunk/channels/chan_motif.c 381426
> /trunk/include/asterisk/module.h 381426
> /trunk/main/cli.c 381426
> /trunk/main/loader.c 381426
>
> Diff: https://reviewboard.asterisk.org/r/2331/diff
>
>
> Testing
> -------
>
> Tested this on dev box.
>
>
> Thanks,
>
> elguero
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130216/03172e41/attachment.htm>
More information about the asterisk-dev
mailing list