<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/AST/Using+the+Configuration+Framework?focusedCommentId=22087861#comment-22087861">Using the Configuration Framework</a></h2>
<h4>Page
<b>comment added</b> by <a href="https://wiki.asterisk.org/wiki/display/~mjordan">Matt Jordan</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>That's not the case. The issue is one of severity: if a module cannot load itself, it should return DECLINE if the system can reasonably function without the module. If the module cannot load itself and the system cannot function - or should not function - without the module, it should return FAILURE.</p>
<p>Crafting a one size fits all policy isn't a good idea. Rather, module writers should use common sense about what a user would most likely want when an error condition occurs, and write their module appropriately. (Also, module return codes is not the purpose of this wiki page.)</p>
</div>
<div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
<strong>In reply to a comment by <a href="/wiki/display/~lathama"
class="url fn confluence-userlink" data-username="lathama"
>Andrew Latham</a>:</strong><br/>
<p>Reading this in detail now. I notice that AST_MODULE_LOAD_FAILURE is omitted. If it is not to be used lets say so here.</p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;" class="grey">
<a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
<span style="padding: 0px 5px;">|</span>
<a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/AST/Using+the+Configuration+Framework?focusedCommentId=22087861#comment-22087861">View Online</a>
|
<a id="reply-22087861" href="https://wiki.asterisk.org/wiki/display/AST/Using+the+Configuration+Framework?replyToComment=22087861#comment-22087861">Reply To This</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>