<p style="white-space: pre-wrap; word-wrap: break-word;">I tested this patch by making res_statsd.c decline on missing config and deleting statsd.conf.  This caused res_pjsip* to decline at startup, 'module show' listed all pjsip modules as not running.  I then restored statsd.conf, typed 'module load res_statsd'.  After this 'module show' listed all pjsip modules as running.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I think this needs to do better about reporting status to CLI.  cli.c prints "Loaded %s\n" for the requested module upon return from ast_load_resource.  ast_load_resource is unaware of the CLI FD and cli.c is unaware of the chained startups so I'm not sure how to deal with this.</p><p><a href="https://gerrit.asterisk.org/10447">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10447">change 10447</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10447"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I1cfe77a550a036b549ff5c47c05f69eead61f5e3 </div>
<div style="display:none"> Gerrit-Change-Number: 10447 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 09 Oct 2018 09:06:54 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>