<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2176/25/9/_/styles/combined.css?spaceKey=AST&amp;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/Asterisk+Module+Support+States?focusedCommentId=22088098#comment-22088098">Asterisk Module Support States</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~kwallace">Kinnith Wallace</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>Besides the "<tt>make menuselect</tt>" menus themselves, here's a quick, fairly portable [1] way to list the support levels for various Asterisk loadable modules [2] from the <tt>.c</tt> source files [3]:</p>

<p><tt>/usr/src/asterisk-X.X.X # grep -irP '^\t&lt;support_level&gt;' $(find . -name '*.c') | sed -re 's#&lt;/?support_level&gt;##g' | sort &gt; module-support-states.txt</tt></p>

<p>NOTES (pedantic)<br/>
[1] This may not be POSIXly correct. It works with Bash and GNU <tt>grep</tt>, <tt>find</tt>, <tt>sed</tt>, and <tt>sort</tt>. Ymmv.<br/>
[2] This excludes other Asterisk components such as <tt>AGI Samples</tt> and <tt>Utilities</tt>.<br/>
[3] This assumes that a module's support state will not differ based on menuselect options for other modules.</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/Asterisk+Module+Support+States?focusedCommentId=22088098#comment-22088098">View Online</a>
              |
       <a id="reply-22088098" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States?replyToComment=22088098#comment-22088098">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>