Merge in the bridge_construction branch to make the system use the Bridging API.
[asterisk/asterisk.git] / apps / app_celgenuserevent.c
index da1c246..f5714d0 100644 (file)
  * \ingroup applications
  */
 
+/*** MODULEINFO
+       <support_level>core</support_level>
+ ***/
+
 #include "asterisk.h"
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
@@ -41,6 +45,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                        <parameter name="event-name" required="true">
                                <argument name="event-name" required="true">
                                </argument>
+                               <argument name="extra" required="false">
+                                       <para>Extra text to be included with the event.</para>
+                               </argument>
                        </parameter>
                </syntax>
                <description>
@@ -73,13 +80,8 @@ static int celgenuserevent_exec(struct ast_channel *chan, const char *data)
 
 static int unload_module(void)
 {
-       int res;
-
-       res = ast_unregister_application(app);
-
-       ast_module_user_hangup_all();
-
-       return res;
+       ast_unregister_application(app);
+       return 0;
 }
 
 static int load_module(void)