Clean up ManagerEvent Dial documentation
authorMatthew Jordan <mjordan@digium.com>
Fri, 20 Jul 2012 19:08:47 +0000 (19:08 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 20 Jul 2012 19:08:47 +0000 (19:08 +0000)
The paragraph describing the SubEvent belongs with the SubEvent parameter
itself, and not with its enum values.  The order of parsing was placing
the description after the last enum, which isn't correct.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index ccb7b01..23a6c68 100644 (file)
@@ -825,11 +825,11 @@ static void senddialevent(struct ast_channel *src, struct ast_channel *dst, cons
                        <synopsis>Raised when a dial action has started.</synopsis>
                        <syntax>
                                <parameter name="SubEvent">
+                                       <para>A sub event type, specifying whether the dial action has begun or ended.</para>
                                        <enumlist>
                                                <enum name="Begin"/>
                                                <enum name="End"/>
                                        </enumlist>
-                                       <para>A sub event type, specifying whether the dial action has begun or ended.</para>
                                </parameter>
                        </syntax>
                </managerEventInstance>