<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 9:05 PM, Daniel Jenkins <span dir="ltr"><<a href="mailto:dan.jenkins88@gmail.com" target="_blank">dan.jenkins88@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 8:46 PM, Matthew Jordan <span dir="ltr"><<a href="mailto:mjordan@digium.com" target="_blank">mjordan@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Thu, Jan 23, 2014 at 9:31 AM, Michelle Dupuis <<a href="mailto:mdupuis@ocg.ca" target="_blank">mdupuis@ocg.ca</a>> wrote:<br>


> Thanks - I've been through that doc before and couldn't find the info<br>
> needed, which is why I went to the source code eventually.<br>
><br>
> All events are grouped, and each group is given a name/flag like 'system',<br>
> 'call', etc.  The docs just don't say which events are in which group/flag.<br>
><br>
> Perhaps something Digium could add at some point :)<br>
<br>
</div>Or someone from the open source community... this is an open source<br>
project, after all :-)<br>
<br>
The managerEventInstance XML elements already have an attribute for<br>
the manager class, which is populated:<br>
<br>
    <managerEvent language="en_US" name="ParkedCallTimeOut"><br>
        <managerEventInstance class="EVENT_FLAG_CALL"><br>
            <synopsis>Raised when a parked call times out.</synopsis><br>
            <syntax><br>
                <parameter name="Exten"><br>
                    <para>The parking lot extension.</para><br>
                </parameter><br>
                <parameter name="Channel"/><br>
                <parameter name="Parkinglot"><br>
                    <para>The name of the parking lot.</para><br>
                </parameter><br>
                <parameter name="CallerIDNum"/><br>
                <parameter name="CallerIDName"/><br>
                <parameter name="ConnectedLineNum"/><br>
                <parameter name="ConnectedLineName"/><br>
                <parameter name="UniqueID"/><br>
            </syntax><br>
            <see-also><br>
                <ref type="managerEvent">ParkedCall</ref><br>
            </see-also><br>
        </managerEventInstance><br>
    </managerEvent><br>
<br>
You could actually grep the core-en_US.xml file and get all of the<br>
events that match to a particular class authorization.<br>
<br>
It doesn't show up in the CLI due to the xmldoc API not parsing out<br>
that attribute. The same is true for the wiki documentation; that<br>
project is up on github [1]. It wouldn't be a large patch to either to<br>
have that attribute displayed.<br>
<br>
Matt<br>
<br>
[1] <a href="https://github.com/asterisk/publish-docs" target="_blank">https://github.com/asterisk/publish-docs</a><br>
<span><font color="#888888"><br>
--<br>
Matthew Jordan<br>
Digium, Inc. | Engineering Manager<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a><br>
</font></span><div><div><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div></div></div><div class="gmail_extra">Thanks Matt, I was going to ask where the tool was that generated from source, I'll take a look and see if I can contribute that back,</div>
<div class="gmail_extra">
<br></div><div class="gmail_extra">Dan</div></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Hi, just to let you know that this is partially done now,</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+ManagerEvent_AgentConnect">https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+ManagerEvent_AgentConnect</a><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">At the bottom you'll see a Class</div><div class="gmail_extra"><br></div><div class="gmail_extra">Next stage is to create a page which has all the classes and the events grouped by class.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">But at least you can see which event is what class now.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Dan</div></div>